The Bloch Ball & Purity
The Bloch Ball & Purity
In Course 1.2 you learned that every pure qubit state lives on the surface of the Bloch sphere. Density matrices complete the picture: every qubit state — pure or mixed — is a point in the solid Bloch ball. Pure states are the skin (), mixed states fill the interior, and the maximally mixed state sits dead center. This is not a cute analogy: the entire single-qubit state space is a unit ball in , the algebra is an exact dictionary , and purity is a one-line function of the radius. It is the geometry you will reason with for every qubit noise channel in Term 4.
Learning Objectives
After this lesson you will be able to:
- Derive the single-qubit form from Hermiticity and unit trace using the Pauli basis.
- Identify the Bloch vector and recover it from via .
- Prove the constraint from positivity, and that iff is pure.
- Derive the purity identity and use it to classify states.
- Connect the Bloch ball to the pure-state Bloch sphere of Course 1.2, mapping mixed states inward toward the center.
Intuition
A single qubit's density matrix is a Hermitian matrix with trace . Count its real degrees of freedom: a Hermitian matrix has real parameters (two real diagonal entries, one complex off-diagonal), and fixing the trace to removes one — leaving exactly . Three real numbers, one constraint to keep eigenvalues nonnegative: that is precisely the data of a point inside a ball in . The Pauli matrices are the natural axes for that space, and the three coordinates are the expectation values $\langle X\rangle, \langle Y\rangle, \langle Z\rangle$ — directly measurable.
Geometrically: pure states are the extreme points of the convex state set (Lesson 1), and the extreme points of a ball are its surface — the sphere of Course 1.2. Mixing pure states means taking convex combinations, which move you inside the ball. The deepest interior point, reachable from every antipodal pair , is the center — maximal mixing, total ignorance. Purity, which Lesson 1 defined abstractly, becomes literally "how far from the center are you," squared.
Theory
Deriving
We use the key fact from Appendix E §1: the Pauli set is an orthogonal basis for the real vector space of Hermitian matrices, under the Hilbert–Schmidt inner product , with
Step 1 — Hermiticity gives a real Pauli expansion. Since (Lesson 1) and any Hermitian matrix is a real linear combination of the Pauli basis, write
(Reality of the coefficients is exactly what Hermiticity buys: are Hermitian, and a complex coefficient on a Hermitian matrix would break .)
Step 2 — Unit trace fixes . Take the trace of both sides and use $\operatorname{Tr}\sigma_j = 0$:
Step 3 — extract the Pauli coefficients by orthogonality. Multiply by and trace, using and :
Step 4 — name the coordinates. By the expectation formula of Lesson 1, . Define the Bloch vector , so . Substituting and :
This is an exact, invertible dictionary: every qubit density matrix a vector . Writing it out as a matrix,
The diagonal carries the -statistics (, ) and the off-diagonal carries the coherences.
The positivity constraint:
Hermiticity and unit trace are automatic in the parametrization; the remaining requirement, , is what carves out the ball.
Proposition. is a valid density operator (i.e. ) iff .
Proof. A Hermitian matrix is positive semidefinite iff and (then both eigenvalues are ). The trace is , so positivity reduces to . Compute the determinant from the matrix form:
Hence . ∎
So the single-qubit state space is exactly the closed unit ball ${\vec r\in\mathbb R^3 : |\vec r|\le1}\operatorname{Tr}\rho = \lambda_+ + \lambda_- = 1\det\rho = \lambda_+\lambda_- = \tfrac14(1 - |\vec r|^2)$,
which are manifestly valid probabilities precisely when .
Pure on the sphere, mixed inside, maximally mixed at the center
The eigenvalues instantly classify every qubit state by radius:
| | Eigenvalues | State | |---|---|---| | (surface) | | pure | | (interior) | , both in | mixed | | (center) | | maximally mixed, |
Pure ⟺ surface. is pure iff .
Proof. pure one eigenvalue is and the other (Lesson 1) , i.e. . ∎ At the center , the formula gives directly — the maximally mixed state of Lessons 1–2 (and the Bell reduced state).
This is the Bloch sphere of Course 1.2, now seen as a boundary. There, a pure qubit sits at the unit-sphere point ; you can check , etc., so that is exactly the Bloch vector with . Density matrices add the radial direction: the interior. A mixed state with Bloch vector () points in the same direction as the pure state on the surface but is "shrunk" toward the center by the factor — the geometric meaning of decoherence.
Purity as a quadratic in the radius
Finally, the abstract purity of Lesson 1 becomes a clean function of .
Purity–radius identity.
Proof (algebraic). Square the parametrization and expand using — which follows from (Appendix E §1): the symmetric sum kills the antisymmetric term, leaving $\sum_{jk}r_j r_k\sigma_j\sigma_k = \sum_{jk}r_j r_k\delta_{jk}I = |\vec r|^2 I$. Then
Take the trace, using and :
Consistency check (eigenvalues). $\operatorname{Tr}(\rho^2) = \lambda_+^2 + \lambda_-^2 = \big(\tfrac{1+|\vec r|}{2}\big)^2 + \big(\tfrac{1-|\vec r|}{2}\big)^2 = \tfrac{2 + 2|\vec r|^2}{4} = \tfrac12(1 + |\vec r|^2)d = 2|\vec r| = 1$, purity (pure); at , purity (maximally mixed). Purity is a monotonic dial on the radius — knowing is equivalent to knowing $|\vec r| = \sqrt{2\operatorname{Tr}(\rho^2) - 1}$, the distance from center.
Worked Examples
Example 1 — From to to classification
Let \rho = \begin{psmallmatrix} 3/4 & 1/4 \\ 1/4 & 1/4 \end{psmallmatrix} (Hermitian, trace ). Read off the Bloch vector via , or directly by matching to the matrix form \rho = \tfrac12\begin{psmallmatrix}1+r_z & r_x - ir_y\\ r_x + ir_y & 1 - r_z\end{psmallmatrix}:
So and $|\vec r| = \sqrt{\tfrac14 + \tfrac14} = \tfrac1{\sqrt2}\approx 0.707 < 1$ — a mixed interior state. Purity:
Cross-check directly: $\rho^2 = \begin{psmallmatrix}3/4&1/4\1/4&1/4\end{psmallmatrix}^2 = \begin{psmallmatrix}10/16 & 4/16\ 4/16 & 2/16\end{psmallmatrix}= \tfrac{12}{16} = \tfrac34$. ✓ Eigenvalues , both in — consistent with "mixed."
Example 2 — Decoherence as radial shrinkage
Start from the pure equator state , with on the surface ($\langle X\rangle = 10$). Suppose a dephasing process (Term 4 preview) damps the off-diagonal coherence by a factor :
The Bloch vector keeps its direction but its length collapses from to : the state slides straight in from the surface point toward the center along the -axis. Purity tracks the radius exactly:
falling from (pure , ) to (maximally mixed, ). This single picture — coherence loss = radial shrinkage = purity decrease — is the geometric heart of how noise acts on a qubit, and you will meet it formally as the dephasing channel in Term 4.
Hands-on (Python)
We build the exact dictionary both directions, compute purity from the radius, and classify states.
import numpy as np
I = np.eye(2, dtype=complex)
X = np.array([[0, 1], [1, 0]], dtype=complex)
Y = np.array([[0, -1j], [1j, 0]], dtype=complex)
Z = np.array([[1, 0], [0, -1]], dtype=complex)
PAULI = [X, Y, Z]
def bloch_vector(rho):
"""r_k = Tr(ρ σ_k) = ⟨σ_k⟩, for k = x, y, z. (Real for a valid state.)"""
return np.array([np.trace(rho @ s).real for s in PAULI])
def density_from_bloch(r):
"""ρ = ½ (I + r·σ). Valid density matrix iff |r| ≤ 1."""
rx, ry, rz = r
return 0.5 * (I + rx * X + ry * Y + rz * Z)
def purity(rho):
return np.trace(rho @ rho).real# Round-trip the dictionary: ρ -> r -> ρ.
rho = np.array([[3/4, 1/4], [1/4, 1/4]], dtype=complex) # Worked Example 1
r = bloch_vector(rho)
print("Bloch vector r =", np.round(r, 4)) # [0.5 0. 0.5]
print("round-trip ok?", np.allclose(density_from_bloch(r), rho)) # True
print("|r| =", round(np.linalg.norm(r), 4)) # 0.7071
print("purity (from radius) =", 0.5 * (1 + np.linalg.norm(r)**2)) # 0.75
print("purity (direct) =", round(purity(rho), 4)) # 0.75 -> identity confirmeddef classify(rho, tol=1e-9):
"""Classify a single-qubit state by its Bloch radius."""
r_norm = np.linalg.norm(bloch_vector(rho))
if r_norm > 1 + tol:
return "INVALID (|r| > 1, not positive semidefinite)"
if abs(r_norm - 1) <= tol:
return "pure (on the Bloch sphere)"
if r_norm <= tol:
return "maximally mixed (center, I/2)"
return "mixed (inside the Bloch ball)"
states = {
"|0⟩": density_from_bloch([0, 0, 1]), # north pole, pure
"|+⟩": density_from_bloch([1, 0, 0]), # equator, pure
"I/2": density_from_bloch([0, 0, 0]), # center, maximally mixed
"WE1 mixed": np.array([[3/4, 1/4], [1/4, 1/4]], dtype=complex),
}
for name, rho in states.items():
print(f"{name:10s} |r|={np.linalg.norm(bloch_vector(rho)):.3f} "
f"purity={purity(rho):.3f} -> {classify(rho)}")# Decoherence as radial shrinkage (Worked Example 2): |+⟩ dephasing toward center.
for p in [1.0, 0.7, 0.3, 0.0]:
rho_p = density_from_bloch([p, 0, 0]) # ρ = ½(I + p X)
print(f"p={p:.1f} |r|={p:.1f} purity={purity(rho_p):.3f} "
f"(= ½(1+p²) = {0.5*(1+p*p):.3f})")
# Coherence damps -> Bloch vector shrinks along x -> purity falls 1.0 → 0.5.
# A point with |r| > 1 is NOT a valid state (eigenvalue would be negative):
bad = density_from_bloch([1.0, 1.0, 0.0]) # |r| = √2 > 1
print("eigvals of an invalid 'state':", np.round(np.linalg.eigvalsh(bad), 3)) # one < 0Geometry, not metaphor.
bloch_vectoranddensity_from_blochare exact inverses on valid states — the Bloch ball is a faithful coordinate system for the qubit, not a visualization aid. Every single-qubit noise channel in Term 4 is, geometrically, an affine map of the ball (a shrink + shift of ); having the dictionary in code means you can read off purity and validity for any of them with the functions above.
Exercises
E1 (easy). Find the Bloch vectors of , , , , , . Confirm each has .
Solution
Using (or matching matrices): , , , , , . These are the six poles of the three Pauli axes (Appendix C), each with — all pure, all on the sphere, as expected.
E2 (easy). A qubit has Bloch vector . Write as a matrix, compute its purity two ways, and classify it.
Solution
\rho = \tfrac12(I + 0.6\,Z) = \begin{psmallmatrix}0.8 & 0\\ 0 & 0.2\end{psmallmatrix}. Purity from the radius: . Directly: . ✓ Since , it is a mixed interior state (eigenvalues ).
E3 (medium). Prove that the eigenvalues of are , and use this to re-derive $\operatorname{Tr}(\rho^2) = \tfrac12(1 + |\vec r|^2)$.
Solution
with , and (from ), so has eigenvalues . Hence has eigenvalues , and $\rho = \tfrac12(I + \vec r\cdot\vec\sigma)\tfrac{1\pm|\vec r|}{2}\operatorname{Tr}(\rho^2) = \big(\tfrac{1+|\vec r|}{2}\big)^2 + \big(\tfrac{1-|\vec r|}{2}\big)^2 = \tfrac{2 + 2|\vec r|^2}{4} = \tfrac12(1 + |\vec r|^2)$. ∎
E4 (medium). Show that the Bloch vector of a 50/50 mixture of two pure states with Bloch vectors , (both on the sphere) is , and that the result is pure iff . Interpret geometrically.
Solution
If and , then , so the mixture's Bloch vector is the midpoint — convex mixing of states is convex combination of Bloch vectors (the map is affine). With , iff point the same way (the triangle inequality is tight only when collinear and equal), i.e. iff . Geometrically: the chord between two distinct surface points lies strictly inside the ball, so any nontrivial mixture is mixed; antipodal points () mix to the center .
E5 (hard). Prove that is a valid density operator iff without computing the determinant — instead use the eigenvalue characterization of positivity directly.
Solution
iff both eigenvalues are . As in E3, the eigenvalues are $\lambda_\pm = \tfrac{1\pm|\vec r|}{2}(\hat n\cdot\vec\sigma)^2 = I \Rightarrow\pm1$ of ). The smaller one is , which is iff ; always. Hermiticity and $\operatorname{Tr}\rho = 1\rho|\vec r|\le1$. ∎ (This matches the determinant route, since .)
E6 (hard). The trace distance between two qubit states is $D(\rho,\sigma) = \tfrac12\operatorname{Tr}|\rho - \sigma|\rho - \sigma$). Show that for single qubits — i.e. trace distance is just half the Euclidean distance between Bloch vectors.
Solution
with . This is traceless Hermitian; as in E3 its eigenvalues are (eigenvalues of are ). The singular values are the absolute eigenvalues , so and . ∎ So the Bloch ball with half the Euclidean metric is the trace-distance geometry — distinguishability of qubit states is literally how far apart their Bloch vectors are. (Trace distance is developed in Term 4 / [Wil].)
Checkpoint
- Derive from Hermiticity and unit trace. How do you extract from ?
- Why is the single-qubit state space a ball of radius ? Where does come from?
- Which states are on the surface, in the interior, and at the center?
- State and derive the purity–radius identity, and give purity at .
- How does the Bloch ball relate to the pure-state Bloch sphere of Course 1.2?
Answers
- Hermiticity with real coefficients; unit trace fixes ; orthogonality gives $a_k = \tfrac12\operatorname{Tr}(\rho\sigma_k) = \tfrac12 r_kr_k = \operatorname{Tr}(\rho\sigma_k) = \langle\sigma_k\rangle$.
- Positivity is the only remaining constraint; (equivalently ) forces — the closed unit ball.
- Surface : pure; interior : mixed; center : maximally mixed .
- (square , use $(\vec r\cdot\vec\sigma)^2 = |\vec r|^2 I\tfrac12|\vec r| = 0\tfrac58|\vec r| = \tfrac12$; at .
- The sphere () is the pure-state boundary of Course 1.2; the ball adds the radial direction for mixed states, which point the same way but are shrunk toward the center as they lose purity/coherence.
Further Reading
- [NC] Nielsen & Chuang, §2.4.2 and Exercise 2.72 — the Bloch-vector form $\rho = \tfrac12(I + \vec r\cdot\vec\sigma)|\vec r|\le1$ condition.
- [Pre] Preskill, Ph219, Ch. 2–3 — the Bloch ball, purity, and (forward to) qubit channels as affine maps of the ball.
- [Wil] Wilde, Quantum Information Theory, Ch. 4–9 — trace distance and the Bloch picture.
- Appendix E §1, §3 — Pauli completeness, $(\vec r\cdot\vec\sigma)^2 = |\vec r|^2 I$, and rotation exponentials.
← Prev: Partial Trace & Reduced States · Up: Term 1 · Next: Time Evolution →