← Back to section · Quantum Computing
The Density Matrix: When a Quantum State Can Only Be Described Probabilistically
Introducing the density matrix ρ from the outer product of a pure state: the ensemble meaning of mixed states, the Tr(ρ²) criterion, the relation between Bloch-vector length and purity, and why the partial trace makes entangled subsystems necessarily mixed.
Why the State Vector Is Not Enough
The state vector presumes complete knowledge of the system. In real situations this fails in at least three ways: the preparation device is noisy, so the system is in different states with probabilities ; we care only about a small part of a larger system and “ignore” the remaining degrees of freedom; or the system is entangled with an environment we cannot access. What these cases share is that the most complete description we can write down is no longer a single vector but a weighted ensemble. The density matrix is the language built for exactly this. For a pure state it is defined as the outer product ; for an ensemble it is the weighted sum:
This definition guarantees three properties: is Hermitian, its eigenvalues are non-negative (positive semidefinite), and its trace equals 1. Conversely, any matrix with these three properties is the density matrix of some physical state. Measurement statistics are rewritten accordingly: the expectation of an observable is , and the probability of a projective measurement outcome is . The key fact is that no experiment whatsoever can distinguish different ensemble decompositions of the same ρ — the obtained by mixing and fifty-fifty is identical to the one obtained by mixing and fifty-fifty. The “recipe” of the ensemble is not physical reality; is.
A Concrete Example: Two Kinds of “Fifty-Fifty”
The abstract definition easily misleads one into thinking a mixed state is merely “a pure state we don’t know.” An example draws the boundary sharply. Compare two ensembles: ensemble A prepares with probability one half and with probability one half; ensemble B prepares the definite pure state . Both give fifty-fifty 0 and 1 in the computational basis and look indistinguishable. But the density matrices separate them at once: A gives , with diagonal entries of one half and zero off-diagonal entries; B gives , all four entries equal to . The entire difference lies in the off-diagonal entries — the coherences, which encode the phase relations of the superposition. Measure in the x basis and B always yields ”+”, while A remains fifty-fifty: experimentally completely distinguishable. The lesson is that a mixed state is not “a hidden pure state”; the absence of coherences is its real, measurable physical content. This is exactly why decoherence is so dangerous: it specifically kills the off-diagonal entries, turning a pure superposition like B into a classical mixture like A, while the diagonal entries (the populations) can remain perfectly intact.
Purity: One Number Separating Pure from Mixed
How do we tell whether a given is pure or mixed? The standard criterion is the purity : it equals 1 for pure states, is strictly less than 1 for mixed states, and attains its minimum for the maximally mixed state in dimension . Equivalently, a pure state’s is a projector, satisfying . For a single qubit the picture has an especially intuitive geometric version. Any single-qubit density matrix can be expanded as
where collects the three Pauli matrices and is a real three-dimensional vector — the Bloch vector. Purity ties directly to its length: . When the point lies on the sphere and the state is pure; when the point is inside the ball and the state is mixed; when we have the maximally mixed state at the center, which gives completely random outcomes in every basis. Decoherence, geometrically, is the process of steadily shrinking — which sets up the coordinate system for the later discussion of and .
How the Density Matrix Evolves and Is Measured
Under unitary evolution a state vector transforms as ; the corresponding rule for the density matrix is : both the outer product of a pure state and the weighted sum of an ensemble behave consistently under this rule, and the global phase cancels automatically. If system and environment evolve unitarily together and we then look only at the system (tracing out the environment), we obtain open-system dynamics — irreversible processes such as decoherence and relaxation all appear in this “unitary evolution plus partial trace” form, whose most general mathematical characterization is a completely positive trace-preserving map (a quantum channel). In continuous time, the density matrix of a closed system obeys the von Neumann equation , the ensemble version of the Schrödinger equation; open systems add dissipative terms via the Lindblad master equation.
Measurement is equally uniform in the density-matrix language: the probability of a projective measurement outcome is , and the post-measurement state is updated by the Lüders rule. Note one easily confused point: the “mixture” produced by a measurement and the “mixture” from ensemble preparation look identical in but have different origins — the former comes from discarding the measurement record (or from the record’s own randomness), the latter from uncertainty at the preparation stage. But as noted before, no subsequent experiment can distinguish the sources of the same ; that is precisely what it means for the density matrix to be a complete description: it exhausts all observable information — one bit less would be insufficient, one bit more unknowable.
The Partial Trace: Entanglement Looks Mixed Locally
The real power of the density matrix shows up in composite systems. Let two qubits be in the Bell state ; the whole is pure, with . If we care only about the first qubit, we take the partial trace over the second: trace over the second system’s basis, “integrating out” its degrees of freedom. The result is the reduced density matrix — the first qubit, viewed alone, is maximally mixed. This mixture is not caused by preparation noise; it is the necessary consequence of entanglement: the whole can be completely determined while each part is completely undetermined, because the information lives in the correlations between the parts, not in either part alone.
The partial trace also gives a criterion in reverse (for a pure global state): a subsystem’s reduced state is pure if and only if the global state is a product state with no entanglement. Hence “how mixed the reduced state is” becomes a yardstick for entanglement (the von Neumann entropy is its standard form). Put numbers on the two extremes: the product state has a pure reduced state with entropy 0; the Bell state has reduced state with entropy 1 (logarithm base 2, i.e. one bit of entropy), the maximum a single side of a two-qubit system can reach. A general state’s entanglement entropy falls between these ends, rising smoothly from 0 to the maximum with the distribution of the Schmidt coefficients. This is why the density matrix is the primary language of quantum information: open-system dynamics, noise models in error correction, and entanglement measures are all built on it. The state vector is a special case of it — the special case of complete information.
Tags: density matrixmixed statespartial trace