Density Matrices & Mixed States
Describing uncertainty about a quantum state: the Bloch ball.
A source that flips a coin and sends or , and a source that always sends , look identical when you measure in the basis. Yet they are physically different. The density matrix is the one object that captures everything measurable about a quantum system: superposition, classical ignorance, and entanglement with the rest of the world.
What you’ll learn
- Build the density operator of an ensemble and compute probabilities and expectation values .
- Prove that density operators are exactly the positive operators of unit trace.
- Map any qubit state to its Bloch vector, and read off its purity and entropy from the vector's length.
- Compute reduced states with the partial trace, and explain why half of a Bell pair is maximally mixed.
- Explain why different ensembles with the same cannot be told apart by any experiment.
Superposition is not a mixture
Suppose a device flips a fair coin and, depending on the result, prepares or , without telling you which. This is an ensemble : the state with probability . Is it the same thing as the superposition , which also gives 50/50 in the basis?
It is not, and in fact no single ket can describe the coin-flip source. Every pure qubit state is an eigenstate of some Pauli observable , so it gives a certain outcome in that basis. The coin-flip source gives 50/50 in the , and bases alike. Test the pure state yourself:
Average the Born rule over your classical uncertainty about which state was prepared:
Rewrite each expectation value as a trace, using :
Linearity of the trace pulls the sum inside:
Every outcome probability depends on the preparation only through , the density operator. That makes , not the ensemble, the state.
The density operator
Pure states are the special case , a rank-one projector. Since , the purity satisfies : it equals exactly for pure states and exactly for the maximally mixed state . Everything else is a mixed state. Compare the coin-flip source with :
Which matrix is a valid density matrix?
Show the answer
C.
It is Hermitian with unit trace. For a Hermitian matrix with positive trace, both eigenvalues are nonnegative exactly when the determinant is: here .
The Bloch ball
The Hermitian matrices form a real four-dimensional vector space with basis , so every qubit state can be expanded in Pauli matrices. The two constraints and then carve out a familiar shape.
Hermitian matrices have real coefficients in the Pauli basis.
The Paulis are traceless and satisfy .
The Bloch vector is simply the list of Pauli expectation values.
Since , the matrix has eigenvalues . Positivity is exactly the solid ball.
Pure states form the surface (the Bloch sphere), mixed states fill the inside of the Bloch ball, and its center is the maximally mixed state .
Mixedness can also be measured in bits, by the von Neumann entropy . It is on the surface and bit at the center.
What is the purity of ?
Show the answer
0.625
. Equivalently, and .
So far, mixedness came from a coin flip. The next step shows a deeper source that needs no coin at all.
Mixed states from entanglement
Two qubits in the Bell state are in a pure state. But what is the state of qubit alone? The answer is the partial trace , defined on product operators by
and extended linearly.
Expand the projector.
Trace out the second factor term by term. For example contributes .
The cross terms vanish. Qubit alone is maximally mixed, although the pair is pure.
This is why density operators are unavoidable: a subsystem of an entangled pure state has no ket of its own. It is also why is complete: for any measurement on alone, , and the partial trace is the unique linear map with this property for all .
Alice and Bob share . Bob measures his qubit in the basis but tells no one the result. What state should Alice assign to her qubit?
- , exactly as before Bob measured
- , because Bob's measurement collapsed the pair
- , because correlates values
- None: her state is undefined until Bob sends his result
Show the answer
A. , exactly as before Bob measured
Averaged over Bob's unknown outcome, Alice holds or with probability ½ each, and . Bob's choice of measurement changes the ensemble but not , which is why entanglement alone cannot send a signal.
Same density matrix, different stories
The coin-flip source, a source that flips between and , and half of a Bell pair all produce . Since every probability is , no experiment whatsoever can tell these preparations apart, not even one using many copies: independent emissions give in every case.
Think first A box emits qubits drawn either from or from , each chosen by a fair coin. You may measure as many qubits as you like, in any bases, even jointly. Can you tell which box you have?
No. Both boxes emit on every run, so every outcome distribution, for every measurement on any number of emitted qubits, is identical. The ensemble is a story about the preparation; only is physical.
Key takeaways
- A density operator is exactly a positive, unit-trace operator. It predicts every probability via and every expectation value via .
- Qubit states fill the Bloch ball: with , , and purity .
- Off-diagonal elements (coherences) distinguish a superposition from a classical mixture with the same populations.
- Subsystems of entangled states are mixed; the partial trace is the unique consistent way to describe them.
- Different ensembles with the same are physically indistinguishable; they are related by a unitary matrix.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
A qubit has Bloch vector . What is the probability of outcome when it is measured in the basis?
Show the answer
B.
, so .
A qubit has purity . What is the length of its Bloch vector?
Show the answer
C.
gives , so .
Which property of a qubit state can a unitary gate change?
- Its purity
- Its eigenvalues
- Its von Neumann entropy
- The direction of its Bloch vector
Show the answer
D. The direction of its Bloch vector
is a similarity transformation, so the eigenvalues, and with them purity and entropy, are unchanged. On the Bloch ball a unitary acts as a rotation: it turns but preserves .
Two qubits are in the state . What is the reduced state of the first qubit?
- It has no state, because it is entangled
Show the answer
B.
Tracing out the second qubit kills the cross terms, leaving . Every Bell state has maximally mixed marginals.
Which statement is true?
- Two ensembles with the same density matrix give identical statistics for every measurement
- Measuring in the basis distinguishes from
- An equal mixture of and is pure, because the two states overlap
- The diagonal of in the basis determines all measurement statistics
Show the answer
A. Two ensembles with the same density matrix give identical statistics for every measurement
Every probability is , so it depends on the preparation only through .
Go deeper
- Ensembles, Purification & the HJW Theorem · Different mixtures, same density matrix, and why it matters.
- Quantum State Tomography · Reconstructing a state from measurement statistics.
- Fidelity & Trace Distance · How close are two quantum states, operationally?
Further reading
- M. A. Nielsen & I. L. Chuang, Quantum Computation and Quantum Information, §2.4 (the density operator) and §2.5 (Cambridge, 10th anniv. ed., 2010).
- J. Preskill, Lecture Notes for Ph219/CS219: Quantum Information and Computation, Ch. 2, "Foundations I: States and Ensembles" (Caltech).
- M. M. Wilde, Quantum Information Theory, 2nd ed., Ch. 4 (Cambridge, 2017).