KnowledgeCookies logo Understanding the language of quantum science
QPicDepict / Quantum information

Density matrices and mixed states

A density matrix encodes all measurement statistics, including loss of coherence and uncertainty about preparation.

Density matrices and mixed states infographic. A reading guide and explanation follow.
Same Z populations, different coherence. Pure ∣+⟩\lvert +\rangle, Mixed I/2. ½, ½, ½, ½. ½, 0, 0, ½. Open full-size image Download PNG

How it works

  1. Build

    Form a projector for each pure preparation and average it with its classical weight.

  2. Read

    Diagonal entries are outcome probabilities in the displayed basis. Off-diagonal entries capture coherence in that basis.

  3. Test

    Purity is one for a pure state and 1/d for the maximally mixed state in dimension d.

Equation and quantities

ρ=∑ipi ∣ψi⟩⟨ψi∣\rho=\sum_i p_i\,\lvert\psi_i\rangle\langle\psi_i\rvert

Worked example

Both matrices shown give 50:50 Z counts. In X, ∣+⟩\lvert +\rangle always returns +, while I/2 gives 50:50 again.

Why it matters

Density matrices describe noisy qubits, thermal states, reduced systems and general measurements.

Limits and assumptions

A single density operator can come from distinct ensembles. No measurement on the state alone can recover which such ensemble was used.

What is Tr⁡(ρ2)\operatorname{Tr}(\rho^2) for the maximally mixed qubit?

12\frac{1}{2}.

Related reading