Skip to content

Pure vs Mixed States

A quantum state is pure when its density operator is a rank-one projector,

ρ=∣ψ⟩⟨ψ∣.\rho = \lvert\psi\rangle\langle\psi\rvert.

It is mixed when no single ray represents the state. In finite dimensions, a density operator with spectral decomposition

ρ=∑r=1dλr∣r⟩⟨r∣\rho = \sum_{r=1}^{d} \lambda_r \lvert r\rangle\langle r\rvert

is pure exactly when one eigenvalue is 11 and all others vanish. It is mixed when at least two eigenvalues are nonzero.

This distinction is intrinsic to the density operator. It does not depend on the basis in which the matrix is written or on a particular preparation ensemble used to realize it.

For a normalized vector ∣ψ⟩\lvert\psi\rangle,

ρψ=∣ψ⟩⟨ψ∣\rho_\psi = \lvert\psi\rangle\langle\psi\rvert

has rank one and obeys

ρψ2=ρψ.\rho_\psi^2=\rho_\psi.

It assigns probability one to the ray ∣ψ⟩\lvert\psi\rangle:

Tr⁡(ρψ2)=1.\operatorname{Tr} \left( \rho_\psi^2 \right) =1.

It need not look diagonal in the basis being used. For example,

∣+⟩=∣0⟩+∣1⟩2\lvert+\rangle = \frac{ \lvert0\rangle+\lvert1\rangle }{\sqrt2}

is pure, although its computational-basis density matrix has nonzero off-diagonal entries:

ρ+=12(1111).\rho_+ = \frac12 \begin{pmatrix} 1&1\\ 1&1 \end{pmatrix}.

Every pure-state projector becomes

diag⁡(1,0,…,0)\operatorname{diag}(1,0,\ldots,0)

in a basis containing its state vector. Diagonal versus nondiagonal is therefore not a basis-independent test of mixedness.

A mixed state has more than one nonzero eigenvalue:

ρ=∑r=1Rλr∣r⟩⟨r∣,R>1.\rho = \sum_{r=1}^{R} \lambda_r \lvert r\rangle\langle r\rvert, \qquad R>1.

The rank RR counts the dimension of the support of ρ\rho. A mixed state can arise from a randomized preparation,

ρ=∑kpk∣ψk⟩⟨ψk∣,\rho = \sum_k p_k \lvert\psi_k\rangle\langle\psi_k\rvert,

or by reducing a larger entangled state. The same density operator can have many ensemble decompositions, so mixedness does not identify a unique list of underlying pure preparations.

The maximally mixed state on a dd-dimensional Hilbert space is

ρ∗=Idd.\rho_*=\frac{I_d}{d}.

Its rank is dd, and its spectrum is uniform. Other mixed states interpolate between a rank-one boundary point and this maximally mixed center in ways made precise by purity and entropy.

For a finite-dimensional density operator, the following conditions are equivalent:

  1. ρ\rho is pure.
  2. ρ\rho has rank one.
  3. ρ2=ρ\rho^2=\rho.
  4. Tr⁡(ρ2)=1\operatorname{Tr}(\rho^2)=1.
  5. The spectrum is {1,0,…,0}\{1,0,\ldots,0\}.
  6. ρ\rho is an extreme point of the convex state space.

The state is mixed exactly when these pure-state conditions fail.

Because ρ\rho is positive and trace one,

λr≥0,∑rλr=1.\lambda_r\ge0, \qquad \sum_r\lambda_r=1.

Its square has eigenvalues λr2\lambda_r^2, so

Tr⁡(ρ2)=∑rλr2.\operatorname{Tr}(\rho^2) = \sum_r\lambda_r^2.

The identity

1−Tr⁡(ρ2)=2∑r<sλrλs1-\operatorname{Tr}(\rho^2) = 2\sum_{r<s} \lambda_r\lambda_s

shows that the trace of ρ2\rho^2 equals one exactly when every product λrλs\lambda_r\lambda_s with r≠sr\ne s vanishes. Since the eigenvalues sum to one, precisely one eigenvalue must then equal one.

Likewise,

