Skip to content
The Lumenary
First-year graduateGraduate 150 min

Mathematical foundations of quantum mechanics

States are unit vectors, observables are self-adjoint operators, measured values lie in their spectra — and the functional analysis that makes [X,P]=iℏ[X, P] = i\hbar mean something forces infinite dimensions and unbounded operators.

Formally verified · 14 LeanComputationally tested · 2 PythonAI-drafted · awaiting human reviewMathematically reviewed: Awaiting human review
MotivationH

Why Hilbert spaces?

Heated hydrogen does not glow in all colours. It emits light at sharp wavelengths, which Johann Balmer (1885) fitted by 1/λ=R (1/4−1/n2)1/\lambda = R\,(1/4 - 1/n^2), n=3,4,5,…n = 3, 4, 5, \dots — a law no classical model of an electron orbiting a nucleus could explain, since such an electron should radiate continuously and spiral inwards. The energies of an atom are discrete, and the light it emits carries the differences.

In 1925 Werner Heisenberg replaced electron orbits by arrays of transition amplitudes; Max Born and Pascual Jordan recognised the arrays as infinite matrices and found the rule PQ−QP=h2πiIPQ - QP = \frac{h}{2\pi i} I. In 1926 Erwin Schrödinger found a wave equation whose eigenvalues reproduce the energy levels. The two theories looked nothing alike, until John von Neumann (1932) showed that both are statements about operators on a Hilbert space: matrix mechanics lives on ℓ2\ell^2, wave mechanics on L2(R3)L^2(\R^3), and the two spaces are unitarily isomorphic. Energy levels are points of the spectrum of an operator.

The commutation rule already shows that the mathematics must be infinite-dimensional and delicate. If XX and PP were n×nn \times n matrices, the trace of XP−PXXP - PX would be 00, while the trace of iℏIi\hbar I is iℏni\hbar n. This lesson develops the framework — states, observables, spectra, unitary evolution — and the two most famous consequences: the uncertainty relation and the quantised harmonic oscillator.

IntuitionH

A qubit, then a particle

The smallest example. A qubit (an electron's spin, a photon's polarisation) has state space C2\C^2. A state is a unit vector ψ=αe0+βe1\psi = \alpha e_0 + \beta e_1 with ∣α∣2+∣β∣2=1|\alpha|^2 + |\beta|^2 = 1. Measuring "which basis vector" gives 00 with probability ∣α∣2|\alpha|^2 and 11 with probability ∣β∣2|\beta|^2. Observables are Hermitian matrices; the spin components are the Pauli matrices

σz=(100−1),σx=(0110),σy=(0−ii0).\sigma_z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}, \qquad \sigma_x = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad \sigma_y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}.

Measuring σz\sigma_z gives an eigenvalue ±1\pm 1, with probability ∣⟨v±,ψ⟩∣2|\langle v_\pm, \psi \rangle|^2 for the unit eigenvectors v±v_\pm. The state e0e_0 has a sharp value of σz\sigma_z (+1+1 with certainty) but gives ±1\pm 1 with probability 12\tfrac12 each for σx\sigma_x, whose eigenvectors are (e0±e1)/2(e_0 \pm e_1)/\sqrt 2. The matrices do not commute — σxσz=−σzσx\sigma_x \sigma_z = -\sigma_z \sigma_x — and no state has sharp values for both. Multiplying ψ\psi by a phase eiθe^{i\theta} changes no probability, so states are really unit vectors up to phase; but relative phases matter: (e0+e1)/2(e_0 + e_1)/\sqrt 2 and (e0−e1)/2(e_0 - e_1)/\sqrt 2 have identical σz\sigma_z statistics and opposite values of σx\sigma_x.

A particle on a line. Now the state is a function ψ∈L2(R)\psi \in L^2(\R) with ∫∣ψ∣2=1\int |\psi|^2 = 1, and ∣ψ(x)∣2|\psi(x)|^2 is the probability density of the position. Position acts by multiplication, (Xψ)(x)=xψ(x)(X\psi)(x) = x \psi(x), and momentum by differentiation, Pψ=−iℏψ′P\psi = -i\hbar \psi'; integrating by parts, ⟨ϕ,XPψ⟩−⟨ϕ,PXψ⟩=iℏ⟨ϕ,ψ⟩\langle \phi, XP\psi \rangle - \langle \phi, PX\psi \rangle = i\hbar \langle \phi, \psi \rangle for nice functions: [X,P]=iℏ[X, P] = i\hbar. Neither operator is defined on all of L2L^2 — xψ(x)x\psi(x) need not be square-integrable, and ψ\psi need not be differentiable — and that is not a technicality to be ignored, but the source of real phenomena.

DefinitionsH

Definitions and postulates

Definition— unbounded operators, adjoints, self-adjointness

Let H\mathcal H be a complex Hilbert space (inner product linear in the second slot). An operator AA on H\mathcal H is a linear map from a subspace D(A)D(A), its domain, to H\mathcal H; it is densely defined if D(A)D(A) is dense. Its adjoint A∗A^* has domain D(A∗)={ϕ:ψ↦⟨ϕ,Aψ⟩ is bounded on D(A)}D(A^*) = \{\phi : \psi \mapsto \langle \phi, A\psi \rangle \text{ is bounded on } D(A)\} and is defined by ⟨A∗ϕ,ψ⟩=⟨ϕ,Aψ⟩\langle A^*\phi, \psi \rangle = \langle \phi, A\psi \rangle. The operator is symmetric if ⟨Aϕ,ψ⟩=⟨ϕ,Aψ⟩\langle A\phi, \psi \rangle = \langle \phi, A\psi \rangle for all ϕ,ψ∈D(A)\phi, \psi \in D(A) (that is, A⊆A∗A \subseteq A^*), and self-adjoint if moreover D(A∗)=D(A)D(A^*) = D(A), i.e. A=A∗A = A^* including domains. Its spectrum σ(A)\sigma(A) is the set of λ∈C\lambda \in \C for which A−λA - \lambda is not a bijection from D(A)D(A) onto H\mathcal H with bounded inverse.

For bounded operators defined everywhere, symmetric and self-adjoint mean the same thing (and are often called Hermitian). For unbounded operators they differ, and only self-adjoint operators have real spectrum and a spectral theorem. A basic criterion: a symmetric operator AA is self-adjoint if and only if A±iA \pm i are both surjective (Reed–Simon I, Thm VIII.3).

Definition— projection-valued measure

A projection-valued measure on R\R assigns to each Borel set BB an orthogonal projection E(B)E(B) on H\mathcal H, with E(R)=IE(\R) = I, E(B∩C)=E(B)E(C)E(B \cap C) = E(B) E(C), and ψ↦E(⋅)ψ\psi \mapsto E(\cdot)\psi countably additive. For each unit vector ψ\psi, B↦⟨ψ,E(B)ψ⟩=∥E(B)ψ∥2B \mapsto \langle \psi, E(B)\psi \rangle = \|E(B)\psi\|^2 is then a Borel probability measure on R\R.

Definition— the postulates of quantum mechanics

  1. States. A pure state of a system is a unit vector ψ\psi in a separable complex Hilbert space H\mathcal H, determined up to a phase: really a point of the projective space P(H)\mathbb P(\mathcal H). (Mixed states are density operators: positive trace-class operators of trace 11.)
  2. Observables. An observable is a self-adjoint operator AA on H\mathcal H. By the spectral theorem it has a projection-valued measure EAE_A with A=∫Rλ dEA(λ)A = \int_\R \lambda \, dE_A(\lambda).
  3. Born's rule. Measuring AA in the state ψ\psi gives a result in the Borel set BB with probability ∥EA(B)ψ∥2\|E_A(B)\psi\|^2. Results lie in σ(A)\sigma(A). If ψ∈D(A)\psi \in D(A), the expectation is ⟨A⟩ψ=⟨ψ,Aψ⟩\langle A \rangle_\psi = \langle \psi, A\psi \rangle and the standard deviation is σA=∥(A−⟨A⟩ψ)ψ∥\sigma_A = \|(A - \langle A \rangle_\psi)\psi\|.
  4. Dynamics. There is a self-adjoint Hamiltonian HH (the energy) and states evolve by ψ(t)=e−itH/ℏψ(0)\psi(t) = e^{-itH/\hbar}\psi(0); for ψ(0)∈D(H)\psi(0) \in D(H) this is the Schrödinger equation iℏ ddtψ(t)=Hψ(t)i\hbar \, \frac{d}{dt}\psi(t) = H\psi(t).
  5. Composite systems are described by the tensor product H1⊗H2\mathcal H_1 \otimes \mathcal H_2.

Definition— position, momentum and the commutation relation

On H=L2(R)\mathcal H = L^2(\R), position is (Xψ)(x)=xψ(x)(X\psi)(x) = x\psi(x) with D(X)={ψ:xψ∈L2}D(X) = \{\psi : x\psi \in L^2\}, and momentum is Pψ=−iℏψ′P\psi = -i\hbar\psi' with D(P)=H1(R)D(P) = H^1(\R), the functions ψ∈L2\psi \in L^2 that are absolutely continuous with ψ′∈L2\psi' \in L^2. Both are self-adjoint. With the unitary Fourier transform F\mathcal F, P=F−1MFP = \mathcal F^{-1} M \mathcal F where MM multiplies by ℏk\hbar k. The commutator of two operators is [A,B]=AB−BA[A, B] = AB - BA on D(AB)∩D(BA)D(AB) \cap D(BA); on the Schwartz space S(R)\mathcal S(\R), which both XX and PP map into itself, [X,P]=iℏ[X, P] = i\hbar.

Worked examplesH

Examples

Example— The Bloch sphere

Every unit vector of C2\C^2 is, up to phase, ψ=cos⁡θ2 e0+eiφsin⁡θ2 e1\psi = \cos\frac\theta2 \, e_0 + e^{i\varphi} \sin\frac\theta2 \, e_1, and (θ,φ)(\theta, \varphi) are spherical coordinates of a point n\mathbf n of the unit sphere S2S^2: the projective line P(C2)\mathbb P(\C^2) is a sphere. ψ\psi is the +1+1 eigenvector of the spin observable n⋅σ=nxσx+nyσy+nzσz\mathbf n \cdot \boldsymbol\sigma = n_x \sigma_x + n_y \sigma_y + n_z \sigma_z, and measuring the spin along another unit vector m\mathbf m gives +1+1 with probability 12(1+n⋅m)\frac12 (1 + \mathbf n \cdot \mathbf m). Orthogonal states are antipodal points.

