Haar-random quantum states and unitaries
Haar randomness is the basis-invariant probability measure on a compact unitary group, inducing a uniform measure on pure-state rays.
On this page
Definition and meaning
A Haar-distributed unitary has a distribution unchanged by multiplication by any fixed unitary on either side. Applying such a unitary to a fixed pure state induces the unitarily invariant pure-state distribution. Uniform here refers to this invariant measure, not to drawing every displayed amplitude or angle independently from an ordinary uniform interval.
Random-state models are useful for average-case statements, benchmarking theory and concentration phenomena. They are not automatically accurate models of states produced by short physical circuits.
Fully solved qubit sampling
On the Bloch sphere, choose phi uniformly from 0 to 2pi and z=cos(theta) uniformly from -1 to 1. Then |psi>=sqrt((1+z)/2)|0>+e^(i phi)sqrt((1-z)/2)|1> has the invariant qubit distribution. Choosing theta uniformly instead would overrepresent the poles relative to sphere area.
For this distribution, p_Z(0)=(1+z)/2 is uniform from zero to one. Its mean is one half and variance is 1/12. Yet every sampled state is pure with purity one. Averaging their density operators gives I/2, whose purity is one half. Averaging purity and taking purity of the average are different operations.
General construction and limits
A normalized vector of independent complex Gaussian components yields a Haar-random pure state. The Gaussian variances cancel under normalization if all components share the same isotropic distribution. This is a mathematical sampling method, not a visitor coding exercise.
Approximate unitary designs reproduce selected moments of Haar measure without requiring exact Haar sampling. Their order and approximation error must be stated; a random-looking circuit is not automatically a certified design.
A probability law for individual amplitudes
Write a random complex Gaussian vector as z_j=x_j+i y_j, with independent identically distributed real and imaginary Gaussian parts of equal variance. The joint distribution depends only on sum |z_j|², so rotating the vector by any unitary leaves its distribution unchanged. Dividing by its norm removes the radial variable and leaves the invariant distribution of directions. A zero Gaussian vector has probability zero, so normalization is defined almost surely.
After a common scale choice, the squared magnitudes r_j=|z_j|² are independent exponential variables. The normalized probabilities p_j=r_j/sum_k r_k are uniformly distributed on the probability simplex, with the complex relative phases uniform as well. Integrating over the remaining simplex coordinates gives the marginal density f(p)=(d−1)(1−p)^(d−2), for 0≤p≤1 and d≥2. The constant follows because the integral of (1−p)^(d−2) is 1/(d−1).
Integrating p and p² against this density gives E p=1/d and E p²=2/[d(d+1)]. Hence Var(p)=(d−1)/[d²(d+1)]. For a qutrit, f(p)=2(1−p), the mean is 1/3, the variance is 1/18, and the probability of p>4/5 is (1/5)²=1/25. The three probabilities are not independent: their sum is exactly one, and their pairwise covariance is −1/[d²(d+1)].
The second moment determines an average subsystem purity
For P=|psi><psi|, the invariant second moment is E(P tensor P)=(I+F)/[d(d+1)], where F exchanges the two copies. One way to determine the expression is to use invariance and the fact that every vector psi tensor psi is symmetric. The average is proportional to the symmetric projector; unit trace fixes the denominator. This is a statement about two identical copies of the same random state, not two independently sampled states.
Now let the total space have factors A and B with dimensions a and b, and draw a global pure state invariantly. Its reduced purity is Tr[(F_A tensor I_BB)(P tensor P)], with copy factors arranged consistently. Applying the second-moment formula produces two traces. The identity term contributes a b², while the total-copy swap F_A tensor F_B contributes a² b. Dividing by ab(ab+1) gives E Tr(rho_A²)=(a+b)/(ab+1).
For a qubit joined to a qutrit, the mean local purity is 5/7. The mean local state is I2/2, whose purity is 1/2. The difference 3/14 equals E||rho_A−I2/2||_F². It quantifies fluctuations around the mean state and explains why averaging states before taking purity loses information. The average entropy cannot be obtained simply by inserting this mean purity into a qubit entropy formula, because entropy is nonlinear in the random eigenvalues.
Correlations among random columns and copies
Two independently drawn invariant pure states have mean squared overlap 1/d. This follows by fixing the first state using unitary invariance and averaging the second projector to I/d. Two different columns of the same Haar unitary instead have overlap exactly zero. Each individual column has the same invariant distribution, but the columns are jointly constrained by orthogonality. Marginal distributions alone do not specify the correlations of a random construction.
Similarly, if the same random state is prepared twice, E(P tensor P) is supported on the symmetric subspace. If the state is redrawn independently for each system, the average is I/d tensor I/d and has an antisymmetric component. For two qubits the antisymmetric measurement has probability zero in the shared-draw case and 1/4 in the independent-draw case. Averaging away the random label therefore does not erase the physical distinction between common and independent randomness.
What invariant models do and do not establish
The invariant distribution concerns the full unitary group or the associated ray space. Restricting to real amplitudes, a fixed particle-number sector, a product-state family, or a short circuit changes the ensemble. Some low-order moments can nevertheless agree, which is the purpose of a design condition. Agreement at second order does not imply agreement of every tail probability or high-order correlation.
An average over invariant states is also not a claim that an individual state can be efficiently described or prepared. The number of continuous parameters still grows with Hilbert-space dimension. These formulas are exact ensemble statements within finite dimensions; using them for a physical source requires a separate justification of its distribution and constraints.
Sources
Verification scope
The Theory of Quantum Information, Chapter 1: Mathematical preliminaries
John Watrous · · Textbook material · cs.uwaterloo.caCitation 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.
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
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
Selected text checked ·
Selected full-text symmetric projector, dimension formula, uniform spherical versus Haar unitary measure and Lemma 7.24 tensor moments inspected. Definition7.48 and its pure-input minimization statement inspected as the precise anchor for minimum output von Neumann entropy.
The chapter is an authoritative author manuscript, not a primary historical source for every theorem. Only selected scopes were checked. The second-moment gate-fidelity derivation and numerical examples are original; source root-fidelity conventions elsewhere are not silently imported.