Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Hilbert space

A Hilbert space is a complete inner-product vector space and supplies the mathematical state space of a quantum system.

Also called quantum state space

Edition released Coverage: Overview · Technical · Research
On this page

Definition and purpose

A Hilbert space is a vector space with an inner product in which every Cauchy sequence converges in the induced norm. Finite-dimensional complex vector spaces are automatically complete. The extra condition becomes important for wavefunctions and other infinite-dimensional systems. A qubit uses a two-dimensional Hilbert space; n distinguishable qubits use a tensor product of dimension 2^n.

The space contains mathematical vectors, while physical pure states are rays: nonzero vectors differing only by an overall nonzero scalar represent the same ray after normalization. Thus the space of physical pure states is not simply every raw coordinate vector independently.

Fully solved dimension example

A qubit combined with a qutrit has dimension 2 times 3=6, with basis |00>,|01>,|02>,|10>,|11>,|12> in the declared factor order. A normalized vector has six complex coefficients, giving twelve real numbers before constraints. Normalization removes one real degree of freedom and global phase another, leaving ten independent real parameters for a generic pure state.

A general density operator on the same space is a 6 by 6 Hermitian trace-one matrix and has 6^2-1=35 independent real parameters before positivity restricts their allowed region. These counts describe mathematical representations, not the number of classical bits obtainable from one measurement.

Direct sums and tensor products

A direct sum joins alternative subspaces and adds dimensions; a tensor product combines subsystems and multiplies dimensions. A three-level physical device with a two-level computational subspace is not the same structure as two separate qubits. Leakage is naturally described by leaving the chosen subspace.

Limits and relationships

Continuous-variable systems require infinite-dimensional Hilbert spaces, often with practical energy cutoffs for numerical work. A cutoff can alter predictions and must be checked for convergence. Identical particles and superselection rules may restrict which vectors or operations are physically accessible within a formal space.

Completeness is a property of limits, not of dimension counting

An inner-product space becomes a Hilbert space when every Cauchy sequence converges to an element of that same space. The condition matters in infinite dimensions because a perfectly controlled sequence of approximations can converge to an object missing from the initially chosen collection. Finite-dimensional inner-product spaces already have this completeness property.

Consider ordinary polynomials on [0,1] with the inner product obtained by integrating f(x)*g(x). The Taylor polynomials p_N(x) = Σₖ₌₀ᴺ xᵏ/k! converge uniformly to eˣ. On this interval their remainder is at most e/(N+1)!, so their integrated squared error also tends to zero. They form a Cauchy sequence in the induced norm, yet their limit is not a polynomial. The polynomial space alone is therefore incomplete in this norm.

Completing it supplies the relevant square-integrable limits, with functions identified when they differ only on a set of measure zero. A Hilbert-space vector is then an equivalence class for this norm, not a requirement to choose a pointwise value at every coordinate. This distinction helps explain why changing a wavefunction at one isolated position need not change the physical state represented in L².

An exact infinite-state truncation example

Let {|n⟩: n = 0,1,2,…} be an orthonormal countable basis and set c_n = √3/2ⁿ⁺¹. The probability of level n is 3/4ⁿ⁺¹. The geometric series sums to one, so |ψ⟩ = Σ_n c_n|n⟩ is a normalized vector even though infinitely many coefficients are nonzero.

Retain only levels zero through N−1. Their total probability is w_N = 1−4⁻ᴺ, and the normalized projected state is |ψ_N⟩ = P_N|ψ⟩/√w_N. Its squared fidelity with the original state is w_N. For these two pure states the trace distance is √(1−w_N) = 2⁻ᴺ. Thus the omitted probability and the distinguishability error have different numerical scales.

The original mean occupation is Σ_n n·3/4ⁿ⁺¹ = 1/3. The discarded contribution to that mean is 4⁻ᴺ(N+1/3), obtained by shifting n = N+k in the tail and evaluating the geometric sum and its first moment. This is an energy-weighted tail, not just the discarded probability 4⁻ᴺ.

For N = 4, the discarded probability is 1/256, the trace distance is 1/16, and the discarded occupation contribution is 13/768. The retained unnormalized occupation is 1/3−13/768 = 81/256. Dividing by the retained probability 255/256 gives the normalized truncated mean 27/85. Renormalization must be included when comparing expectation values of the actual normalized approximation.

Small state distance need not control an unbounded observable

