|q⟩ Bad Qubits

intermediate · Physics · Hilbert Spaces & Dirac Formalism

Continuous Bases (Position)

So far our bases have been discrete — countable sets like {0,1}\{|0\rangle, |1\rangle\}. A particle moving on a line, however, has a position that varies continuously, and its natural basis is uncountable: one ket x|x\rangle for every real point xx. Extending the formalism to this case is the bridge from qubits to wave mechanics.

The position basis

For a particle on a line we postulate a continuum of states {x:xR}\{|x\rangle : x \in \mathbb{R}\}, where x|x\rangle describes the particle located exactly at position xx. These are the eigenstates of the position operator x^\hat{x}:

x^x=xx.\hat{x}\,|x\rangle = x\,|x\rangle.

Because the label xx ranges over a continuum, sums become integrals and the Kronecker delta becomes the Dirac delta.

Delta normalization

Discrete orthonormality eiej=δij\langle e_i | e_j \rangle = \delta_{ij} generalizes to

xx=δ(xx),\langle x | x' \rangle = \delta(x - x'),

the Dirac delta function, defined by the property that for any smooth ff,

δ(xx)f(x)dx=f(x).\int_{-\infty}^{\infty} \delta(x - x')\, f(x')\, dx' = f(x).

The delta is not an ordinary function — it is a distribution, zero everywhere except x=xx = x' and with unit integral. Position eigenstates are therefore not normalizable in the usual sense (xx=δ(0)\langle x | x \rangle = \delta(0) is infinite), so they are idealizations rather than genuine physical states. Real states are smooth superpositions of them.

The continuous completeness relation

The discrete resolution of the identity kekek=I\sum_k |e_k\rangle\langle e_k| = I becomes an integral:

xxdx=I.\int_{-\infty}^{\infty} |x\rangle\langle x|\, dx = I.

Inserting this into any expression is the continuous version of the "insert a 1" trick. Applied to a state ψ|\psi\rangle,

ψ=xxψdx=ψ(x)xdx.|\psi\rangle = \int_{-\infty}^{\infty} |x\rangle\langle x|\psi\rangle\, dx = \int_{-\infty}^{\infty} \psi(x)\,|x\rangle\, dx.

The wavefunction is a component in this basis

The crucial identification is

ψ(x)=xψ.\psi(x) = \langle x | \psi \rangle.

The wavefunction ψ(x)\psi(x) is nothing more than the component of the abstract state ψ|\psi\rangle along the position eigenket x|x\rangle — the continuous analogue of the coefficient ck=ekψc_k = \langle e_k | \psi \rangle from the discrete case. Everything you learned about basis expansions carries over with sums replaced by integrals.

Inner products and the Born rule

The inner product of two states becomes an integral over the shared position label,

ϕψ=ϕxxψdx=ϕ(x)ψ(x)dx,\langle\phi|\psi\rangle = \int_{-\infty}^{\infty} \langle\phi|x\rangle\langle x|\psi\rangle\, dx = \int_{-\infty}^{\infty} \overline{\phi(x)}\,\psi(x)\, dx,

recovering the L2(R)L^2(\mathbb{R}) inner product from the Hilbert-spaces lesson. Normalization is the continuous Parseval identity,

ψψ=ψ(x)2dx=1,\langle\psi|\psi\rangle = \int_{-\infty}^{\infty} |\psi(x)|^2\, dx = 1,

and ψ(x)2dx|\psi(x)|^2\, dx is the Born-rule probability of finding the particle in the infinitesimal interval [x,x+dx][x, x + dx] — a probability density rather than a discrete probability.

The takeaway

A continuous basis replaces sums with integrals, the Kronecker delta with the Dirac delta, and discrete components with the wavefunction ψ(x)=xψ\psi(x) = \langle x|\psi\rangle. Position eigenstates are non-normalizable idealizations, but the completeness relation xxdx=I\int |x\rangle\langle x|\,dx = I lets the entire Dirac formalism operate unchanged in the continuum.

Sign in on the full site to ask questions and join the discussion.