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.

Need Learn Main Check
Definition and tests Density Operators Hermitian, positive, trace one
Pure versus mixed Pure vs Mixed States ρ2=ρ\rho^2=\rho only for pure states
Trace-rule average Trace Rule Expectation Values Operator and state on same Hilbert space
Reduced state Partial Trace Tensor-factor ordering
Practice reductions Partial Trace Exercises Basis labels and index sums
Entropy Entropy Overview Logarithm base and eigenvalues
Channel model Depolarizing Channel Kraus normalization
Formula card Density Matrix Expectation Trace 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.