The Reduced Density Matrix and Mixed States
Suppose two qubits are prepared in the Bell state, then physically separated. One goes to Alice, the other to Bob. Alice has no access to Bob's qubit. No measurement she performs on her qubit alone can reveal anything about the global entangled state. What is "her qubit's state" — and does it even have one? The density matrix formalism answers this precisely: Alice's qubit is described by a reduced density matrix, obtained from the global state by an operation called the partial trace. This single tool resolves one of the most conceptually loaded questions in quantum information. It explains how entanglement, a property of a joint system, manifests as mixedness for each of its parts. This matters because almost every real quantum system is a subsystem of something larger. A qubit in a superconducting processor is entangled with stray photons, phonons in the substrate, and control electronics. An atom in an ion trap couples to the electromagnetic vacuum. No experimentalist has access to "the whole universe." So every state they can actually characterize is a reduced density matrix of some bigger, often unknown, global state. Understanding partial trace is therefore not a mathematical nicety. It is the bridge between the idealized pure-state postulates of quantum mechanics and the noisy, open, mixed-state reality of laboratory quantum computers. The big picture is a clean dichotomy. Mixed states arise for two conceptually different reasons: classical ignorance (you know the system is in one of several pure states, with some classical probability for each) and entanglement with an inaccessible partner (the joint system is pure, but your subsystem, viewed alone, is not). The remarkable fact — central to this article — is that these two origins are mathematically indistinguishable from the reduced density matrix alone. A maximally entangled qubit and a qubit that is classically a 50/50 coin flip between and produce the exact same reduced density matrix, . This convergence is not a coincidence. It reflects a deep fact about the structure of quantum correlations that this article will make precise. This article builds the partial trace from first principles. It proves the partial trace is the unique operation consistent with local measurement statistics. It works a full numerical example through a Bell pair and a partially entangled state. Finally, it connects the machinery to why decoherence looks, from the inside, exactly like classical noise.
- The reduced density matrix describes subsystem when is ignored or inaccessible.
- The partial trace is the unique linear map that reproduces correct local measurement statistics and expectation values for observables acting only on .
- Mixed states have two origins — classical mixing of pure states, and entanglement with a traced-out partner — and reduced density matrices alone cannot distinguish them.
- For a pure entangled state, the reduced density matrices of the two parts share the same nonzero eigenvalues (the Schmidt coefficients squared); this is the operational meaning of entanglement.
- The entanglement of a pure bipartite state is exactly zero when a reduced density matrix is pure, and positive whenever it is mixed.
- Partial trace is computed in practice by tracing out basis indices of one subsystem while leaving the other subsystem's indices untouched in the density matrix's tensor structure.
Ignoring part of an entangled system turns pure global information into local mixedness — the partial trace is the precise operation that computes exactly how mixed, and no measurement on the remaining part can ever undo it.
The idea
A composite quantum system living in Hilbert space has a density matrix that fully describes the statistics of any measurement performed jointly on both subsystems. But an experimenter with access only to subsystem can perform only local measurements: operators of the form . The question is what effective, self-consistent density operator on alone reproduces the correct expectation value for every local observable . The answer is the reduced density matrix,
where , the partial trace over , is a linear map from operators on to operators on . Concretely, if is any orthonormal basis of , then
where the bra/ket act only on the factor, leaving an operator on . This sum is basis-independent — a fact proved below — so is a well-defined object, not an artifact of how you choose to describe . The reduced density matrix is generically mixed even when the joint state is pure. This is the signature of entanglement: information that exists jointly between and is invisible to any measurement confined to alone, and the partial trace "erases" it by averaging over all possible outcomes on . Crucially, this differs from classical mixing, where is mixed simply because the preparer used a coin flip (or any classical randomness) to choose among several pure states before handing subsystem to the experimenter, with no correlated partner system involved at all. Both mechanisms produce mixed , and — this is the key structural fact of the whole topic — no experiment performed on alone can ever tell you which mechanism produced your particular . The distinction is only visible with joint access to and , which is precisely why entanglement is a nonlocal resource: it hides in correlations, not in either party's local statistics.
How it works
Setting up the partial trace. Write in an arbitrary product basis of :
The partial trace over contracts the -indices by setting and summing:
In matrix terms, if you write the full density matrix as a block matrix indexed by 's basis, where each block is a matrix acting on , then is obtained by replacing each block with its trace, producing a matrix.
Why this is the right operation. The partial trace is not an arbitrary convention — it is forced by a physical consistency requirement. For any local observable acting on ,
One can derive the partial trace by demanding this identity hold for every : expanding using the cyclicity of the full trace and separating the and sums shows the identity holds precisely when is defined by the formula above. Since the trace is the unique linear functional reproducing quantum expectation values, and this must hold for every Hermitian (a spanning set of the operator space), is uniquely determined. Basis-independence of follows because the trace of an operator is itself basis-independent, and is literally the trace on the factor of a tensor-decomposed operator.
Algorithmic procedure for finite-dimensional systems. Computationally, the partial trace is a reshaping-and-contraction operation. ``` function PARTIAL_TRACE_B(rho_AB, dim_A, dim_B):
# rho_AB is a (dim_Adim_B) x (dim_Adim_B) matrix,
# indexed by composite basis |a_i, b_j> in row-major order:
# row index r = i * dim_B + j
# col index c = k dim_B + l rho_A = zero matrix of size dim_A x dim_A for i in 0 .. dim_A-1: for k in 0 .. dim_A-1: sum = 0 for j in 0 .. dim_B-1: # trace over B: set l = j r = i dim_B + j c = k * dim_B + j sum = sum + rho_AB[r][c] rho_A[i][k] = sum return rho_A ``` ``` function PARTIAL_TRACE_A(rho_AB, dim_A, dim_B):
# symmetric construction: trace over the A index instead rho_B = zero matrix of size dim_B x dim_B for j in 0 .. dim_B-1: for l in 0 .. dim_B-1: sum = 0 for i in 0 .. dim_A-1: # trace over A: set k = i r = i dim_B + j c = i dim_B + l sum = sum + rho_AB[r][c] rho_B[j][l] = sum return rho_B ``` Both routines run in or time respectively, dominated by the summation over the traced-out dimension for every entry of the output matrix.
Extracting entanglement information — the Schmidt decomposition. If is pure, every admits a Schmidt decomposition:
where and are orthonormal sets in , respectively, , , and is the Schmidt rank. This decomposition always exists — it is just the singular value decomposition of the coefficient matrix of in any product basis. Taking the partial trace over :
Both reduced density matrices are diagonal in their respective Schmidt bases with exactly the same set of eigenvalues . This is the fundamental structural fact: entanglement of a pure bipartite state is entirely characterized by the (shared) eigenvalue spectrum of either reduced density matrix. is pure (, one ) exactly when the state is a product state; is maximally mixed exactly when the state is maximally entangled.
Complexity & correctness
Time and space complexity. For subsystems of dimension and (total system dimension ), the full density matrix requires space to store as a matrix. Computing via the direct summation above requires time: for each of the entries of , we sum terms. This is efficient — linear in the size of the input matrix ( entries), since . The output occupies space. For -qubit systems where is qubits and is qubits, this is time — exponential in in the worst case, which is expected since even writing down costs .
Correctness proof. We must show two things: (1) the partial trace formula is basis-independent, and (2) it is the unique operator reproducing correct local statistics. Basis independence. Let and be two orthonormal bases of , related by a unitary : . Then
Writing acting as then (since acts only on ), and using that , a short computation using the resolution of identity shows this equals — the same expression in the original basis. (Formally: partial trace commutes with conjugation by any operator of the form , because such conjugation is exactly a basis change on the factor, and the trace functional on alone is invariant under unitary basis changes — this is the ordinary basis-independence of the trace, applied factor-wise.) Uniqueness. Suppose is any operator on satisfying for every Hermitian . The set of Hermitian operators on spans, as a real vector space, the entire space of Hermitian operators (dimension ), and the trace pairing is nondegenerate on this space. Since for all (using the definition of from partial trace and expanding), nondegeneracy of the trace pairing forces . Hence the partial trace is the only operator on consistent with all local measurement statistics — it is not one convenient choice among many. Positivity and normalization are preserved. If and , then satisfies (for any , since ) and , so is a bona fide density matrix — the construction is closed on the space of valid quantum states, as it must be for the formalism to be self-consistent.
Honest tradeoffs. The partial trace is exact and unique, but it is inherently lossy: the map is many-to-one, and in general cannot be used to reconstruct — correlation and entanglement information is genuinely destroyed, not merely hidden. There is no "inverse partial trace" that recovers the joint state; this is why entanglement witnesses and joint tomography require measurements correlated across both subsystems, not separate local tomography on and individually.
Worked example
Case 1 — the Bell pair (maximal entanglement). Take
In the ordered basis ,
Apply `PARTIAL_TRACE_B` with : entry .
| entry | Sum | Value |
|---|---|---|
Eigenvalues : maximally mixed, purity . This matches the Schmidt decomposition directly: has Schmidt coefficients in the computational basis, and indeed 's eigenvalues equal exactly as predicted.
Case 2 — a partially entangled state (intermediate case, the honest test). Take the non-maximal, non-symmetric state
This is deliberately asymmetric in its coefficients — a "trivial symmetric" would hide whether the general machinery actually tracks unequal weights. Here , , all other coefficients zero. Then
(using for the off-diagonal terms). Trace out :
| entry | Sum | Value |
|---|---|---|
Eigenvalues — exactly the squared Schmidt coefficients , as the theory predicts, and not : the reduced state correctly tracks the asymmetry in the original entangled state. Purity , strictly between (maximal mixing) and (pure), confirming this state is entangled but not maximally so — a fact invisible if you only checked "is mixed?" (yes/no) rather than computing its actual spectrum. Tracing out instead gives the identical spectrum for , confirming the Schmidt-symmetry theorem exactly.
Case 3 — the classical look-alike, to make the ambiguity concrete. Suppose instead 's qubit alone (no partner at all) is prepared by flipping a coin: heads (prob 1/2) prepare , tails (prob 1/2) prepare . Then
bit-for-bit identical to the Case 1 reduced state. No measurement on this qubit, however cleverly chosen, can determine whether it arose from a coin flip or from tracing out a Bell partner — this is the precise content of the earlier claim that reduced density matrices cannot distinguish classical ignorance from entanglement.
Common pitfalls & traps
| Pitfall | Why it happens | Fix |
|---|---|---|
| Tracing out the wrong subsystem's indices | Confusing which basis index is "kept" vs. "summed" in the tensor ordering | Fix a convention (e.g., is the outer/slower index) and verify with a known pure product state first |
| Assuming pure pure | Forgetting that pure only implies no entanglement, not that itself is unconstrained | Check: pure , a product state |
| Trying to reconstruct from | The partial trace destroys correlation information; the map is not invertible | Use joint measurements / full state tomography if the joint state is needed |
| Believing mixedness of proves entanglement | can be mixed from classical randomness alone, with no partner system | Entanglement requires knowing is pure and mixed — a mixed with mixed proves nothing about entanglement by itself |
| Off-by-one / miscounted basis ordering in the partial trace sum | Using row-major composite indexing incorrectly, especially for unequal | Always index as explicitly; test on systems where the asymmetry would expose bugs |
| Forgetting purity is basis-independent but eigenvalues must be recomputed after Tr | Assuming is automatically diagonal in the original computational basis | Diagonalize to find true eigenvalues/Schmidt coefficients; it is diagonal only in the Schmidt basis |
Pioneers & history
The mathematical object underlying this article — the density matrix and its reduction — was introduced independently by John von Neumann and Lev Landau in the late 1920s, as physicists grappled with how to describe quantum systems that are not perfectly isolated or perfectly known. Von Neumann's 1932 book Mathematical Foundations of Quantum Mechanics gave the density matrix its rigorous trace-based formulation and introduced the entropy that bears his name, , which is exactly zero for pure states and positive for mixed ones — precisely quantifying the mixedness that partial trace produces.
Origins · 1 minJohn von Neumann and how this was discovered
Von Neumann formalized the density matrix as the correct description of quantum ensembles and mixed states, unifying the treatment of classical statistical uncertainty and quantum superposition within a single operator formalism, and defined the entropy functional used ever since to quantify mixedness and, later, entanglement.
The specific question of what a subsystem of an entangled pair looks like became sharply relevant after Einstein, Podolsky, and Rosen's 1935 paper questioned whether quantum mechanics was complete, using exactly the scenario of correlated, spatially separated particles. Schrödinger's response that same year coined the term "entanglement" (Verschränkung) and explicitly discussed how measuring one particle's subsystem could not, by itself, reveal the correlations built into the joint state — an early, informal statement of what the partial trace now computes rigorously.
Origins · 1 minhow this was discovered
Where this matters
Reduced density matrices and partial trace are the working language of open quantum systems and quantum noise: whenever a qubit interacts with an uncontrolled environment (stray fields, other qubits, thermal baths), the qubit's evolution is described by tracing the environment out of the joint unitary evolution, producing the quantum channels and decoherence models used to characterize real hardware. Every gate-error and decoherence-time specification quoted for superconducting or trapped-ion qubits is, underneath, a statement about a reduced density matrix's departure from purity. In quantum error correction, the syndrome-extraction step is designed precisely so that measuring ancilla (syndrome) qubits and tracing them out projects the data qubits' reduced state back toward a pure, corrected codeword — the entire logic of stabilizer codes rests on controlling how partial trace over ancillas affects the data subsystem. In entanglement quantification, the entropy of the reduced density matrix (the entanglement entropy) is the standard measure of bipartite entanglement for pure states, used throughout quantum information theory, condensed matter physics (area laws, topological order), and even quantum gravity research on black hole entropy. In quantum tomography and benchmarking, experimentalists reconstruct reduced density matrices of individual qubits from measurement statistics precisely because this is the maximal information accessible without joint measurements — connecting directly back to correlated measurement strategies needed to see entanglement at all.
Ask the tutor: How does the partial trace generalize to give the Kraus-operator description of a noisy quantum channel acting on a single qubit?
Can two different global states give the same reduced density matrix ?
Yes, routinely. The map is many-to-one because partial trace discards all information about correlations between and , keeping only 's marginal statistics. A Bell state, a different maximally entangled state like , and a classical 50/50 mixture on qubit alone (with no partner system whatsoever) all produce . This is precisely why local tomography — measuring only subsystem — can never certify entanglement or distinguish these physically very different scenarios; certifying entanglement requires correlated measurements across both and , exploiting joint statistics that partial trace by construction erases.
Is the reduced density matrix always mixed when the global state is entangled?
Yes, for pure bipartite global states this is an if-and-only-if statement. If is a product state , then is pure. Conversely, if has Schmidt rank greater than one (any entanglement at all), the Schmidt decomposition shows has more than one nonzero eigenvalue, hence is mixed. The correspondence is exact: entanglement of a pure global state and mixedness of its local reduced state are mathematically equivalent conditions, quantified by the same Schmidt coefficients appearing in both descriptions.
What happens if the global state itself is mixed, not pure?
The clean equivalence between entanglement and local mixedness breaks down. A mixed can be separable (a classical mixture of product states, no entanglement) yet still produce mixed reduced states and — mixedness there comes purely from classical uncertainty in the mixture, not entanglement. Detecting entanglement in mixed global states requires more refined tools, such as the positive partial transpose (PPT) criterion or entanglement witnesses, because the simple "check if is mixed" test used for pure states no longer certifies anything about entanglement.
Does the partial trace depend on which orthonormal basis of you choose to sum over?
No — this is a theorem, not an assumption. Changing the basis of by any unitary corresponds to conjugating by , and since the trace over is invariant under unitary conjugation restricted to the factor, the resulting is identical regardless of which orthonormal basis is used to perform the sum. This basis-independence is essential: it means is a physically meaningful, basis-free object, not an artifact of computational convenience, matching the requirement that physical predictions cannot depend on a choice of mathematical description.
How does the partial trace relate to actually performing a measurement on subsystem ?
They are closely related but distinct. Tracing out describes what happens when 's outcome is thrown away — averaged over — leaving 's unconditional (ensemble-averaged) state. If instead you measure in some basis and record the outcome, subsystem collapses to a different state for each outcome, and the reduced density matrix is recovered only as the probability-weighted average of these post-measurement states. This is the content of the Gleason/measurement-consistency picture: partial trace equals "measure and forget," while conditioning on the outcome gives a genuinely different, generally purer, conditional state for .
Why can't Alice detect entanglement or send information to Bob just by measuring her half of a Bell pair?
Because her reduced density matrix, , is exactly the maximally mixed state regardless of anything Bob does to his qubit, including measuring it in any basis or not measuring it at all. Any local operation or measurement Bob performs, when averaged (traced) into Alice's description, cannot change , since partial trace of a valid quantum channel applied to still yields a valid trace-preserving map compatible with the same marginal on . This is precisely the no-signaling theorem: entanglement enables correlations revealed by comparing Alice's and Bob's results, never by unilateral action on one side alone.
Is there a partial trace analog for more than two subsystems?
Yes. For a multipartite state on , you can trace out any subset of factors, e.g., , and iterated partial traces compose associatively: tracing out then gives the same result as tracing out and together, . This generalization underlies the study of multipartite entanglement structure, where different bipartitions (e.g., vs. ) can reveal different entanglement patterns even within a single global state.