Density matrices and mixed states
A density matrix encodes all measurement statistics, including loss of coherence and uncertainty about preparation.
How it works
Build
Form a projector for each pure preparation and average it with its classical weight.
Read
Diagonal entries are outcome probabilities in the displayed basis. Off-diagonal entries capture coherence in that basis.
Test
Purity is one for a pure state and 1/d for the maximally mixed state in dimension d.
Equation and quantities
- · positive operator
- Tr · 1
- · purity
Worked example
Both matrices shown give 50:50 Z counts. In X, 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 for the maximally mixed qubit?
.