ρ2=ρ\rho^2=\rho

forces every eigenvalue to satisfy

λr2=λr.\lambda_r^2=\lambda_r.

Hence each λr\lambda_r is 00 or 11, and trace one leaves exactly one nonzero eigenvalue.

The von Neumann entropy

S(ρ)=−Tr⁡(ρlog⁡ρ)S(\rho) = -\operatorname{Tr}(\rho\log\rho)

vanishes exactly for a pure density operator. A finite-dimensional mixed state has S(ρ)>0S(\rho)>0. The conventions, base dependence, and examples are developed in Entropy Overview.

The purity of a state is

γ(ρ)=Tr⁡(ρ2).\gamma(\rho) = \operatorname{Tr}(\rho^2).

In dd dimensions,

1d≤γ(ρ)≤1.\frac{1}{d} \le \gamma(\rho) \le1.

The upper bound is attained exactly by pure states. The lower bound is attained exactly by Id/dI_d/d.

To prove the lower bound, use the eigenvalues and Cauchy–Schwarz:

(∑r=1dλr)2≤d∑r=1dλr2.\left( \sum_{r=1}^{d}\lambda_r \right)^2 \le d\sum_{r=1}^{d}\lambda_r^2.

Since the sum on the left is one,

γ(ρ)≥1d.\gamma(\rho)\ge\frac1d.

If the state has rank RR, the sharper support-dependent bound is

1R≤γ(ρ)≤1.\frac1R \le \gamma(\rho) \le1.

For fixed R>1R>1, the upper inequality is strict, though the purity can approach one when all but one eigenvalue approach zero. The lower value 1/R1/R occurs for a state maximally mixed on its support.

Purity is invariant under unitary evolution:

γ(UρU†)=Tr⁡(Uρ2U†)=γ(ρ).\begin{aligned} \gamma(U\rho U^\dagger) &= \operatorname{Tr} \left( U\rho^2U^\dagger \right) \\ &= \gamma(\rho). \end{aligned}

It is also a convex function. For

ρt=tρ1+(1−t)ρ2,0≤t≤1,\rho_t = t\rho_1+(1-t)\rho_2, \qquad 0\le t\le1,

one finds

tγ(ρ1)+(1−t)γ(ρ2)−γ(ρt)=t(1−t)Tr⁡[(ρ1−ρ2)2]≥0.\begin{aligned} &t\gamma(\rho_1) +(1-t)\gamma(\rho_2) -\gamma(\rho_t) \\ &\qquad= t(1-t) \operatorname{Tr} \left[ (\rho_1-\rho_2)^2 \right] \ge0. \end{aligned}

Randomly forgetting which of two preparations occurred cannot increase purity beyond the probability-weighted average of the component purities. General open-system channels can either increase or decrease purity, depending on whether they add noise, discard correlations, cool, reset, or condition on measurement outcomes.

Purity is useful but not a complete description of a mixed state. Different spectra can share the same value of Tr⁡(ρ2)\operatorname{Tr}(\rho^2).

Compare the pure superposition

∣+⟩=∣0⟩+∣1⟩2\lvert+\rangle = \frac{ \lvert0\rangle+\lvert1\rangle }{\sqrt2}

with an equal incoherent mixture of the same basis states:

ρmix=12∣0⟩⟨0∣+12∣1⟩⟨1∣.\rho_{\mathrm{mix}} = \frac12 \lvert0\rangle\langle0\rvert + \frac12 \lvert1\rangle\langle1\rvert.

Their computational-basis matrices are

ρ+=12(1111),\rho_+ = \frac12 \begin{pmatrix} 1&1\\ 1&1 \end{pmatrix},

and

ρmix=12(1001).\rho_{\mathrm{mix}} = \frac12 \begin{pmatrix} 1&0\\ 0&1 \end{pmatrix}.

Both give 00 and 11 with equal probability in the computational basis. Their purities differ:

Tr⁡(ρ+2)=1,Tr⁡(ρmix2)=12.\operatorname{Tr}(\rho_+^2)=1, \qquad \operatorname{Tr}(\rho_{\mathrm{mix}}^2)=\frac12.

