EquationIntermediateEquations

Density Matrix

Definition of the density matrix of a probabilistic mixture of pure states and its properties.

$$\rho=\sum_ip_i|\psi_i\rangle\langle\psi_i|,\qquad \mathrm{Tr}\,\rho=1,\ \rho\succeq0,\ \mathrm{Tr}\,\rho^2\le1$$

Symbols

$\rho$density matrix
$p_i$Probability of pure state i
$|\psi_i\rangle$Pure states in the mixture
$\mathrm{Tr}$Trace

$p_i\ge0$ are the probabilities of preparing the states $|\psi_i\rangle$ and sum to 1, $\mathrm{Tr}$ is the trace, and $\rho\succeq0$ means positive semidefinite. $\mathrm{Tr}\rho^2$ is the purity, which equals 1 only for pure states. For one qubit: $\rho=\tfrac12(I+r_xX+r_yY+r_zZ)$. It applies to all states, and it must be used with noise, partial measurement and subsystems.

Example

A mixture of $|0\rangle$ with probability 0.75 and $|+\rangle$ with probability 0.25: $\rho=0.75\begin{pmatrix}1&0\\0&0\end{pmatrix}+0.25\cdot\tfrac12\begin{pmatrix}1&1\\1&1\end{pmatrix}=\begin{pmatrix}0.875&0.125\\0.125&0.125\end{pmatrix}$. The trace is 1 (verified). The purity is $0.875^2+2(0.125)^2+0.125^2=0.8125<1$.

Test your understanding

The quiz needs JavaScript.

Related topics

References

  1. Michael A. Nielsen; Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press doi:10.1017/CBO9780511976667The standard reference for quantum computing; the Crossref record gives 2012 for the Cambridge Core online edition.