Purity of a quantum state
Purity is Tr(rho squared), a basis-independent measure that equals one for a pure state and is smaller for a mixed state.
Also called state purity
On this page
Definition and interpretation
Purity P=Tr(rho^2) describes how concentrated a state's eigenvalue distribution is. A finite d-dimensional state satisfies 1/d<=P<=1. The upper endpoint is attained by pure states and the lower by the maximally mixed state I/d. Purity is not the same as preparation fidelity, entanglement, or gate quality. A perfectly prepared mixed target can have low purity and high target fidelity.
The measure is basis independent because Tr[(U rho U-dagger)^2]=Tr(U rho^2 U-dagger)=Tr(rho^2). It therefore avoids the basis dependence of reading only diagonal probabilities or a particular coherence entry.
Mathematical treatment
If rho has eigenvalues lambda_j, purity is sum_j lambda_j^2. A pure state has one eigenvalue one and all others zero. A classical mixture with nonorthogonal component states does not generally have purity sum_k p_k^2: cross terms involving overlaps also contribute. For an ensemble, P=sum_jk p_j p_k |<psi_j|psi_k>|^2.
The quantity 1-P is often called linear entropy, sometimes with a dimension-dependent normalization. Every entry that uses it must state the normalization. It is related to but different from von Neumann entropy, which uses -sum lambda log lambda.
Fully solved examples
For rho=0.6|0><0|+0.4|1><1|, orthogonality gives P=0.36+0.16=0.52. For sigma=0.6|0><0|+0.4|+><+|, the overlap squared is 1/2. Therefore P=0.36+0.16+2 times 0.6 times 0.4 times 1/2=0.76. Equal classical mixing weights do not imply equal mixedness of the resulting quantum states.
Now consider |Phi+>=(|00>+|11>)/sqrt(2). The joint density operator is pure, so its purity is one. Either local state is I/2 with purity one half. This local mixedness results from entanglement with the other qubit, not necessarily from imperfect global preparation. The distinction matters when interpreting subsystem tomography.
For a qubit rho=(I+r dot sigma)/2, the Pauli trace identities yield P=(1+|r|^2)/2. If |r|=0.8, P=0.82. Conversely P=0.68 implies |r|=sqrt(0.36)=0.6. These relations are special to the single-qubit Bloch representation.
Limits and misconceptions
A channel need not always reduce purity. Amplitude damping can move a mixed qubit toward a pure ground state by transferring entropy to its environment. A unitary cannot change purity on a closed system. Low local purity alone is not an entanglement witness for a mixed joint state, because classical correlations can produce the same local mixedness.
Estimating purity experimentally can require multiple settings, assumptions, or collective-copy methods. It must not be inferred merely from the fraction of zero outcomes in one basis.
Two copies turn purity into an expectation value
Let W exchange two identical d-dimensional registers: W|j>|k>=|k>|j>. For any matrices A and B, expanding the trace in a product basis gives Tr[W(A tensor B)]=sum_jk A_jk B_kj=Tr(AB). Taking A=B=rho yields Tr[W(rho tensor rho)]=Tr(rho^2). Purity can therefore be represented as the expectation of a joint observable on two independently prepared copies.
The word independently matters. If the two registers have correlated joint state tau rather than rho tensor rho, the measured exchange expectation is Tr(W tau), which need not equal the purity of either marginal. A common uncontrolled preparation label can correlate nominal copies. An estimator that assumes a tensor product must justify that model rather than infer it from identical single-register histograms.
Since W is Hermitian and W^2=I, its ideal projective outcomes are ±1. For a product input rho tensor rho, their probabilities are (1+P)/2 and (1-P)/2. If P=3/5, the probabilities are 4/5 and 1/5. The variance of one exchange outcome is 1-P^2=16/25. Averaging N independent pairs gives variance 16/(25N), under this ideal measurement and independent-pair model. These formulas describe one theoretical estimator, not a claim that every physical platform can implement W measurements efficiently.
Effective support and a rank lower bound
If rho has rank r and positive eigenvalues lambda_1 through lambda_r, Cauchy-Schwarz gives (sum_j lambda_j)^2<=r sum_j lambda_j^2. Because their sum is one, purity obeys P>=1/r. Thus r>=1/P, and since rank is an integer, r>=ceiling(1/P). A purity of 0.30 implies rank at least four. It does not establish that the rank is exactly four or that the state is maximally mixed on a four-dimensional subspace.
The inverse purity 1/P is often useful as an effective-number summary, but it can be noninteger and need not equal the dimension of the support. Equality P=1/r occurs only when all nonzero eigenvalues are equal. A state with a tiny but nonzero extra eigenvalue can have a larger exact rank while changing purity only slightly. Rank is therefore especially sensitive to numerical thresholds and model assumptions in noisy reconstruction.
Equal purity need not mean equal entropy
Consider two qutrit spectra, lambda=(1/2,1/2,0) and mu=(2/3,1/6,1/6). Their purities are respectively 1/4+1/4=1/2 and 4/9+1/36+1/36=1/2. Their von Neumann entropies differ. The first has entropy one bit. The second has entropy -(2/3)log_2(2/3)-2(1/6)log_2(1/6)=log_2(3)-1/3, approximately 1.251629 bits.
Both states have the same inverse purity two, but their ranks are two and three. A scalar mixedness measure compresses spectral information; it cannot normally reconstruct the entire spectrum. In a qubit, the trace condition and purity determine the two eigenvalues up to order, making the relationship unusually restrictive. Extending that intuition to qutrits or larger systems gives incorrect conclusions.
When a channel is guaranteed not to increase purity
For a channel Phi that is completely positive, trace preserving, and unital, the operator Schwarz inequality gives Phi(rho)^2<=Phi(rho^2). Taking traces and using trace preservation yields Tr[Phi(rho)^2]<=Tr(rho^2). Unitality is essential to this argument. It is a statement about a particular class of channels, not a universal law of open-system evolution.
The needed Schwarz inequality follows directly from block positivity. The matrix [[rho^2,rho],[rho,I]] is positive because it equals the outer product of the block column (rho,I) with its adjoint. Applying Phi to each block preserves positivity by complete positivity. Unitality makes the lower-right block I. Taking its Schur complement gives Phi(rho^2)-Phi(rho)^2>=0. This supplies the specific operator inequality used above and identifies exactly where each assumption enters.
For comparison, amplitude damping with damping probability gamma maps I/2 to diag((1+gamma)/2,(1-gamma)/2). The output purity is (1+gamma^2)/2, greater than one half whenever gamma is nonzero. At gamma=3/5 it is 17/25=0.68. The channel exports information or entropy to other degrees of freedom while biasing the system toward the ground state. A purity increase alone therefore does not establish improved isolation or better preservation of an arbitrary unknown input.
Sources
Verification scope
Foundations I: States and Ensembles
John Preskill · · Lecture or course notes · preskill.caltech.eduCitation identity checked ·
Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.
Foundations I: States and Ensembles
John Preskill · · Lecture or course notes · preskill.caltech.eduSelected text checked ·
Full-text PDF available and selected state, convexity, ensemble, and reduced-state sections inspected. This is a pedagogical source, not the original publication of each theorem.
Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.
Verification scope
Citation identity checked ·
Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.
Verification scope
The Theory of Quantum Information: Chapter 1, Mathematical preliminaries
John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.caSelected text checked ·
Chapter introduction, finite-dimensional linear-algebra definitions and Caratheodory theorem were inspected. The author explicitly describes the chapter as review material, not a primary source for all mathematical results.
Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.
Verification scope
The Theory of Quantum Information: Chapter 5, Quantum entropy and source coding
John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.caSelected text checked ·
Full-text PDF available; logarithm-base convention and entropy definitions inspected. Constructed qutrit-spectrum entropy comparison independently recomputed. Additional selected scope checked: section 5.3.2 and Theorem 5.44 source-compression model and typical subspace, plus Holevo information and Theorem 5.49 relative-entropy proof.
Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.