An xx-basis measurement distinguishes them:

p+(+∣ρ+)=1,p+(+∣ρmix)=12.p_+(+\mid\rho_+)=1, \qquad p_+(+\mid\rho_{\mathrm{mix}})=\frac12.

The off-diagonal entries of ρ+\rho_+ encode phase coherence relative to the computational basis. They are absent in ρmix\rho_{\mathrm{mix}}, but this matrix pattern is basis-dependent; purity is not.

Classical Mixtures vs Quantum Superpositions develops the full basis-change comparison.

Consider

ρ(c)=12(1cc∗1).\rho(c) = \frac12 \begin{pmatrix} 1&c\\ c^*&1 \end{pmatrix}.

Positivity requires

∣c∣≤1.\lvert c\rvert\le1.

The eigenvalues are

λ±=1±∣c∣2,\lambda_\pm = \frac{1\pm\lvert c\rvert}{2},

and the purity is

γ(ρ(c))=1+∣c∣22.\gamma(\rho(c)) = \frac{1+\lvert c\rvert^2}{2}.

Therefore:

  • ∣c∣=1\lvert c\rvert=1 gives a pure equal-weight superposition;
  • 0<∣c∣<10<\lvert c\rvert<1 gives a partially coherent mixed state;
  • c=0c=0 gives the maximally mixed qubit.

The magnitude of cc controls mixedness in this chosen family, while its phase selects the direction of the coherence in the equatorial plane.

Every qubit state has the form

ρ=12(I+r⋅σ),∥r∥≤1.\rho = \frac12 \left( I+\mathbf r\cdot\boldsymbol\sigma \right), \qquad \lVert\mathbf r\rVert\le1.

Its eigenvalues are

λ±=1±∥r∥2,\lambda_\pm = \frac{ 1\pm\lVert\mathbf r\rVert }{2},

and

γ(ρ)=1+∥r∥22.\gamma(\rho) = \frac{ 1+\lVert\mathbf r\rVert^2 }{2}.

Thus

∥r∥=1⟺ρ is pure,∥r∥<1⟺ρ is mixed.\begin{aligned} \lVert\mathbf r\rVert=1 &\quad\Longleftrightarrow\quad \rho\text{ is pure}, \\ \lVert\mathbf r\rVert<1 &\quad\Longleftrightarrow\quad \rho\text{ is mixed}. \end{aligned}

Pure qubit states lie on the surface of the Bloch ball; mixed states lie in its interior; I2/2I_2/2 lies at the center. The geometric and measurement interpretations are developed in Bloch Sphere.

There are two physically different routes to the same local density operator.

A source may toss a fair classical coin and prepare ∣0⟩\lvert0\rangle or ∣1⟩\lvert1\rangle. If the record is unavailable, the assigned state is

ρA=I22.\rho_A = \frac{I_2}{2}.

Someone who retains the record can sort the ensemble into pure subensembles.

The Bell state

∣Φ+⟩=∣00⟩+∣11⟩2\lvert\Phi^+\rangle = \frac{ \lvert00\rangle+\lvert11\rangle }{\sqrt2}

is globally pure, but

ρA=Tr⁡B(∣Φ+⟩⟨Φ+∣)=I22.\rho_A = \operatorname{Tr}_B \left( \lvert\Phi^+\rangle\langle\Phi^+\rvert \right) = \frac{I_2}{2}.

Here the mixed local state arises because the information distinguishing correlated alternatives resides in the joint system. Access to subsystem AA alone cannot reveal whether I2/2I_2/2 arose from a classical source record or from this entangled preparation. Access to the record, the purifying subsystem, or suitable joint correlations can reveal the difference.

The terminology proper mixture and improper mixture is sometimes used for these two contexts. The labels concern the global preparation story, not two different kinds of local density operator. All local probabilities are determined by the same ρA\rho_A.

Moreover, because ensemble decompositions are nonunique, one should not infer that a mixed density operator means the system secretly occupies one preferred pure state in one preferred ensemble. The operational and foundational interpretation must be stated separately from the density operator itself.