Example— Momentum on an interval: the same formula, different observables

On L2(0,1)L^2(0, 1) (with ℏ=1\hbar = 1) let P0=−iddxP_0 = -i \frac{d}{dx} with domain {ψ∈H1(0,1):ψ(0)=ψ(1)=0}\{\psi \in H^1(0, 1) : \psi(0) = \psi(1) = 0\}. Integration by parts shows P0P_0 is symmetric: ⟨P0ϕ,ψ⟩−⟨ϕ,P0ψ⟩=i[ϕ‾ψ]01=0\langle P_0\phi, \psi \rangle - \langle \phi, P_0\psi \rangle = i\big[\overline\phi \psi\big]_0^1 = 0. But its adjoint is −iddx-i\frac{d}{dx} on all of H1(0,1)H^1(0, 1), with no boundary conditions, so P0P_0 is not self-adjoint; indeed every λ∈C\lambda \in \C is an eigenvalue of P0∗P_0^* (eigenfunction eiλxe^{i\lambda x}), and the spectrum of P0P_0 is all of C\C. For each θ∈[0,2π)\theta \in [0, 2\pi), the operator Pθ=−iddxP_\theta = -i\frac{d}{dx} on {ψ∈H1:ψ(1)=eiθψ(0)}\{\psi \in H^1 : \psi(1) = e^{i\theta}\psi(0)\} is self-adjoint, with eigenfunctions eikxe^{ikx} for k∈θ+2πZk \in \theta + 2\pi\Z. These are physically different observables — a particle on a ring threaded by a magnetic flux sees exactly this θ\theta (the Aharonov–Bohm effect). Domains are part of the physics.

Example— A Gaussian wave packet

Let ψ(x)=(πs2)−1/4e−x2/(2s2)\psi(x) = (\pi s^2)^{-1/4} e^{-x^2/(2s^2)} with s>0s > 0. Then ⟨X⟩=⟨P⟩=0\langle X \rangle = \langle P \rangle = 0, σX2=∫x2∣ψ∣2=s2/2\sigma_X^2 = \int x^2 |\psi|^2 = s^2/2, and σP2=ℏ2∫∣ψ′∣2=ℏ2/(2s2)\sigma_P^2 = \hbar^2 \int |\psi'|^2 = \hbar^2/(2s^2), so σXσP=ℏ/2\sigma_X \sigma_P = \hbar/2 — the minimum allowed by the uncertainty relation below. Under the free Hamiltonian H=P2/2mH = P^2/2m the packet stays Gaussian but spreads: σX(t)2=s22(1+ℏ2t2m2s4)\sigma_X(t)^2 = \frac{s^2}{2}\big(1 + \frac{\hbar^2 t^2}{m^2 s^4}\big), while σP\sigma_P is constant (momentum is conserved). With ℏ=m=s=1\hbar = m = s = 1, ∣ψ(x,t)∣2=(π(1+t2))−1/2e−x2/(1+t2)|\psi(x, t)|^2 = (\pi(1 + t^2))^{-1/2} e^{-x^2/(1 + t^2)}.

ProofH

Observables, spectra and the commutation relation

Theorem— Theorem (observables have real values)

Let AA be symmetric. Then (a) ⟨ψ,Aψ⟩\langle \psi, A\psi \rangle is real for every ψ∈D(A)\psi \in D(A); (b) every eigenvalue of AA is real; (c) eigenvectors for different eigenvalues are orthogonal.

Proof

(a) ⟨ψ,Aψ⟩‾=⟨Aψ,ψ⟩=⟨ψ,Aψ⟩\overline{\langle \psi, A\psi \rangle} = \langle A\psi, \psi \rangle = \langle \psi, A\psi \rangle. (b) If Aψ=λψA\psi = \lambda\psi with ψ≠0\psi \ne 0, then λ∥ψ∥2=⟨ψ,Aψ⟩\lambda \|\psi\|^2 = \langle \psi, A\psi \rangle is real by (a). (c) If Av=λvA v = \lambda v and Aw=μwA w = \mu w with real λ≠μ\lambda \ne \mu, then λ⟨v,w⟩=⟨Av,w⟩=⟨v,Aw⟩=μ⟨v,w⟩\lambda \langle v, w \rangle = \langle Av, w \rangle = \langle v, Aw \rangle = \mu \langle v, w \rangle, so ⟨v,w⟩=0\langle v, w \rangle = 0.

∎

Theorem— Spectral theorem and Born's rule in finite dimensions

If AA is a Hermitian operator on Cn\C^n, there is an orthonormal basis e1,…,ene_1, \dots, e_n of eigenvectors with real eigenvalues λ1,…,λn\lambda_1, \dots, \lambda_n. For a unit vector ψ\psi, the numbers pi=∣⟨ei,ψ⟩∣2p_i = |\langle e_i, \psi \rangle|^2 are a probability distribution and ∑iλipi=⟨ψ,Aψ⟩\sum_i \lambda_i p_i = \langle \psi, A\psi \rangle.

Proof

Over C\C the characteristic polynomial has a root, so AA has an eigenvector e1e_1, normalised. Its orthogonal complement is invariant: if ⟨e1,v⟩=0\langle e_1, v \rangle = 0 then ⟨e1,Av⟩=⟨Ae1,v⟩=λ1⟨e1,v⟩=0\langle e_1, Av \rangle = \langle Ae_1, v \rangle = \lambda_1 \langle e_1, v \rangle = 0. Induct on the dimension, restricting AA to e1⊥e_1^\perp; reality of the eigenvalues is part (b) above. Then ψ=∑i⟨ei,ψ⟩ei\psi = \sum_i \langle e_i, \psi \rangle e_i, so ∑ipi=∥ψ∥2=1\sum_i p_i = \|\psi\|^2 = 1 by Parseval and ⟨ψ,Aψ⟩=∑iλi∣⟨ei,ψ⟩∣2\langle \psi, A\psi \rangle = \sum_i \lambda_i |\langle e_i, \psi \rangle|^2.

∎

Grouping equal eigenvalues, A=∑λλEλA = \sum_\lambda \lambda E_\lambda with EλE_\lambda the orthogonal projection onto the λ\lambda-eigenspace: the projection-valued measure of the postulates, concentrated on finitely many points.

Theorem— Spectral theorem (self-adjoint operators)

Let AA be self-adjoint on a separable Hilbert space H\mathcal H. Then there are a σ-finite measure space (M,μ)(M, \mu), a measurable real function aa on MM and a unitary U:H→L2(M,μ)U : \mathcal H \to L^2(M, \mu) such that UAU−1UAU^{-1} is multiplication by aa, with domain {f:af∈L2(M,μ)}\{f : af \in L^2(M, \mu)\}. Equivalently, there is a unique projection-valued measure EAE_A on R\R with A=∫λ dEA(λ)A = \int \lambda \, dE_A(\lambda), and σ(A)\sigma(A) is the support of EAE_A, a closed subset of R\R.

We do not prove this here; see Hall, Ch. 10, or Reed–Simon I, §VIII.3. The theorem says that every observable is a multiplication operator in suitable coordinates: position already is one, and momentum becomes one after the Fourier transform. Both have spectrum R\R and no eigenvectors in L2L^2 — a "plane wave" eikxe^{ikx} is not a state — which is why the postulates are phrased with spectral measures rather than eigenvectors. The functional calculus f(A)=∫f dEAf(A) = \int f \, dE_A defines e−itH/ℏe^{-itH/\hbar}, A\sqrt{A} and indicator functions EA(B)=1B(A)E_A(B) = \mathbf 1_B(A).

Why not allow unbounded operators everywhere on H\mathcal H? Because there are none that are symmetric.

Theorem— Hellinger–Toeplitz theorem (1910)

A symmetric operator defined on all of a Hilbert space is bounded.

Proof

By the closed graph theorem it suffices to show that the graph of AA is closed. Let xn→xx_n \to x and Axn→yAx_n \to y. For every z∈Hz \in \mathcal H, ⟨y,z⟩=lim⁡⟨Axn,z⟩=lim⁡⟨xn,Az⟩=⟨x,Az⟩=⟨Ax,z⟩\langle y, z \rangle = \lim \langle Ax_n, z \rangle = \lim \langle x_n, Az \rangle = \langle x, Az \rangle = \langle Ax, z \rangle. Hence y=Axy = Ax.

∎

Theorem— Wintner–Wielandt theorem (1947, 1949)

There are no bounded operators X,PX, P on a nonzero complex Banach space with XP−PX=cIXP - PX = c I for a constant c≠0c \ne 0. In finite dimensions, no matrices satisfy it at all.

Proof

Finite dimensions. tr⁡(XP−PX)=tr⁡(XP)−tr⁡(PX)=0\operatorname{tr}(XP - PX) = \operatorname{tr}(XP) - \operatorname{tr}(PX) = 0, while tr⁡(cI)=cn≠0\operatorname{tr}(cI) = cn \ne 0.

