Skip to content

Density-Matrix Examples

Density matrices describe pure states, mixed states, reduced states, and open-system states in one notation. Examples are most useful when they keep ensemble mixtures, coherent superpositions, and subsystem reductions separate.

NeedLearnMain Check
Definition and testsDensity OperatorsHermitian, positive, trace one
Pure versus mixedPure vs Mixed Statesρ2=ρ\rho^2=\rho only for pure states
Trace-rule averageTrace Rule Expectation ValuesOperator and state on same Hilbert space
Reduced statePartial TraceTensor-factor ordering
Practice reductionsPartial Trace ExercisesBasis labels and index sums
EntropyEntropy OverviewLogarithm base and eigenvalues
Channel modelDepolarizing ChannelKraus normalization
Formula cardDensity Matrix ExpectationTrace convention

For a classical mixture of ∣0⟩\lvert0\rangle with probability pp and ∣1⟩\lvert1\rangle with probability 1−p1-p,

ρ=p∣0⟩⟨0∣+(1−p)∣1⟩⟨1∣=(p001−p).\rho =p\lvert0\rangle\langle0\rvert +(1-p)\lvert1\rangle\langle1\rvert = \begin{pmatrix} p & 0\\ 0 & 1-p \end{pmatrix}.

For Z=∣0⟩⟨0∣−∣1⟩⟨1∣Z=\lvert0\rangle\langle0\rvert-\lvert1\rangle\langle1\rvert,

Tr⁡(ρZ)=p−(1−p)=2p−1.\operatorname{Tr}(\rho Z)=p-(1-p)=2p-1.

This is not the same state as the coherent superposition p∣0⟩+1−p∣1⟩\sqrt p\lvert0\rangle+\sqrt{1-p}\lvert1\rangle, whose density matrix has off-diagonal terms.

  • Confusing a mixture with a superposition that has the same diagonal probabilities.
  • Taking a partial trace without fixing tensor-factor order.
  • Checking trace one but forgetting positivity.
  • Using a reduced density matrix as if it described a pure state of the subsystem.
  • Treating entropy as a property of a state vector without specifying the subsystem or ensemble.
  • Writing a channel map without checking trace preservation.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
  1. For the mixture above, what is Tr⁡ρ2\operatorname{Tr}\rho^2?
Solution

Since ρ\rho is diagonal, Tr⁡ρ2=p2+(1−p)2\operatorname{Tr}\rho^2=p^2+(1-p)^2. This equals one only when p=0p=0 or p=1p=1, so intermediate probabilities give mixed states.