Reduced Density Matrices and Purification Overview develop the two constructions.

Purity is nonlinear in ρ\rho, so it is not the expectation value of one fixed observable on one copy of an arbitrary unknown state. Common routes include:

  • reconstructing ρ\rho by state tomography and then evaluating Tr⁡(ρ2)\operatorname{Tr}(\rho^2);
  • using prior structure that reduces the number of unknown parameters;
  • performing a collective measurement on two identically prepared copies.

For two copies, let SS be the swap operator,

S(∣α⟩⊗∣β⟩)=∣β⟩⊗∣α⟩.S \left( \lvert\alpha\rangle\otimes\lvert\beta\rangle \right) = \lvert\beta\rangle\otimes\lvert\alpha\rangle.

Then

Tr⁡[S(ρ⊗ρ)]=Tr⁡(ρ2).\operatorname{Tr} \left[ S(\rho\otimes\rho) \right] = \operatorname{Tr}(\rho^2).

This identity gives purity a direct two-copy operational meaning. It does not imply that a single measurement outcome certifies purity; finite data always require statistical inference.

For a product state, purity factorizes:

γ(ρA⊗ρB)=γ(ρA)γ(ρB).\gamma(\rho_A\otimes\rho_B) =\gamma(\rho_A)\gamma(\rho_B).

For a globally pure bipartite state, a reduced state has purity one exactly when the global state is a product. For a globally mixed state, reduced purity by itself is not an entanglement measure.

Two common reparameterizations are the linear entropy and inverse purity,

SL=1−γ,deff=1γ.S_L=1-\gamma, \qquad d_{\mathrm{eff}}=\frac{1}{\gamma}.

Some authors normalize SLS_L by d/(d−1)d/(d-1); the convention must be stated. The effective dimension is generally not an integer and contains no more spectral information than purity.

For a Gibbs state ρβ=e−βH/Z(β)\rho_\beta=e^{-\beta H}/Z(\beta),

γ(ρβ)=Z(2β)Z(β)2.\gamma(\rho_\beta) =\frac{Z(2\beta)}{Z(\beta)^2}.

This shortcut requires the relevant partition functions to be finite. At zero temperature a nondegenerate ground state gives γ→1\gamma\to1; an equal mixture on an unresolved gg-fold ground space gives γ→1/g\gamma\to1/g.

For a positive trace-class operator with unit trace,

0<Tr⁡(ρ2)≤1,0<\operatorname{Tr}(\rho^2)\le1,

and equality to one still characterizes a pure state. There is no dimension-independent positive lower bound analogous to 1/d1/d, because the purity can be made arbitrarily small by spreading weight over more orthogonal states.

The formal operator I/Tr⁡II/\operatorname{Tr}I is not a density operator on an infinite-dimensional Hilbert space: the identity is not trace class. A “maximally mixed state on the whole infinite-dimensional space” therefore does not exist in the finite-dimensional sense.

To classify a finite-dimensional density operator:

  1. Verify positivity and trace one.
  2. Diagonalize ρ\rho or determine its rank.
  3. If exactly one eigenvalue is nonzero, the state is pure.
  4. Otherwise compute γ=Tr⁡(ρ2)\gamma=\operatorname{Tr}(\rho^2) as a mixedness diagnostic.
  5. Use 1/d≤γ≤11/d\le\gamma\le1 as a consistency check.
  6. For a qubit, translate to the Bloch radius if useful.
  7. Keep basis-dependent coherence separate from basis-independent purity.
  8. Ask whether the global preparation context includes a classical record or a purifying subsystem.
  • Calling every superposition a mixed state because several basis amplitudes appear.
  • Calling every density matrix mixed; rank-one projectors are density matrices too.
  • Deciding purity from the presence or absence of off-diagonal entries.
  • Treating one zero eigenvalue or det⁡ρ=0\det\rho=0 as sufficient for purity in dimensions greater than two.
  • Forgetting that Tr⁡(ρ2)=1\operatorname{Tr}(\rho^2)=1 assumes a normalized, positive density operator.
  • Interpreting purity as a complete invariant of the spectrum.
  • Assuming unitary evolution can change purity.
  • Assuming every mixed state has one physically preferred ensemble decomposition.
  • Concluding that a mixed subsystem makes the global state mixed.
  • Treating the proper/improper mixture terminology as a difference in local measurement statistics.