Bounded operators (Wielandt's proof). Suppose XP−PX=cIXP - PX = cI. By induction on nn,

XPn+1−Pn+1X=(XPn−PnX)P+Pn(XP−PX)=(n+1)c Pn,XP^{n+1} - P^{n+1}X = (XP^n - P^nX)P + P^n(XP - PX) = (n + 1) c \, P^n,

using the inductive hypothesis XPn−PnX=ncPn−1XP^n - P^nX = ncP^{n-1}. No power of PP is zero: P0=I≠0P^0 = I \ne 0, and if Pn+1=0P^{n+1} = 0 the identity gives (n+1)cPn=0(n+1)cP^n = 0, so Pn=0P^n = 0, and descending we would reach I=0I = 0. Taking norms, with ∥Pn+1∥≤∥Pn∥∥P∥\|P^{n+1}\| \le \|P^n\| \|P\|,

(n+1)∣c∣ ∥Pn∥=∥XPn+1−Pn+1X∥≤2∥X∥∥P∥∥Pn∥.(n + 1) |c| \, \|P^n\| = \|XP^{n+1} - P^{n+1}X\| \le 2 \|X\| \|P\| \|P^n\|.

Dividing by ∥Pn∥>0\|P^n\| > 0 gives (n+1)∣c∣≤2∥X∥∥P∥(n + 1)|c| \le 2\|X\| \|P\| for every nn, which is absurd.

∎

So the canonical commutation relation [X,P]=iℏ[X, P] = i\hbar forces at least one of X,PX, P to be unbounded, and then by Hellinger–Toeplitz it cannot be defined on the whole space. Domains are unavoidable in quantum mechanics, and statements such as [X,P]=iℏ[X, P] = i\hbar hold only on suitable dense subspaces. The Stone–von Neumann theorem (below) explains which representations of the commutation relation are the right ones.

ProofH

Unitary time evolution

Theorem— The Schrödinger equation generates a unitary group

Let HH be self-adjoint and U(t)=e−itH/ℏU(t) = e^{-itH/\hbar} (functional calculus). Then each U(t)U(t) is unitary, U(s+t)=U(s)U(t)U(s + t) = U(s)U(t), t↦U(t)ψt \mapsto U(t)\psi is continuous for every ψ\psi, and for ψ∈D(H)\psi \in D(H) the curve ψ(t)=U(t)ψ\psi(t) = U(t)\psi stays in D(H)D(H) and satisfies iℏ ψ′(t)=Hψ(t)i\hbar \, \psi'(t) = H\psi(t).

Proof

By the spectral theorem we may assume HH is multiplication by a real function aa on L2(M,μ)L^2(M, \mu). Then U(t)U(t) is multiplication by e−ita/ℏe^{-ita/\hbar}, which has modulus 11: it is unitary with inverse U(−t)U(-t), and the group law is e−i(s+t)a/ℏ=e−isa/ℏe−ita/ℏe^{-i(s+t)a/\hbar} = e^{-isa/\hbar} e^{-ita/\hbar}. Continuity: ∥U(t)ψ−U(t0)ψ∥2=∫∣e−ita/ℏ−e−it0a/ℏ∣2∣ψ∣2 dμ→0\|U(t)\psi - U(t_0)\psi\|^2 = \int |e^{-ita/\hbar} - e^{-it_0 a/\hbar}|^2 |\psi|^2 \, d\mu \to 0 by dominated convergence (the integrand is at most 4∣ψ∣24|\psi|^2). For ψ∈D(H)\psi \in D(H), i.e. aψ∈L2a\psi \in L^2, the difference quotient e−iha/ℏ−1hψ\frac{e^{-iha/\hbar} - 1}{h} \psi is dominated by ∣aψ∣/ℏ|a\psi|/\hbar (as ∣eiθ−1∣≤∣θ∣|e^{i\theta} - 1| \le |\theta|) and converges pointwise to −iℏaψ-\frac{i}{\hbar} a\psi; by dominated convergence the derivative exists in L2L^2 and equals −iℏHU(t)ψ-\frac i\hbar H U(t)\psi.

∎

Theorem— Stone's theorem (1932)

Conversely, if (U(t))t∈R(U(t))_{t \in \R} is a strongly continuous one-parameter group of unitary operators, there is a unique self-adjoint operator AA with U(t)=e−itAU(t) = e^{-itA}. Its domain is the set of ψ\psi for which lim⁡t→0it(U(t)ψ−ψ)\lim_{t \to 0} \frac{i}{t}(U(t)\psi - \psi) exists, and AψA\psi is that limit.

(Proof: Hall, Ch. 10; Reed–Simon I, §VIII.4.) Stone's theorem is the reason observables must be self-adjoint, not merely symmetric: symmetries of a quantum system that depend continuously on a parameter — time translation, space translation, rotation — are strongly continuous unitary groups, and their generators — energy, momentum, angular momentum — are self-adjoint operators. A symmetric operator with no self-adjoint extension generates no dynamics at all, and one with many self-adjoint extensions (like P0P_0 above) generates many different dynamics.

Consequences: the norm ∥ψ(t)∥=1\|\psi(t)\| = 1 is conserved, and so is the energy distribution, since U(t)U(t) commutes with EHE_H. If Hψ=EψH\psi = E\psi then ψ(t)=e−iEt/ℏψ\psi(t) = e^{-iEt/\hbar}\psi, the same ray: energy eigenstates are stationary, and all their measurement statistics are constant in time. Superpositions of two eigenstates oscillate with angular frequency (Em−En)/ℏ(E_m - E_n)/\hbar — Bohr's frequency rule, which explains why spectral lines measure energy differences.

ProofH

The uncertainty relation

Theorem— Robertson's uncertainty relation (1929)

Let A,BA, B be symmetric and let ψ\psi be a unit vector in D(AB)∩D(BA)D(AB) \cap D(BA). Then

σA σB≥12∣⟨ψ,[A,B]ψ⟩∣.\sigma_A \, \sigma_B \ge \tfrac12 \big|\langle \psi, [A, B]\psi \rangle\big|.

More generally ∥(A−a)ψ∥ ∥(B−b)ψ∥≥12∣⟨ψ,[A,B]ψ⟩∣\|(A - a)\psi\| \, \|(B - b)\psi\| \ge \frac12 |\langle \psi, [A, B]\psi \rangle| for all real a,ba, b.

Proof

Let u=(A−a)ψu = (A - a)\psi and w=(B−b)ψw = (B - b)\psi. The shifted operators are symmetric (as a,ba, b are real) and have the same commutator as A,BA, B. By symmetry,

⟨ψ,[A,B]ψ⟩=⟨ψ,(A−a)(B−b)ψ⟩−⟨ψ,(B−b)(A−a)ψ⟩=⟨u,w⟩−⟨w,u⟩=2iIm⁡⟨u,w⟩.\langle \psi, [A, B]\psi \rangle = \langle \psi, (A - a)(B - b)\psi \rangle - \langle \psi, (B - b)(A - a)\psi \rangle = \langle u, w \rangle - \langle w, u \rangle = 2i \operatorname{Im} \langle u, w \rangle.

So ∣⟨ψ,[A,B]ψ⟩∣≤2∣⟨u,w⟩∣≤2∥u∥∥w∥|\langle \psi, [A, B]\psi \rangle| \le 2|\langle u, w \rangle| \le 2\|u\| \|w\| by the Cauchy–Schwarz inequality. Taking a=⟨A⟩ψa = \langle A \rangle_\psi and b=⟨B⟩ψb = \langle B \rangle_\psi gives σAσB\sigma_A \sigma_B on the right.

∎

For position and momentum, [X,P]=iℏ[X, P] = i\hbar on Schwartz functions gives the Heisenberg–Kennard inequality σXσP≥ℏ/2\sigma_X \sigma_P \ge \hbar/2 (Kennard, 1927); by approximation it holds for every unit ψ∈D(X)∩D(P)\psi \in D(X) \cap D(P). Equality requires equality in Cauchy–Schwarz, (P−p0)ψ=iλ(X−x0)ψ(P - p_0)\psi = i\lambda (X - x_0)\psi with λ>0\lambda > 0 real, a first-order differential equation whose L2L^2 solutions are exactly the Gaussian wave packets ψ(x)=Cexp⁡(−λ(x−x0)22ℏ+ip0xℏ)\psi(x) = C \exp\big(-\frac{\lambda (x - x_0)^2}{2\hbar} + \frac{i p_0 x}{\hbar}\big).

Domains matter here too. On L2(0,2π)L^2(0, 2\pi) take the angular momentum L=−iddθL = -i\frac{d}{d\theta} on periodic functions and the angle Φ\Phi (multiplication by θ\theta). Formally [Φ,L]=i[\Phi, L] = i, yet the eigenstate ψ=einθ/2π\psi = e^{in\theta}/\sqrt{2\pi} has σL=0\sigma_L = 0, so the naive inequality σΦσL≥12\sigma_\Phi \sigma_L \ge \frac12 fails. The resolution: Φψ\Phi\psi is not periodic, so ψ∉D(LΦ)\psi \notin D(L\Phi) and Robertson's hypothesis is violated.

What the inequality says is that no state has sharp values of two non-commuting observables: it constrains preparations, not the clumsiness of measuring devices. Relations between measurement error and disturbance are different, later theorems (Ozawa, 2003; Busch, Lahti and Werner, 2013).

ProofH

The harmonic oscillator

The Hamiltonian of a particle in a quadratic potential is H=P22m+12mω2X2H = \frac{P^2}{2m} + \frac12 m\omega^2 X^2. In units with ℏ=m=ω=1\hbar = m = \omega = 1 it is H=12(P2+X2)H = \frac12(P^2 + X^2) on L2(R)L^2(\R). Work on the Schwartz space S(R)\mathcal S(\R), which is dense and mapped into itself by XX, PP and the ladder operators

a=12(X+iP)=12(x+ddx),a†=12(X−iP)=12(x−ddx).a = \frac{1}{\sqrt 2}(X + iP) = \frac{1}{\sqrt 2}\Big(x + \frac{d}{dx}\Big), \qquad a^\dagger = \frac{1}{\sqrt 2}(X - iP) = \frac{1}{\sqrt 2}\Big(x - \frac{d}{dx}\Big).

Here ⟨a†ϕ,ψ⟩=⟨ϕ,aψ⟩\langle a^\dagger\phi, \psi \rangle = \langle \phi, a\psi \rangle on S\mathcal S, and [X,P]=i[X, P] = i gives [a,a†]=12(−i[X,P]+i[P,X])=1[a, a^\dagger] = \frac12\big(-i[X, P] + i[P, X]\big) = 1 and H=a†a+12=N+12H = a^\dagger a + \frac12 = N + \frac12, with the number operator N=a†aN = a^\dagger a.

Theorem— Spectrum of the harmonic oscillator

The functions hn=(n!)−1/2(a†)nh0h_n = (n!)^{-1/2} (a^\dagger)^n h_0, n=0,1,2,…n = 0, 1, 2, \dots, with h0(x)=π−1/4e−x2/2h_0(x) = \pi^{-1/4} e^{-x^2/2}, form an orthonormal basis of L2(R)L^2(\R), and Hhn=(n+12)hnHh_n = (n + \frac12) h_n. They are the only eigenfunctions of HH in S(R)\mathcal S(\R), up to scalars. In physical units the energy levels are En=ℏω(n+12)E_n = \hbar\omega(n + \frac12).

Proof

Step 1 (commutators). From [a,a†]=1[a, a^\dagger] = 1: Na†−a†N=a†(aa†−a†a)=a†Na^\dagger - a^\dagger N = a^\dagger(aa^\dagger - a^\dagger a) = a^\dagger and Na−aN=(a†a−aa†)a=−aNa - aN = (a^\dagger a - aa^\dagger)a = -a. Hence if Nψ=λψN\psi = \lambda\psi, then N(a†ψ)=(λ+1)a†ψN(a^\dagger\psi) = (\lambda + 1)a^\dagger\psi and N(aψ)=(λ−1)aψN(a\psi) = (\lambda - 1)a\psi.

Step 2 (positivity). ⟨ψ,Nψ⟩=⟨aψ,aψ⟩=∥aψ∥2≥0\langle \psi, N\psi \rangle = \langle a\psi, a\psi \rangle = \|a\psi\|^2 \ge 0, so every eigenvalue of NN is ≥0\ge 0.

Step 3 (the ladder stops). Let Nψ=λψN\psi = \lambda\psi with ψ∈S\psi \in \mathcal S nonzero. The vectors akψa^k\psi are eigenvectors with eigenvalue λ−k\lambda - k unless they vanish; by Step 2 they cannot all be nonzero, so there is k≥0k \ge 0 with ϕ=akψ≠0\phi = a^k\psi \ne 0 and aϕ=0a\phi = 0. The equation aϕ=0a\phi = 0 reads ϕ′=−xϕ\phi' = -x\phi, so ϕ=Ce−x2/2\phi = Ce^{-x^2/2}, an eigenvector of NN with eigenvalue 00. Hence λ=k\lambda = k is a non-negative integer, and the ground state h0h_0 is unique up to scalars.

Step 4 (going up). For an eigenvector ϕ\phi of NN with eigenvalue kk, ∥a†ϕ∥2=⟨ϕ,aa†ϕ⟩=⟨ϕ,(N+1)ϕ⟩=(k+1)∥ϕ∥2\|a^\dagger\phi\|^2 = \langle \phi, aa^\dagger\phi \rangle = \langle \phi, (N + 1)\phi \rangle = (k + 1)\|\phi\|^2. By induction ∥(a†)nh0∥2=n!\|(a^\dagger)^n h_0\|^2 = n!, so hnh_n is a unit vector with Nhn=nhnNh_n = n h_n; eigenvectors for different eigenvalues are orthogonal.

Step 5 (simplicity). If Nψ=nψN\psi = n\psi, then anψ=c h0a^n\psi = c\,h_0 by Step 3, and since a†a=Na^\dagger a = N acts on the eigenvector ajψa^{j}\psi as multiplication by n−jn - j, (a†)nanψ=n! ψ(a^\dagger)^n a^n\psi = n! \, \psi. So ψ=cn!(a†)nh0\psi = \frac{c}{n!}(a^\dagger)^n h_0, a multiple of hnh_n.

Step 6 (completeness). hn=pn(x)e−x2/2h_n = p_n(x) e^{-x^2/2} with pnp_n a polynomial of degree exactly nn, so the hnh_n span the same space as the functions xke−x2/2x^k e^{-x^2/2}. Suppose f∈L2(R)f \in L^2(\R) is orthogonal to all of them, and let g(ξ)=∫f(x)e−x2/2e−iξx dxg(\xi) = \int f(x) e^{-x^2/2} e^{-i\xi x} \, dx. Because of the Gaussian factor we may differentiate under the integral any number of times, and gg is given by its everywhere-convergent Taylor series at 00, whose coefficients are multiples of ∫f(x)xke−x2/2 dx=0\int f(x) x^k e^{-x^2/2} \, dx = 0. So g=0g = 0: the Fourier transform of the integrable function fe−x2/2f e^{-x^2/2} vanishes, hence fe−x2/2=0f e^{-x^2/2} = 0 almost everywhere and f=0f = 0.

∎

Since the eigenvectors form an orthonormal basis, HH extends uniquely to a self-adjoint operator (essential self-adjointness on S\mathcal S), namely H=∑n(n+12)⟨hn,⋅⟩hnH = \sum_n (n + \frac12) \langle h_n, \cdot \rangle h_n, with spectrum exactly {12,32,52,… }\{\frac12, \frac32, \frac52, \dots\}. Explicitly hn(x)=(2nn!π)−1/2Hn(x)e−x2/2h_n(x) = (2^n n! \sqrt\pi)^{-1/2} H_n(x) e^{-x^2/2} with the Hermite polynomials H0=1H_0 = 1, H1=2xH_1 = 2x, H2=4x2−2H_2 = 4x^2 - 2, Hn+1=2xHn−Hn′H_{n+1} = 2xH_n - H_n'. The lowest energy is not 00 but 12ℏω\frac12\hbar\omega: the zero-point energy, forced by the uncertainty relation, since ⟨H⟩=12(σP2+σX2+⟨P⟩2+⟨X⟩2)≥σXσP≥12\langle H \rangle = \frac12(\sigma_P^2 + \sigma_X^2 + \langle P \rangle^2 + \langle X \rangle^2) \ge \sigma_X\sigma_P \ge \frac12.

Formal mathematicsF

Quantum mechanics in Lean and Mathlib

Mathlib works with bounded (everywhere-defined) operators, so the formal statements below are about symmetric linear maps A : E →ₗ[ℂ] E on a complex inner product space E (by Hellinger–Toeplitz these are automatically bounded on a Hilbert space) and about elements of normed algebras. Mathlib's inner product ⟪x, y⟫_ℂ is, like the physicists', conjugate-linear in the first slot. First the basic facts about observables: real expectation values (proved here), real eigenvalues (Mathlib), orthogonality of eigenvectors (proved here, as in the lesson) and the finite-dimensional spectral theorem (Mathlib):

expectation_realLean 4Proved here from basic factsFormally verified
/-- **Expectation values of observables are real.** If `A` is symmetric (`⟪A x, y⟫ = ⟪x, A y⟫`),
then `⟪ψ, A ψ⟫` equals its own complex conjugate. Proof: `conj ⟪ψ, Aψ⟫ = ⟪Aψ, ψ⟫ = ⟪ψ, Aψ⟫`, by
conjugate symmetry of the inner product and then symmetry of `A`. -/
theorem expectation_real {A : E →ₗ[ℂ] E} (hA : A.IsSymmetric) (ψ : E) :
    conj ⟪ψ, A ψ⟫_ℂ = ⟪ψ, A ψ⟫_ℂ := by
  rw [inner_conj_symm, hA]
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
eigenvalue_realLean 4Applies a library theoremFormally verified
/-- **Eigenvalues of a symmetric operator are real** (`LinearMap.IsSymmetric.conj_eigenvalue_eq_self`):
measured values of an observable are real numbers. -/
theorem eigenvalue_real {A : E →ₗ[ℂ] E} (hA : A.IsSymmetric) {ev : ℂ}
    (h : Module.End.HasEigenvalue A ev) : conj ev = ev :=
  hA.conj_eigenvalue_eq_self h
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
eigenvectors_orthogonalLean 4Proved here from basic factsFormally verified
/-- **Eigenvectors of an observable for different eigenvalues are orthogonal.** If `A v = λ v`
and `A w = μ w` with real `λ ≠ μ`, then `⟪v, w⟫ = 0`. Proof:
`λ ⟪v, w⟫ = ⟪A v, w⟫ = ⟪v, A w⟫ = μ ⟪v, w⟫`, so `(λ − μ) ⟪v, w⟫ = 0`. Distinct measurement
outcomes are perfectly distinguishable states. -/
theorem eigenvectors_orthogonal {A : E →ₗ[ℂ] E} (hA : A.IsSymmetric) {v w : E} {lv lw : ℝ}
    (hv : A v = (lv : ℂ) • v) (hw : A w = (lw : ℂ) • w) (hne : lv ≠ lw) : ⟪v, w⟫_ℂ = 0 := by
  have h := hA v w
  rw [hv, hw, inner_smul_left, inner_smul_right, Complex.conj_ofReal] at h
  have h' : ((lv : ℂ) - lw) * ⟪v, w⟫_ℂ = 0 := by rw [sub_mul, h, sub_self]
  rcases mul_eq_zero.mp h' with h0 | h0
  · exact absurd (by exact_mod_cast sub_eq_zero.mp h0) hne
  · exact h0
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
spectral_theorem_finiteLean 4Applies a library theoremFormally verified
/-- **The spectral theorem in finite dimensions.** A symmetric operator on an `n`-dimensional
complex inner product space has an orthonormal basis `e₀, …, e_{n−1}` of eigenvectors with real
eigenvalues `λᵢ`: `A eᵢ = λᵢ eᵢ`. In a state `ψ`, a measurement of `A` gives `λᵢ` with probability
`|⟪eᵢ, ψ⟫|²` (Born's rule). This is Mathlib's `LinearMap.IsSymmetric.apply_eigenvectorBasis`. -/
theorem spectral_theorem_finite [FiniteDimensional ℂ E] {A : E →ₗ[ℂ] E} (hA : A.IsSymmetric)
    {n : ℕ} (hn : Module.finrank ℂ E = n) (i : Fin n) :
    A (hA.eigenvectorBasis hn i) = (hA.eigenvalues hn i : ℂ) • hA.eigenvectorBasis hn i :=
  hA.apply_eigenvectorBasis hn i
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor

The uncertainty relation, proved from scratch exactly as in the human proof: symmetry turns ⟨ψ,[A,B]ψ⟩\langle \psi, [A, B]\psi \rangle into ⟨u,w⟩−⟨w,u⟩\langle u, w \rangle - \langle w, u \rangle, then the triangle and Cauchy–Schwarz inequalities finish. The second version allows arbitrary real shifts a,ba, b; taking them to be the expectation values gives σAσB≥12∣⟨[A,B]⟩∣\sigma_A \sigma_B \ge \frac12 |\langle [A, B] \rangle|.

robertsonLean 4Proved here from basic factsFormally verified
/-- **Robertson's inequality, core estimate.** For symmetric `A, B` and any vector `ψ`,
`|⟪ψ, [A, B] ψ⟫| ≤ 2 ‖Aψ‖ ‖Bψ‖`, where `[A, B] = AB − BA`. Proof: by symmetry
`⟪ψ, ABψ⟫ = ⟪Aψ, Bψ⟫` and `⟪ψ, BAψ⟫ = ⟪Bψ, Aψ⟫`; then the triangle inequality and the
Cauchy–Schwarz inequality `|⟪u, v⟫| ≤ ‖u‖ ‖v‖`. -/
theorem robertson {A B : E →ₗ[ℂ] E} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (ψ : E) :
    ‖⟪ψ, (A ∘ₗ B - B ∘ₗ A) ψ⟫_ℂ‖ ≤ 2 * ‖A ψ‖ * ‖B ψ‖ := by
  have h1 : ⟪ψ, (A ∘ₗ B - B ∘ₗ A) ψ⟫_ℂ = ⟪A ψ, B ψ⟫_ℂ - ⟪B ψ, A ψ⟫_ℂ := by
    rw [LinearMap.sub_apply, inner_sub_right, LinearMap.comp_apply, LinearMap.comp_apply,
      ← hA ψ (B ψ), ← hB ψ (A ψ)]
  rw [h1]
  calc ‖⟪A ψ, B ψ⟫_ℂ - ⟪B ψ, A ψ⟫_ℂ‖ ≤ ‖⟪A ψ, B ψ⟫_ℂ‖ + ‖⟪B ψ, A ψ⟫_ℂ‖ := norm_sub_le _ _
    _ ≤ ‖A ψ‖ * ‖B ψ‖ + ‖B ψ‖ * ‖A ψ‖ :=
        add_le_add (norm_inner_le_norm _ _) (norm_inner_le_norm _ _)
    _ = 2 * ‖A ψ‖ * ‖B ψ‖ := by ring
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
uncertaintyLean 4Proved here from basic factsFormally verified
/-- **The Robertson–Heisenberg uncertainty relation.** For symmetric `A, B`, any `ψ` and any real
numbers `a, b`: `½ |⟪ψ, [A, B] ψ⟫| ≤ ‖(A − a)ψ‖ · ‖(B − b)ψ‖`. For a unit vector `ψ` and
`a = ⟨A⟩ = ⟪ψ, Aψ⟫`, `b = ⟨B⟩`, the right side is the product of standard deviations `σ_A σ_B`.
Proof: shifting by real scalars does not change the commutator, and the shifted operators are
still symmetric; the cross terms `a ⟪ψ, Bψ⟫` and `b ⟪Aψ, ψ⟫` cancel in pairs, leaving
`⟪Aψ, Bψ⟫ − ⟪Bψ, Aψ⟫`, which is bounded as in `robertson`. -/
theorem uncertainty {A B : E →ₗ[ℂ] E} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (ψ : E)
    (a b : ℝ) :
    ‖⟪ψ, (A ∘ₗ B - B ∘ₗ A) ψ⟫_ℂ‖ / 2 ≤ ‖A ψ - (a : ℂ) • ψ‖ * ‖B ψ - (b : ℂ) • ψ‖ := by
  set u := A ψ - (a : ℂ) • ψ
  set w := B ψ - (b : ℂ) • ψ
  have hAψ : ⟪A ψ, ψ⟫_ℂ = ⟪ψ, A ψ⟫_ℂ := hA ψ ψ
  have hBψ : ⟪B ψ, ψ⟫_ℂ = ⟪ψ, B ψ⟫_ℂ := hB ψ ψ
  have h1 : ⟪ψ, (A ∘ₗ B - B ∘ₗ A) ψ⟫_ℂ = ⟪u, w⟫_ℂ - ⟪w, u⟫_ℂ := by
    simp only [u, w, LinearMap.sub_apply, LinearMap.comp_apply, inner_sub_right, inner_sub_left,
      inner_smul_left, inner_smul_right, Complex.conj_ofReal, ← hA ψ (B ψ), ← hB ψ (A ψ), hAψ,
      hBψ]
    ring
  rw [h1]
  have h2 : ‖⟪u, w⟫_ℂ - ⟪w, u⟫_ℂ‖ ≤ 2 * (‖u‖ * ‖w‖) :=
    calc ‖⟪u, w⟫_ℂ - ⟪w, u⟫_ℂ‖ ≤ ‖⟪u, w⟫_ℂ‖ + ‖⟪w, u⟫_ℂ‖ := norm_sub_le _ _
      _ ≤ ‖u‖ * ‖w‖ + ‖w‖ * ‖u‖ := add_le_add (norm_inner_le_norm _ _) (norm_inner_le_norm _ _)
      _ = 2 * (‖u‖ * ‖w‖) := by ring
  linarith
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor

The ladder-operator algebra holds in any ring (noncomm_ring verifies the commutator identities), the eigenvector-shifting property in any complex vector space, and positivity of the number operator in any inner product space where a†a^\dagger is the adjoint of aa:

number_raiseLean 4Proved here from basic factsFormally verified
/-- **The number operator raises with the creation operator.** In any ring, if `a a† − a† a = 1`
and `N = a† a`, then `N a† − a† N = a†`. Proof: `N a† − a† N = a† (a a† − a† a) = a†`. -/
theorem number_raise {R : Type*} [Ring R] (a ad : R) (h : a * ad - ad * a = 1) :
    (ad * a) * ad - ad * (ad * a) = ad :=
  calc (ad * a) * ad - ad * (ad * a) = ad * (a * ad - ad * a) := by noncomm_ring
    _ = ad := by rw [h, mul_one]
Axioms used: propextformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
number_lowerLean 4Proved here from basic factsFormally verified
/-- **…and lowers with the annihilation operator:** `N a − a N = −a`, because
`N a − a N = −(a a† − a† a) a`. -/
theorem number_lower {R : Type*} [Ring R] (a ad : R) (h : a * ad - ad * a = 1) :
    (ad * a) * a - a * (ad * a) = -a :=
  calc (ad * a) * a - a * (ad * a) = -((a * ad - ad * a) * a) := by noncomm_ring
    _ = -a := by rw [h, one_mul]
Axioms used: propextformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
raise_eigenvectorLean 4Proved here from basic factsFormally verified
/-- **Ladder operators move between eigenvectors.** If `a a† − a† a = 1` on a complex vector space
and `N v = λ v` for `N = a† a`, then `N (a† v) = (λ + 1) a† v` and `N (a v) = (λ − 1) a v`. Each
application of `a†` adds one quantum `ℏω` of energy and each application of `a` removes one. -/
theorem raise_eigenvector {V : Type*} [AddCommGroup V] [Module ℂ V] (a ad : Module.End ℂ V)
    (h : a * ad - ad * a = 1) {v : V} {l : ℂ} (hv : (ad * a) v = l • v) :
    (ad * a) (ad v) = (l + 1) • ad v ∧ (ad * a) (a v) = (l - 1) • a v := by
  have hv' : ad (a v) = l • v := by simpa only [Module.End.mul_apply] using hv
  have hr := congrArg (fun T : Module.End ℂ V => T v) (number_raise a ad h)
  have hl := congrArg (fun T : Module.End ℂ V => T v) (number_lower a ad h)
  simp only [LinearMap.sub_apply, Module.End.mul_apply, LinearMap.neg_apply] at hr hl
  rw [hv', map_smul] at hr hl
  simp only [Module.End.mul_apply]
  rw [sub_eq_iff_eq_add] at hr hl
  constructor
  · rw [hr, add_smul, one_smul]
    abel
  · rw [hl, sub_smul, one_smul]
    abel
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
number_nonnegLean 4Proved here from basic factsFormally verified
/-- **The number operator is positive, so the ladder must stop.** If `a†` is the adjoint of `a`
(`⟪a† x, y⟫ = ⟪x, a y⟫`), then `⟪v, a† a v⟫ = ‖a v‖²`. Hence an eigenvalue `λ` of `N = a† a` with
eigenvector `v ≠ 0` satisfies `λ ‖v‖² = ‖a v‖² ≥ 0`: repeated lowering must end at a vector with
`a v₀ = 0`, the ground state, and the eigenvalues of `N` are `0, 1, 2, …`. -/
theorem number_nonneg (a ad : E →ₗ[ℂ] E) (hadj : ∀ x y, ⟪ad x, y⟫_ℂ = ⟪x, a y⟫_ℂ) (v : E) :
    ⟪v, ad (a v)⟫_ℂ = ((‖a v‖ ^ 2 : ℝ) : ℂ) := by
  rw [← inner_conj_symm, hadj, inner_self_eq_norm_sq_to_K]
  simp
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor

The two no-go theorems: the trace argument for matrices, Wielandt's proof for any nontrivial normed algebra (induction for the commutator with pn+1p^{n+1}, induction for pn≠0p^n \ne 0, the norm estimate, and the Archimedean property), and its corollary for bounded operators on a nonzero normed space:

no_finite_ccrLean 4Proved here from basic factsFormally verified
/-- **No matrices satisfy `[X, P] = c · 1` with `c ≠ 0`.** Taking traces: `tr(XP) = tr(PX)`, so the
left side has trace `0`, while `tr(c · 1) = c n ≠ 0` for `n ≥ 1`. Hence position and momentum
(`[X, P] = iℏ`) cannot be represented on a finite-dimensional Hilbert space. -/
theorem no_finite_ccr {n : ℕ} (hn : 0 < n) (X P : Matrix (Fin n) (Fin n) ℂ) {c : ℂ}
    (hc : c ≠ 0) : X * P - P * X ≠ c • (1 : Matrix (Fin n) (Fin n) ℂ) := by
  intro h
  have ht := congrArg Matrix.trace h
  rw [Matrix.trace_sub, Matrix.trace_mul_comm, sub_self, Matrix.trace_smul, Matrix.trace_one,
    Fintype.card_fin, smul_eq_mul] at ht
  have hn' : (n : ℂ) ≠ 0 := by exact_mod_cast hn.ne'
  exact mul_ne_zero hc hn' ht.symm
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
wintner_wielandtLean 4Proved here from basic factsFormally verified
/-- **The Wintner–Wielandt theorem.** In a nontrivial normed algebra (for example the bounded
operators on a nonzero Banach space), no elements satisfy `x p − p x = c · 1` with `c ≠ 0`.
Wielandt's proof: by induction `x pⁿ⁺¹ − pⁿ⁺¹ x = (n + 1) c pⁿ`; hence no power of `p` vanishes
(otherwise the next lower one would too, down to `p⁰ = 1`); taking norms,
`(n + 1) |c| ‖pⁿ‖ ≤ 2 ‖x‖ ‖p‖ ‖pⁿ‖`, so `(n + 1) |c| ≤ 2 ‖x‖ ‖p‖` for every `n`, which is absurd. -/
theorem wintner_wielandt {A : Type*} [NormedRing A] [NormedAlgebra ℂ A] [Nontrivial A]
    (x p : A) {c : ℂ} (hc : c ≠ 0) : x * p - p * x ≠ c • (1 : A) := by
  intro h
  -- The commutator with a power of `p`.
  have key : ∀ n : ℕ, x * p ^ (n + 1) - p ^ (n + 1) * x = (((n : ℂ) + 1) * c) • p ^ n := by
    intro n
    induction n with
    | zero => simp [h]
    | succ n ih =>
      have e : x * p ^ (n + 1 + 1) - p ^ (n + 1 + 1) * x =
          (x * p ^ (n + 1) - p ^ (n + 1) * x) * p + p ^ (n + 1) * (x * p - p * x) := by
        rw [pow_succ p (n + 1)]
        noncomm_ring
      rw [e, ih, h, smul_mul_assoc, mul_smul_comm, mul_one, ← pow_succ, ← add_smul]
      congr 1
      push_cast
      ring
  -- No power of `p` is zero.
  have hne : ∀ n : ℕ, p ^ n ≠ 0 := by
    intro n
    induction n with
    | zero => simp
    | succ n ih =>
      intro hp
      have hk := key n
      rw [hp, mul_zero, zero_mul, sub_zero] at hk
      have hcoef : ((n : ℂ) + 1) * c ≠ 0 := mul_ne_zero (by exact_mod_cast n.succ_ne_zero) hc
      exact ih ((smul_eq_zero.mp hk.symm).resolve_left hcoef)
  -- The norm estimate.
  have hbound : ∀ n : ℕ, ((n : ℝ) + 1) * ‖c‖ ≤ 2 * ‖x‖ * ‖p‖ := by
    intro n
    have hpos : 0 < ‖p ^ n‖ := norm_pos_iff.mpr (hne n)
    have hp1 : ‖p ^ (n + 1)‖ ≤ ‖p ^ n‖ * ‖p‖ := by rw [pow_succ]; exact norm_mul_le _ _
    have hlhs : ‖(((n : ℂ) + 1) * c) • p ^ n‖ = ((n : ℝ) + 1) * ‖c‖ * ‖p ^ n‖ := by
      rw [norm_smul, norm_mul]
      congr 2
      exact_mod_cast Complex.norm_natCast (n + 1)
    have hrhs : ‖x * p ^ (n + 1) - p ^ (n + 1) * x‖ ≤ 2 * ‖x‖ * ‖p‖ * ‖p ^ n‖ :=
      calc ‖x * p ^ (n + 1) - p ^ (n + 1) * x‖
          ≤ ‖x * p ^ (n + 1)‖ + ‖p ^ (n + 1) * x‖ := norm_sub_le _ _
        _ ≤ ‖x‖ * ‖p ^ (n + 1)‖ + ‖p ^ (n + 1)‖ * ‖x‖ :=
            add_le_add (norm_mul_le _ _) (norm_mul_le _ _)
        _ ≤ ‖x‖ * (‖p ^ n‖ * ‖p‖) + (‖p ^ n‖ * ‖p‖) * ‖x‖ := by gcongr
        _ = 2 * ‖x‖ * ‖p‖ * ‖p ^ n‖ := by ring
    rw [key n, hlhs] at hrhs
    exact le_of_mul_le_mul_right hrhs hpos
  -- Contradiction with the Archimedean property.
  have hcpos : 0 < ‖c‖ := norm_pos_iff.mpr hc
  obtain ⟨n, hn⟩ := exists_nat_gt (2 * ‖x‖ * ‖p‖ / ‖c‖)
  rw [div_lt_iff₀ hcpos] at hn
  have := hbound n
  nlinarith
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor
no_bounded_ccrLean 4Proved here from basic factsFormally verified
/-- **Position and momentum cannot both be bounded.** On a nonzero complex normed space there
are no bounded operators `X, P` with `XP − PX = iℏ · 1` for `ℏ ≠ 0`. This is Wintner–Wielandt
applied to the normed algebra of bounded operators; so at least one of `X, P` is unbounded, and
then (by the Hellinger–Toeplitz theorem) it cannot be defined on the whole Hilbert space. -/
theorem no_bounded_ccr {F : Type*} [NormedAddCommGroup F] [NormedSpace ℂ F] [Nontrivial F]
    (X P : F →L[ℂ] F) {ℏ : ℝ} (hℏ : ℏ ≠ 0) :
    X * P - P * X ≠ (Complex.I * ℏ) • (1 : F →L[ℂ] F) :=
  wintner_wielandt X P (mul_ne_zero Complex.I_ne_zero (by exact_mod_cast hℏ))
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor

Finally, the bounded case of unitary evolution: in a C*-algebra, exp⁡(itH)\exp(itH) for self-adjoint HH is unitary and the evolution operators form a one-parameter group.

evolution_groupLean 4Applies a library theoremFormally verified
/-- **Time evolution is a one-parameter unitary group** (bounded case). For a self-adjoint
element `H` of a C*-algebra (e.g. a Hermitian matrix), `U(t) = exp(i t H)` is unitary
(`selfAdjoint.expUnitary`) and `U(s + t) = U(s) U(t)`, because `sH` and `tH` commute
(`Commute.expUnitary_add`). The physicists' `e^{−itH/ℏ}` is `U(−t/ℏ)`. Stone's theorem — every
strongly continuous unitary group arises this way from a possibly unbounded self-adjoint
generator — is not yet in Mathlib. -/
theorem evolution_group {A : Type*} [NormedRing A] [NormedAlgebra ℂ A] [StarRing A]
    [ContinuousStar A] [CompleteSpace A] [StarModule ℂ A] (H : selfAdjoint A) (s t : ℝ) :
    selfAdjoint.expUnitary ((s + t) • H) =
      selfAdjoint.expUnitary (s • H) * selfAdjoint.expUnitary (t • H) := by
  rw [add_smul]
  exact Commute.expUnitary_add (((Commute.refl (H : A)).smul_left s).smul_right t)
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuantumMechanics.leanTry it in the Lean web editor

Not formalised (and not yet in Mathlib): unbounded operators with domains, self-adjointness in the unbounded sense, the spectral theorem for unbounded self-adjoint operators, Stone's theorem, position and momentum on L2(R)L^2(\R), and the completeness of the Hermite functions. The formal development covers the algebra and the bounded-operator theorems on which those analytic results build — and, in the Wintner–Wielandt theorem, proves formally why the unbounded theory is unavoidable.

ComputationC

Experiments: computing the oscillator

The first experiment replaces H=−12d2dx2+12x2H = -\frac12 \frac{d^2}{dx^2} + \frac12 x^2 by a finite-difference matrix on a grid in [−8,8][-8, 8] and computes its lowest eigenvalues. They approach n+12n + \frac12, and halving the grid spacing divides the error by about 44 (a second-order method). The ground state's uncertainty product comes out as 12\frac12.

Harmonic oscillator levels from a finite-difference HamiltonianPythonNumerical approximationComputationally tested
"""The harmonic oscillator spectrum from a finite-difference Hamiltonian.

In units hbar = m = omega = 1 the Hamiltonian is H = -(1/2) d^2/dx^2 + x^2/2.
We replace it by a symmetric tridiagonal matrix on a grid of N points in
[-L, L] (Dirichlet boundary) and compute its lowest eigenvalues with numpy.
They approach n + 1/2, and halving the grid spacing divides the error by
about 4 (a second-order method). From the ground-state eigenvector we also
compute the uncertainty product sigma_x sigma_p, which is 1/2: the minimum
allowed by the Heisenberg relation.
"""

import numpy as np

def hamiltonian(n_points, half_width):
    """Finite-difference matrix for -(1/2) d^2/dx^2 + x^2/2 and its grid."""
    if n_points < 3:
        raise ValueError("need at least 3 grid points")
    x = np.linspace(-half_width, half_width, n_points)
    h = x[1] - x[0]
    main = 1.0 / h ** 2 + 0.5 * x ** 2
    off = np.full(n_points - 1, -0.5 / h ** 2)
    return np.diag(main) + np.diag(off, 1) + np.diag(off, -1), x

def lowest_levels(n_points, half_width, count):
    """The `count` smallest eigenvalues of the discretised Hamiltonian."""
    matrix, _ = hamiltonian(n_points, half_width)
    return np.linalg.eigvalsh(matrix)[:count]

def ground_state_uncertainty(n_points, half_width):
    """sigma_x * sigma_p for the lowest eigenvector (grid approximation)."""
    matrix, x = hamiltonian(n_points, half_width)
    h = x[1] - x[0]
    _, vecs = np.linalg.eigh(matrix)
    psi = vecs[:, 0] / np.sqrt(h)
    mean_x = h * np.sum(x * psi ** 2)
    var_x = h * np.sum((x - mean_x) ** 2 * psi ** 2)
    dpsi = np.gradient(psi, h)
    var_p = h * np.sum(dpsi ** 2)
    return float(np.sqrt(var_x * var_p))

def main():
    half_width, count = 8.0, 6
    print("Lowest eigenvalues of the discretised oscillator (exact: n + 1/2):")
    print("     N       h       E_0       E_1       E_2       E_5")
    errors = []
    for n_points in [161, 321, 641]:
        levels = lowest_levels(n_points, half_width, count)
        h = 2 * half_width / (n_points - 1)
        print(f"  {n_points:>4}   {h:.3f}   {levels[0]:.5f}   {levels[1]:.5f}"
              f"   {levels[2]:.5f}   {levels[5]:.5f}")
        errors.append(abs(levels[5] - 5.5))
    print("error in E_5 for the three grids:",
          ", ".join(f"{e:.2e}" for e in errors))
    print("ratios:", ", ".join(f"{a / b:.2f}" for a, b in zip(errors, errors[1:])),
          "(about 4: the error is O(h^2))")
    print()
    u = ground_state_uncertainty(641, half_width)
    print(f"Ground state: sigma_x * sigma_p = {u:.5f}; the exact value is the")
    print("Heisenberg minimum 1/2 (the difference is discretisation error).")
    print("The spacing E_(n+1) - E_n = 1 = hbar omega is the energy quantum,")
    print("and E_0 = 1/2 is the zero-point energy.")
    print()
    print("Epistemic status: floating-point eigenvalues of a finite matrix")
    print("approximating an unbounded operator on a truncated interval. The")
    print("agreement with n + 1/2 is numerical evidence; the exact spectrum is")
    print("the theorem proved in the lesson.")

if __name__ == "__main__":
    main()
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

The second truncates the ladder operators to NN levels. The commutator [a,a†][a, a^\dagger] is then the identity except in the last diagonal entry, 1−N1 - N, so that its trace is 00 — the trace argument made visible: truncation must break the commutation relation somewhere. The number operator still has eigenvalues 0,…,N−10, \dots, N - 1, and Robertson's inequality holds for all states, with equality for the ground state.

Truncated ladder operators and the uncertainty relationPythonExact computationNumerical approximationComputationally tested
"""Ladder operators on N levels: where the commutation relation must break.

On the span of the first N oscillator states, the annihilation operator a is
the N x N matrix with sqrt(1), ..., sqrt(N - 1) above the diagonal. We compute
the commutator [a, a^dagger] exactly (its entries are integers): it is the
identity except for the last diagonal entry, 1 - N, which makes the trace 0,
as it must be for any commutator of matrices. With X = (a + a^dagger)/sqrt 2
and P = (a - a^dagger)/(i sqrt 2) we check the Robertson inequality
sigma_X sigma_P >= |<[X, P]>| / 2 for number states and random states.
"""

import math
import random

import numpy as np

def ladder_commutator_diagonal(n_levels):
    """Diagonal of [a, a^dagger] computed exactly: entries (k+1) - k, last 1-N."""
    if n_levels < 1:
        raise ValueError("need at least one level")
    a_ad = [k + 1 if k < n_levels - 1 else 0 for k in range(n_levels)]
    ad_a = list(range(n_levels))
    return [p - q for p, q in zip(a_ad, ad_a)]

def annihilation(n_levels):
    """The N x N annihilation matrix a (complex)."""
    return np.diag(np.sqrt(np.arange(1, n_levels)), 1).astype(complex)

def position_momentum(n_levels):
    """X = (a + a^dagger)/sqrt(2), P = (a - a^dagger)/(i sqrt(2))."""
    a = annihilation(n_levels)
    ad = a.conj().T
    return (a + ad) / math.sqrt(2), (a - ad) / (1j * math.sqrt(2))

def robertson_sides(state, x_op, p_op):
    """(sigma_X * sigma_P, |<[X, P]>| / 2) for a normalised state vector."""
    def mean(op):
        return np.vdot(state, op @ state)
    var_x = (mean(x_op @ x_op) - mean(x_op) ** 2).real
    var_p = (mean(p_op @ p_op) - mean(p_op) ** 2).real
    comm = mean(x_op @ p_op - p_op @ x_op)
    return math.sqrt(max(var_x, 0) * max(var_p, 0)), abs(comm) / 2

def main():
    n = 8
    diag = ladder_commutator_diagonal(n)
    print(f"N = {n}: diagonal of [a, a^dagger] = {diag}")
    print(f"trace = {sum(diag)} (a commutator of matrices always has trace 0)")
    a = annihilation(n)
    number = np.linalg.eigvalsh(a.conj().T @ a)
    print("eigenvalues of a^dagger a:",
          " ".join(f"{float(v):.3f}" for v in number))
    x_op, p_op = position_momentum(n)
    print()
    print("Number states |k>: sigma_X sigma_P versus |<[X,P]>|/2")
    for k in range(n):
        state = np.zeros(n, dtype=complex)
        state[k] = 1
        lhs, rhs = robertson_sides(state, x_op, p_op)
        print(f"  k = {k}: {lhs:.4f} >= {rhs:.4f}")
    print("For k < N - 1 these are k + 1/2 >= 1/2, as for the true oscillator;")
    print("the top level feels the truncation: <[X, P]> = i(1 - N) there.")
    rng = random.Random(1925)
    worst = math.inf
    for _ in range(200):
        v = np.array([complex(rng.gauss(0, 1), rng.gauss(0, 1)) for _ in range(n)])
        v /= np.linalg.norm(v)
        lhs, rhs = robertson_sides(v, x_op, p_op)
        worst = min(worst, lhs - rhs)
    print(f"200 random states: min of sigma_X sigma_P - |<[X,P]>|/2 = {worst:.4f}")
    print()
    print("Epistemic status: the commutator diagonal is exact integer")
    print("arithmetic; the eigenvalues and uncertainty products are floating")
    print("point for one N and finitely many states. Robertson's inequality")
    print("and the trace argument are proved in the lesson and in Lean.")

if __name__ == "__main__":
    main()
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

Both are floating-point (or exact integer) computations with finite matrices: numerical evidence about the infinite-dimensional operators, whose spectrum is the theorem proved above.

Explore

Seeing the oscillator and a spreading wave packet

The potential 12x2\frac12 x^2 and the first four eigenfunctions hnh_n, each drawn at the height of its energy n+12n + \frac12. Count the nodes (hnh_n has nn zeros), notice the even–odd alternation, and see that each eigenfunction leaks a little beyond the classical turning points where 12x2=n+12\frac12 x^2 = n + \frac12.

Harmonic oscillator: energy levels and eigenfunctions

Move the sliders and trace along the curves to read off values.

  • V(x) = x²/2
  • h₀ at E = 1/2
  • h₁ at E = 3/2
  • h₂ at E = 5/2
  • h₃ at E = 7/2
  • V(x) = x²/2: y = 0.5
  • h₀ at E = 1/2: y = 0.8645
  • h₁ at E = 3/2: y = 2.0154
  • h₂ at E = 5/2: y = 2.7577
  • h₃ at E = 7/2: y = 3.2896

A free Gaussian wave packet (ℏ=m=1\hbar = m = 1, initial width s=1s = 1): move the time slider and watch ∣ψ(x,t)∣2|\psi(x, t)|^2 spread while its area stays 11. Its momentum distribution never changes; the spreading is the position uncertainty catching up with the momentum uncertainty.

A free Gaussian wave packet spreading

Move the sliders and trace along the curves to read off values.

  • |ψ(x, t)|²
  • Signed area: above the axis counts as positive, below (hatched) as negative
  • |ψ(x, t)|²: y = 0.2076
  • Signed area from −8 to 8 ≈ 1 (numerical integration)

The Pauli matrix σx\sigma_x acting on real amplitudes is the reflection in the line y=xy = x: its eigenvectors (1,1)(1, 1) and (1,−1)(1, -1) are orthogonal with eigenvalues ±1\pm 1, as for every observable. Try the other presets: a rotation (not symmetric) has no real eigenvectors at all.

An observable on a real qubit

Symmetric matrices have orthogonal invariant lines.

Your own matrix
λ₁ = 1λ₂ = −1Ae₁Ae₂
  • image of the grid
  • image of the unit square
  • image of the flag
  • before the transformation
  • invariant line

Along the way the determinant passes through 0: no continuous motion turns the flag into its mirror image without flattening it at some moment.

Entries of the matrix A
A =

The columns of A are the images of e₁ = (1, 0) and e₂ = (0, 1): Ae₁ = (0, 1), Ae₂ = (1, 0)

det A = ad − bc = −1

The unit square (area 1) becomes a parallelogram of area |det A| = 1. Since det A < 0, orientation is reversed: the flag is mirrored and the small arc turns clockwise.

Invariant lines (real eigenvectors)

  • λ₁ = 1, v₁ = (1, 1)
  • λ₂ = −1, v₂ = (1, −1)

Vectors on the two dashed lines are only stretched, by the factors λ₁ = 1 and λ₂ = -1; every other direction is turned. A negative eigenvalue flips the vectors on its line to the opposite side.

Exercises

Exercises

1. Mathematical foundations of quantum mechanics

Warm-upHuman

A qubit is in the state ψ=35e0+4i5e1\psi = \frac35 e_0 + \frac{4i}{5} e_1. Measuring σz=diag⁡(1,−1)\sigma_z = \operatorname{diag}(1, -1), what is the probability of the outcome −1-1?

Choose one

2. Mathematical foundations of quantum mechanics

Warm-upHuman

A three-level system has an observable AA with orthonormal eigenvectors e1,e2,e3e_1, e_2, e_3 and eigenvalues 1,2,61, 2, 6. In the state ψ=(e1+e2+e3)/3\psi = (e_1 + e_2 + e_3)/\sqrt 3, what is the expectation ⟨ψ,Aψ⟩\langle \psi, A\psi \rangle?

3. Mathematical foundations of quantum mechanics

CoreHuman

In the state e0e_0 (spin up along zz), compare σσx σσy\sigma_{\sigma_x} \, \sigma_{\sigma_y} with 12∣⟨[σx,σy]⟩∣\frac12 |\langle [\sigma_x, \sigma_y] \rangle|, using [σx,σy]=2iσz[\sigma_x, \sigma_y] = 2i\sigma_z.

Choose one

4. Mathematical foundations of quantum mechanics

CoreHuman

On L2(0,1)L^2(0, 1) let P0=−i d/dxP_0 = -i\,d/dx with domain {ψ∈H1(0,1):ψ(0)=ψ(1)=0}\{\psi \in H^1(0, 1) : \psi(0) = \psi(1) = 0\}. Which statement is true?

Choose one

5. Mathematical foundations of quantum mechanics

CoreHuman

The proof of the Hellinger–Toeplitz theorem shows that the graph of an everywhere-defined symmetric operator AA is closed. Which theorem then gives that AA is bounded?

Choose one

6. Mathematical foundations of quantum mechanics

CoreHuman

With [a,a†]=1[a, a^\dagger] = 1, ah0=0a h_0 = 0 and ∥h0∥=1\|h_0\| = 1, compute ∥(a†)3h0∥2\|(a^\dagger)^3 h_0\|^2.

7. Mathematical foundations of quantum mechanics

CoreFormal

Which Lean statement correctly formalises no n×nn \times n complex matrices satisfy XP−PX=c⋅1XP - PX = c \cdot 1 with c≠0c \ne 0 (and is provable)?

Choose one

8. Mathematical foundations of quantum mechanics

StretchHuman

In Wielandt's proof that XP−PX=cIXP - PX = cI (c≠0c \ne 0) is impossible for bounded operators, one needs Pn≠0P^n \ne 0 for every nn. Why does no power of PP vanish?

Choose one

9. Mathematical foundations of quantum mechanics

StretchHuman

Which normalised states ψ∈L2(R)\psi \in L^2(\R) satisfy σXσP=ℏ/2\sigma_X \sigma_P = \hbar/2 exactly? Select all that apply.

Choose all that apply

10. Mathematical foundations of quantum mechanics

CoreComputational

Write expectation(A, psi) returning ⟨ψ,Aψ⟩=∑i,jψi‾Aijψj\langle \psi, A\psi \rangle = \sum_{i,j} \overline{\psi_i} A_{ij} \psi_j for a square matrix A (list of rows) and a vector psi (list of complex numbers), and std_dev(A, psi) returning σA=⟨A2⟩−⟨A⟩2\sigma_A = \sqrt{\langle A^2 \rangle - \langle A \rangle^2} for a normalised psi and Hermitian A. The tests check Robertson's inequality for Pauli matrices.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.
Common misconceptionsH

Common misconceptions

Misconception

"Unbounded operators can be treated like matrices." Formal manipulations ignore domains at their peril. A symmetric operator need not be self-adjoint (momentum with Dirichlet conditions on an interval has spectrum C\C), different self-adjoint extensions describe different physics, and identities such as [X,P]=iℏ[X, P] = i\hbar or Robertson's inequality hold only on suitable domains — the angle–angular momentum example violates the naive uncertainty relation. No symmetric operator defined everywhere is unbounded (Hellinger–Toeplitz), and the commutation relation has no bounded solution (Wintner–Wielandt).

Misconception

"The uncertainty principle is about clumsy measurements disturbing the system." Robertson's inequality is a statement about a single state: the spreads of the probability distributions of AA and of BB in that state, each obtainable by measuring many identically prepared copies, cannot both be small. It is a property of non-commuting operators — like the fact that a function and its Fourier transform cannot both be sharply concentrated — not of instruments. Error–disturbance relations exist, but they are different theorems.

Misconception

"A state is a vector." A state is a ray: ψ\psi and eiθψe^{i\theta}\psi give identical predictions. The state space of a qubit is the sphere P(C2)≅S2\mathbb P(\C^2) \cong S^2, not the unit sphere S3⊂C2S^3 \subset \C^2. Relative phases between components are physical, which is why interference exists.

Misconception

"The wave function is the probability density." The density is ∣ψ∣2|\psi|^2; ψ\psi itself is a complex amplitude, and amplitudes — not probabilities — add when alternatives are not distinguished. The double-slit pattern ∣ψ1+ψ2∣2=∣ψ1∣2+∣ψ2∣2+2Re⁡(ψ1‾ψ2)|\psi_1 + \psi_2|^2 = |\psi_1|^2 + |\psi_2|^2 + 2\operatorname{Re}(\overline{\psi_1}\psi_2) is the cross term.

Misconception

"The lowest energy of an oscillator is zero." It is 12ℏω\frac12\hbar\omega: a state with energy 00 would need ⟨X2⟩=⟨P2⟩=0\langle X^2 \rangle = \langle P^2 \rangle = 0, which the uncertainty relation forbids. Zero-point energy has measurable consequences, from the stability of liquid helium at absolute zero to the Casimir effect.

ViewpointsH

Many ways of seeing

Analysis— Fourier duality and Hermite functions

Position and momentum are exchanged by the Fourier transform, P=F−1(ℏk)FP = \mathcal F^{-1}(\hbar k)\mathcal F, and the uncertainty relation is a theorem of harmonic analysis: for f∈L2(R)f \in L^2(\R) with ∥f∥2=1\|f\|_2 = 1, (∫x2∣f∣2)(∫ξ2∣f^∣2)≥116π2\big(\int x^2 |f|^2\big)\big(\int \xi^2 |\hat f|^2\big) \ge \frac{1}{16\pi^2} with the normalisation f^(ξ)=∫f(x)e−2πixξ dx\hat f(\xi) = \int f(x) e^{-2\pi i x\xi} \, dx — a function and its Fourier transform cannot both be concentrated. The Hermite functions diagonalise the Fourier transform: Fhn=(−i)nhn\mathcal F h_n = (-i)^n h_n (with the unitary normalisation 12π∫e−ixξ\frac{1}{\sqrt{2\pi}}\int e^{-ix\xi}), because F\mathcal F commutes with H=12(P2+X2)H = \frac12(P^2 + X^2). So the fractional powers Fα=e−iαπN/2\mathcal F^\alpha = e^{-i\alpha\pi N/2} are the time evolution of the oscillator: the quantum oscillator rotates phase space, and its evolution over a quarter period is the Fourier transform, up to a phase. See harmonic analysis and functional analysis.

Algebra— The Heisenberg group and the Stone–von Neumann theorem

The commutation relations define the Heisenberg Lie algebra, spanned by X,P,IX, P, I with [X,P]=iℏI[X, P] = i\hbar I; exponentiating gives the Weyl relations eisXeitP=e−istℏeitPeisXe^{isX}e^{itP} = e^{-ist\hbar}e^{itP}e^{isX} between bounded unitary operators, which avoid domain problems. The Stone–von Neumann theorem (Stone 1930, von Neumann 1931) says that every irreducible strongly continuous unitary representation of the Weyl relations with ℏ≠0\hbar \ne 0 is unitarily equivalent to the Schrödinger representation on L2(R)L^2(\R): matrix mechanics and wave mechanics had to agree. In infinitely many degrees of freedom (quantum field theory) uniqueness fails, and inequivalent representations describe different phases of matter. Abstractly, observables form a C*-algebra and states are positive normalised functionals on it; the Gelfand–Naimark–Segal construction recovers a Hilbert space from each state. See representation theory.

Geometry— Projective Hilbert space and the Bloch sphere

Pure states form the projective space P(H)\mathbb P(\mathcal H), a Kähler manifold with the Fubini–Study metric, and transition probabilities are geometric: ∣⟨ϕ,ψ⟩∣2=cos⁡2d(ϕ,ψ)|\langle \phi, \psi \rangle|^2 = \cos^2 d(\phi, \psi), where dd is the Fubini–Study distance. For a qubit, P(C2)=CP1\mathbb P(\C^2) = \C P^1 is the Riemann sphere, isometric (up to scale) to the Bloch sphere S2S^2, and unitary evolution acts by rotations: SU(2)SU(2) acting on C2\C^2 descends to SO(3)SO(3) acting on S2S^2. Schrödinger evolution is a Hamiltonian flow on P(H)\mathbb P(\mathcal H) for the symplectic form of the Fubini–Study metric, with the expectation ⟨H⟩\langle H \rangle as Hamiltonian function, and a state transported around a closed loop returns with a geometric phase equal to a symplectic area — the Berry phase (1984). The classical limit, and the passage from classical to quantum observables, is the subject of geometric quantisation on symplectic manifolds.

Probability— Born's rule and non-commutative probability

For a single observable AA and state ψ\psi, the spectral theorem produces an ordinary probability measure B↦∥EA(B)ψ∥2B \mapsto \|E_A(B)\psi\|^2 on R\R, and AA becomes a random variable. For commuting observables, a joint spectral measure gives a joint distribution. For non-commuting ones there is in general no joint distribution reproducing all their statistics: the Kochen–Specker theorem (1967) rules out non-contextual hidden variables in dimension ≥3\ge 3, and Bell's theorem (1964) shows that the correlations of entangled pairs violate inequalities that any local probabilistic model must satisfy (the CHSH bound 22 is exceeded up to 222\sqrt 2, Tsirelson's bound). Quantum theory is a genuinely non-commutative probability theory, whose "random variables" are self-adjoint operators and whose "expectation" is the state A↦⟨ψ,Aψ⟩A \mapsto \langle \psi, A\psi \rangle. See measure-theoretic probability.

Topology— Spin and the double cover of the rotation group

Physical rotations form SO(3)SO(3), whose fundamental group is Z/2\Z/2: a rotation by 2π2\pi about an axis is a loop that cannot be contracted, though going around it twice can. Because states are rays, a symmetry need only act projectively, and Wigner's theorem plus Bargmann's analysis show that the projective representations of SO(3)SO(3) are exactly the representations of its universal (double) cover SU(2)≅S3SU(2) \cong S^3. Those that do not descend to SO(3)SO(3) are the half-integer spins: rotating an electron's state by 2π2\pi multiplies it by −1-1, an effect observed in neutron interferometry (1975). The topology of the rotation group is therefore visible in the classification of particles into bosons and fermions. See the fundamental group and Lie groups.

History & global context

History and context

  • Max Planck (1900) quantised the energy of radiation oscillators; Albert Einstein (1905) the light itself; Niels Bohr (1913) the atom, with the frequency rule. Satyendra Nath Bose (1924) found the statistics of photons and Louis de Broglie (1924) proposed matter waves.
  • Werner Heisenberg (1925) founded matrix mechanics, developed with Max Born and Pascual Jordan, who found the commutation relation; Paul Dirac (1925–1930) gave its algebraic form and the transformation theory; Erwin Schrödinger (1926) found wave mechanics and showed its equivalence with matrix mechanics; Born (1926) gave the probability interpretation.
  • Heisenberg (1927) stated the uncertainty principle; Earle Kennard (1927) proved σXσP≥ℏ/2\sigma_X\sigma_P \ge \hbar/2; Hermann Weyl (1927–1928) introduced the Weyl relations and group-theoretic methods; Howard Percy Robertson (1929) proved the general inequality.
  • John von Neumann (Mathematische Grundlagen der Quantenmechanik, 1932) created the theory of unbounded self-adjoint operators and their spectral theorem for this purpose; Marshall Stone (1930, 1932) proved his theorem on unitary groups and, with von Neumann, the uniqueness theorem. Ernst Hellinger and Otto Toeplitz (1910), Aurel Wintner (1947) and Helmut Wielandt (1949) proved the theorems on unboundedness; Israel Gelfand, Mark Naimark (1943) and Irving Segal (1947) founded the C*-algebraic approach.
  • Tosio Kato (1951) proved the self-adjointness of atomic Hamiltonians, putting the hydrogen atom and heavier atoms on rigorous ground; John Bell (1964) and Simon Kochen and Ernst Specker (1967) proved the no-go theorems that underlie today's quantum information science.
Further reading

Further reading

  • Brian C. Hall, Quantum Theory for Mathematicians (2013) — the closest match to this lesson: unbounded operators, the spectral theorem, Stone's theorem, the oscillator, with full proofs.
  • Leon A. Takhtajan, Quantum Mechanics for Mathematicians (2008) — from classical mechanics to quantisation, path integrals and more.
  • Michael Reed and Barry Simon, Methods of Modern Mathematical Physics I: Functional Analysis (1972) and II: Fourier Analysis, Self-Adjointness (1975) — the standard reference for the operator theory.
  • Gerald Teschl, Mathematical Methods in Quantum Mechanics (2nd ed., 2014) — concise, rigorous, freely available from the author.
  • John von Neumann, Mathematical Foundations of Quantum Mechanics (1932; English translation 1955) — the founding text.
  • P. A. M. Dirac, The Principles of Quantum Mechanics (4th ed., 1958) — the physicist's classic, for intuition and notation.