For integer m at least two, define |φ_m⟩ = √(1−1/m)|0⟩+|m²⟩/√m. Its trace distance from |0⟩ is 1/√m, which tends to zero. Nevertheless its mean occupation is (1/m)m² = m, which diverges. An increasingly small amount of probability has been moved to an increasingly high level.

This example does not contradict the operational meaning of trace distance. Every fixed measurement event has a probability difference bounded by that distance. The mean occupation combines outcomes weighted by arbitrarily large numbers, so it is not a bounded effect. Uniform control of an unbounded energy expectation needs an additional tail or moment condition.

For a bounded observable A, the inequality |tr[A(ρ−σ)]| ≤ ‖A‖∞‖ρ−σ‖₁ supplies a direct expectation bound. No finite operator norm exists for the unrestricted number operator. A numerical cutoff can therefore be justified for selected probabilities while remaining insufficient for high-energy moments. The intended observable determines which convergence statement is useful.

Vector convergence also controls every fixed overlap

If normalized vectors ψ_N converge to ψ in Hilbert norm, then for any fixed normalized φ the overlap error is at most ‖ψ_N−ψ‖ by Cauchy–Schwarz. The corresponding probability difference is at most 2‖ψ_N−ψ‖, because |a|²−|b|² factors into terms bounded by |a−b| and |a|+|b| ≤ two. This elementary bound explains why norm convergence is useful for fixed rank-one measurement outcomes. It also identifies the missing ingredient in the high-occupation counterexample: an unbounded weighted sum of outcomes cannot be bounded by the same fixed-event argument without controlling the weights or their tail.

Generalized eigenstates and the physical state space

An ideal position ket |x⟩ is a generalized eigenvector used in distributional formulas. Its delta-function normalization is not the ordinary norm of a square-integrable state. Normalizable wave packets are obtained by integrating such labels with suitable amplitudes. Treating a single position eigenket as an ordinary unit vector obscures this distinction.

A plane wave on a finite periodic interval can be normalized because the interval has finite length. The same constant-magnitude expression over the entire real line is not square integrable. Changing the domain and boundary conditions changes the mathematical status of the expression; it does not merely change a normalization constant in an otherwise identical Hilbert space.

The geometric probability tail and the occupation-weighted tail control different errors at the same cutoff N = 4. The example with a small population at level m² shows why norm closeness does not by itself control mean occupation. Hilbert-space dimension counts independent state directions.

Sources

  • John Watrous · · Textbook material · cs.uwaterloo.ca
    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.

  • John Preskill · · Lecture or course notes · preskill.caltech.edu
    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.

  • Casey Rodriguez (course instructor; MIT course notes) · · Lecture or course notes · ocw.mit.edu
    Verification scope

    Selected text checked ·

    Official instructor/course/date metadata and full-text definitions 128 and 133, equivalence modulo measure-zero sets, normed-space structure and Riesz–Fischer completeness statement inspected.

    The source contains exercise prompts and typographical slips outside the selected scope; these are not reproduced. In particular, no reliance is placed on the displayed inequality direction in Corollary 137. The encyclopedia keeps its physics inner-product convention linear in the ket.

  • Casey Rodriguez (course instructor; MIT course notes) · · Lecture or course notes · ocw.mit.edu
    Verification scope

    Selected text checked ·

    Full-text completeness definition, finite-dimensional and l2/L2 examples, parallelogram law, countable dense subsets, polynomial density on bounded intervals and Bessel inequality inspected.

    The lecture uses an inner product linear in its first slot; encyclopedia formulas use the physics convention linear in the ket. The Taylor-polynomial counterexample, occupation tails and error calculations are original additions and separately checked.

  • Richard Melrose · · Lecture or course notes · ocw.mit.edu
    Verification scope

    Selected text checked ·

    Title-page edition/version dates and full-text Hilbert-space weak-convergence section, norm-convergence implication, component convergence with boundedness, and finite-dimensional approximation context inspected. Additional selected definitions and statements in Chapters 1–4 inspected: Banach duals, quotient spaces, Baire and bounded-operator theorems, graph norms, compactness, Hilbert-Schmidt and trace-class operators, Fredholm theory, measure/integration convergence, Fourier transform and series, convolution, weak derivatives, Sobolev/Schwartz spaces, tempered distributions, boundary-value domains and Poisson summation. Elementary definitions are paraphrased independently; these selected scopes do not imply a line-by-line review of every theorem.

    Edition date, revision date, and PDF run date are kept distinct. Broader elementary definitions are background anchors; no claim of exhaustive review of the 176-page notes or every unbounded-operator theorem. Physics inner-product convention retained.