Density Operators is the canonical state-space definition. Ensembles and Preparation Procedures develops ensemble nonuniqueness. Purification Overview shows how every mixed state can be embedded in a larger pure state. Entropy Overview introduces a spectral mixedness measure beyond purity.

For the superposition comparison, see Superposition and Relative Phase and Classical Mixtures vs Quantum Superpositions.

  • L. E. Ballentine, Quantum Mechanics: A Modern Development, 2nd ed., World Scientific (2014), Ch. 3.
  • A. Peres, Quantum Theory: Concepts and Methods, Kluwer Academic (1995), Ch. 5.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), Sec. 2.4.
  • J. Watrous, The Theory of Quantum Information, Cambridge University Press (2018), Ch. 2.
  • J. Preskill, Lecture Notes for Physics 229: Quantum Information and Computation, Chapter 2, Sec. 2.3.
  • B. d’Espagnat, Conceptual Foundations of Quantum Mechanics, 2nd ed., W. A. Benjamin (1976), Ch. 6.
  1. Prove from the eigenvalues that a density operator is pure if and only if
Tr⁡(ρ2)=1.\operatorname{Tr}(\rho^2)=1.
Solution

Let the eigenvalues be λr≥0\lambda_r\ge0 with ∑rλr=1\sum_r\lambda_r=1. Then

1−Tr⁡(ρ2)=2∑r<sλrλs.1-\operatorname{Tr}(\rho^2) = 2\sum_{r<s} \lambda_r\lambda_s.

The right side is a sum of nonnegative terms. It vanishes exactly when no two eigenvalues are simultaneously nonzero. Trace one then forces the spectrum to be

{1,0,…,0}.\{1,0,\ldots,0\}.

That spectrum has rank one and represents a pure state. The converse is immediate because a rank-one projector is idempotent.

  1. Derive the finite-dimensional lower bound
Tr⁡(ρ2)≥1d\operatorname{Tr}(\rho^2)\ge\frac1d

and identify the equality case.

Solution

Cauchy–Schwarz gives

(∑r=1dλr)2≤d∑r=1dλr2.\left( \sum_{r=1}^{d}\lambda_r \right)^2 \le d\sum_{r=1}^{d}\lambda_r^2.

The left side is one, so

Tr⁡(ρ2)=∑rλr2≥1d.\operatorname{Tr}(\rho^2) = \sum_r\lambda_r^2 \ge \frac1d.

Equality in Cauchy–Schwarz requires all eigenvalues to be equal. Therefore

λr=1d\lambda_r=\frac1d

for every rr, and ρ=Id/d\rho=I_d/d.

  1. For the states ρ+\rho_+ and ρmix\rho_{\mathrm{mix}} above, calculate the probabilities of the ++ and −- outcomes in the xx basis.
Solution

Because ρ+=∣+⟩⟨+∣\rho_+=\lvert+\rangle\langle+\rvert,

p(+∣ρ+)=1,p(−∣ρ+)=0.p(+\mid\rho_+)=1, \qquad p(-\mid\rho_+)=0.

For ρmix=I2/2\rho_{\mathrm{mix}}=I_2/2 and either rank-one projector P±P_\pm,

Tr⁡(ρmixP±)=12Tr⁡P±=12.\operatorname{Tr} \left( \rho_{\mathrm{mix}}P_\pm \right) = \frac12\operatorname{Tr}P_\pm = \frac12.

Thus the mixture gives equal xx-basis probabilities and is distinguished from the coherent superposition.

  1. For
ρ(c)=12(1cc∗1),\rho(c) = \frac12 \begin{pmatrix} 1&c\\ c^*&1 \end{pmatrix},

derive its eigenvalues and purity. For which cc is it pure?

Solution

The characteristic equation gives

λ±=1±∣c∣2.\lambda_\pm = \frac{1\pm\lvert c\rvert}{2}.

