Skip to main content
KetQat

Appearance

Equation · introductory

Purity of a quantum state

The trace of the square of a density operator lies between 1/d and 1. It equals 1 exactly for pure states and 1/d exactly for the maximally mixed state.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

1d  ≤  Tr⁡ρ2  ≤  1\frac{1}{d} \;\le\; \operatorname{Tr} \rho^{2} \;\le\; 1

The purity of a state ρ\rho is Tr⁡ρ2=∑kλk2\tr \rho^2 = \sum_k \lambda_k^2, where λ1,…,λd\lambda_1, \dots, \lambda_d are the eigenvalues of ρ\rho.

Upper bound. Since 0≤λk≤10 \le \lambda_k \le 1, λk2≤λk\lambda_k^2 \le \lambda_k, so ∑kλk2≤∑kλk=1\sum_k \lambda_k^2 \le \sum_k \lambda_k = 1, with equality if and only if every λk∈{0,1}\lambda_k \in \{0, 1\}, that is, if and only if ρ\rho is a rank-one projector.

Lower bound. By the Cauchy–Schwarz inequality 1=(∑kλk⋅1)2≤d∑kλk21 = \big(\sum_k \lambda_k \cdot 1\big)^2 \le d \sum_k \lambda_k^2, with equality if and only if all λk\lambda_k are equal, that is, ρ=I/d\rho = I/d.

The purity is invariant under unitaries, Tr⁡(UρU†)2=Tr⁡ρ2\tr (U\rho U\dagg)^2 = \tr \rho^2, and is the simplest test of whether a state is pure; it is the criterion stated as exercise 2.71 of Nielsen and Chuang. The quantity 1−Tr⁡ρ21 - \tr \rho^2 is called the linear entropy. For a bipartite pure state with Schmidt coefficients λi\sqrt{\lambda_i}, both reduced states have purity ∑iλi2\sum_i \lambda_i^2, so the purity of a reduced state measures how entangled the pure state is: it is 1 exactly for product states. For a qubit, Tr⁡ρ2=12(1+∥r⃗∥2)\tr \rho^2 = \tfrac12 (1 + \lVert \vec r \rVert^2) in terms of the Bloch vector.

Holds when

  • The operator ρ\rho is a density operator on a Hilbert space of finite dimension dd.
Builds on
Part of
Related
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Both bounds and equality cases re-derived (lambda^2 <= lambda; Cauchy-Schwarz), unitary invariance, reduced-state purity sum lambda_i^2 via the Schmidt form, and the qubit formula (checked numerically with the Bloch record). Nielsen-Chuang section/theorem pointers not verified (book not openly readable).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 493d3ee8f232ab0f. Source file knowledge/records/equation/purity.md in the content repository (readable there once it is public).