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.

Helpful background. Density operators defines positivity, trace, and spectral decomposition. We use finite dimensions except in the final qualification.

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.t\gamma(\rho_1) +(1-t)\gamma(\rho_2) -\gamma(\rho_t) = t(1-t) \operatorname{Tr} \left[ (\rho_1-\rho_2)^2 \right] \ge0.

Randomly forgetting which of two preparations occurred cannot increase purity beyond the probability-weighted average of the component purities. General channels can increase or decrease purity: a reset channel can turn I/dI/d into a pure state, whereas dephasing can turn a coherent pure state into a mixture. Conditioning on an outcome can also change purity, but a normalized conditional update is not generally a linear trace-preserving channel.

Purity is useful but not a complete description of a mixed state. For dimensions greater than two, different spectra can share the same value of Tr⁡(ρ2)\operatorname{Tr}(\rho^2). For a qubit, purity does fix the two eigenvalues, but it does not fix their eigenvectors.

If a rank-one state is written as ρ=tρ1+(1−t)ρ2\rho=t\rho_1+(1-t)\rho_2 with 0<t<10<t<1, its expectation on any vector orthogonal to its ray is zero. Positivity forces both component states to have zero support there, so each must be the same rank-one projector. Conversely, a mixed state’s spectral decomposition gives a nontrivial convex combination. This proves the extreme-point criterion.

The state ∣+⟩=(∣0⟩+∣1⟩)/2|+\rangle=(|0\rangle+|1\rangle)/\sqrt2 is pure, with purity one. An equal mixture of ∣0⟩|0\rangle and ∣1⟩|1\rangle is I/2I/2, with purity 1/21/2. Both give equal computational-basis probabilities, but an XX measurement gives ++ with probabilities one and one half respectively. Classical mixtures versus quantum superpositions develops the interference comparison.

The number of preparation labels alone does not determine purity. For ρ=p∣a⟩⟨a∣+(1−p)∣b⟩⟨b∣\rho=p|a\rangle\langle a|+(1-p)|b\rangle\langle b| with normalized kets,

Tr⁡ρ2=p2+(1−p)2+2p(1−p)∣⟨a∣b⟩∣2.\operatorname{Tr}\rho^2=p^2+(1-p)^2 +2p(1-p)|\langle a|b\rangle|^2.

Orthogonal preparations give the smallest purity at fixed pp; identical rays keep the state pure. Exercise 3 gives a nonorthogonal example.

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 independently and identically prepared copies.

For two copies in the product state ρ⊗ρ\rho\otimes\rho, 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. In finite dimensions, as temperature approaches zero from above, 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.

Reading mixedness from matrix appearance. Every density operator is diagonal in an eigenbasis. A pure state can have many nonzero off-diagonal entries in another basis; its rank and purity are unchanged.

Using a zero determinant as a purity test. In dimension greater than two, a mixed state can have a zero eigenvalue. Check rank one or, for an already valid density operator, unit purity.

Calling purity a complete state description. Many different states have the same purity. Even a qubit’s Bloch direction is not determined by its Bloch radius.

Assuming equal marginals make independent copies. The swap identity requires the product preparation ρ⊗ρ\rho\otimes\rho. Correlations between the two preparations can change its expectation, as the last exercise shows.

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.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), Sec. 2.4.
  • A. Peres, Quantum Theory: Concepts and Methods, Kluwer Academic (1995), Ch. 5.
  • J. Watrous, The Theory of Quantum Information, Cambridge University Press (2018), Ch. 2.
  1. A proposed qutrit state is R=diag⁡(2/3,2/3,−1/3)R=\operatorname{diag}(2/3,2/3,-1/3). A calculation finds Tr⁡R=Tr⁡(R2)=1\operatorname{Tr}R=\operatorname{Tr}(R^2)=1 and declares it pure. Diagnose the error and give a measurement outcome that exposes it. Which hypothesis of the purity criterion was omitted?
Solution

The two traces are indeed one, since 2/3+2/3−1/3=12/3+2/3-1/3=1 and 4/9+4/9+1/9=14/9+4/9+1/9=1. But RR is not positive: the projector onto its third basis ket would have probability −1/3-1/3. The criterion Tr⁡(ρ2)=1\operatorname{Tr}(\rho^2)=1 assumes that ρ\rho is already a valid density operator. In its spectral proof, positivity prevents cancellation among the products λrλs\lambda_r\lambda_s. Here R2≠RR^2\ne R, so idempotency also fails. Trace and purity are useful diagnostics, not substitutes for positivity.

  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. A source prepares ∣0⟩|0\rangle or ∣+⟩|+\rangle with equal probability. Find its density matrix and purity. Why is the purity greater than that of an equal mixture of ∣0⟩|0\rangle and ∣1⟩|1\rangle?
Solution

The density matrix is

ρ=12∣0⟩⟨0∣+12∣+⟩⟨+∣=(3/41/41/41/4).\rho=\frac12|0\rangle\langle0|+\frac12|+\rangle\langle+| =\begin{pmatrix}3/4&1/4\\1/4&1/4\end{pmatrix}.

Directly squaring gives Tr⁡ρ2=3/4\operatorname{Tr}\rho^2=3/4. Equivalently, the overlap is ∣⟨0∣+⟩∣2=1/2|\langle0|+\rangle|^2=1/2, so the ensemble formula gives 1/4+1/4+1/4=3/41/4+1/4+1/4=3/4. The preparation alternatives are not fully distinguishable. An equal mixture of orthogonal kets instead has purity 1/21/2.

  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 independently prepared copies is therefore the purity. This independence matters: the correlated state 12∣00⟩⟨00∣+12∣11⟩⟨11∣\tfrac12|00\rangle\langle00|+\tfrac12|11\rangle\langle11| has swap expectation one, although each marginal is I/2I/2 with purity 1/21/2.