Positivity requires ∣c∣≤1\lvert c\rvert\le1. The purity is

γ=λ+2+λ−2=1+∣c∣22.\begin{aligned} \gamma &= \lambda_+^2+\lambda_-^2 \\ &= \frac{1+\lvert c\rvert^2}{2}. \end{aligned}

It equals one exactly when ∣c∣=1\lvert c\rvert=1. The state is mixed for ∣c∣<1\lvert c\rvert<1, including the maximally mixed case c=0c=0.

  1. Consider the qutrit state
ρp=diag⁡(p,1−p,0),0≤p≤1.\rho_p = \operatorname{diag}(p,1-p,0), \qquad 0\le p\le1.

Show why det⁡ρp=0\det\rho_p=0 does not prove purity.

Solution

The determinant vanishes for every pp because one eigenvalue is zero. However,

Tr⁡(ρp2)=p2+(1−p)2.\operatorname{Tr}(\rho_p^2) = p^2+(1-p)^2.

For 0<p<10<p<1, both pp and 1−p1-p are nonzero and the purity is less than one. The state has rank two and is mixed. Only the endpoints p=0p=0 and p=1p=1 are pure.

  1. Compute the reduced density operator and purity of either qubit in ∣Φ+⟩\lvert\Phi^+\rangle.
Solution

Taking the partial trace gives

ρA=ρB=I22.\rho_A=\rho_B=\frac{I_2}{2}.

Therefore

Tr⁡(ρA2)=Tr⁡(I24)=12.\operatorname{Tr}(\rho_A^2) = \operatorname{Tr} \left( \frac{I_2}{4} \right) = \frac12.

Each subsystem is mixed even though the joint Bell state is pure.

  1. Starting from
ρ=12(I+r⋅σ),\rho = \frac12 \left( I+\mathbf r\cdot\boldsymbol\sigma \right),

derive

Tr⁡(ρ2)=1+∥r∥22.\operatorname{Tr}(\rho^2) = \frac{ 1+\lVert\mathbf r\rVert^2 }{2}.
Solution

Use

(r⋅σ)2=∥r∥2I.\left( \mathbf r\cdot\boldsymbol\sigma \right)^2 = \lVert\mathbf r\rVert^2 I.

Then

ρ2=14[(1+∥r∥2)I+2r⋅σ].\rho^2 = \frac14 \left[ \left( 1+\lVert\mathbf r\rVert^2 \right)I + 2\mathbf r\cdot\boldsymbol\sigma \right].

Since Tr⁡I=2\operatorname{Tr}I=2 and every Pauli matrix is traceless,

Tr⁡(ρ2)=1+∥r∥22.\operatorname{Tr}(\rho^2) = \frac{ 1+\lVert\mathbf r\rVert^2 }{2}.
  1. Prove the two-copy identity
Tr⁡[S(ρ⊗ρ)]=Tr⁡(ρ2)\operatorname{Tr} \left[ S(\rho\otimes\rho) \right] = \operatorname{Tr}(\rho^2)

using an orthonormal basis.

Solution

Let S∣i⟩∣j⟩=∣j⟩∣i⟩S\lvert i\rangle\lvert j\rangle =\lvert j\rangle\lvert i\rangle. Then

Tr⁡[S(ρ⊗ρ)]=∑i,j⟨ij∣S(ρ⊗ρ)∣ij⟩=∑i,j⟨j∣ρ∣i⟩⟨i∣ρ∣j⟩=∑i⟨i∣ρ2∣i⟩=Tr⁡(ρ2).\begin{aligned} &\operatorname{Tr} \left[ S(\rho\otimes\rho) \right] \\ &= \sum_{i,j} \langle ij\rvert S(\rho\otimes\rho) \lvert ij\rangle \\ &= \sum_{i,j} \langle j\rvert\rho\lvert i\rangle \langle i\rvert\rho\lvert j\rangle \\ &= \sum_i \langle i\rvert\rho^2\lvert i\rangle \\ &= \operatorname{Tr}(\rho^2). \end{aligned}

The swap expectation on two copies is therefore the purity.