Discrete vs Continuous States
Quantum mechanics describes states in a Hilbert space — a complete, complex inner-product space. That Hilbert space can be finite-dimensional or infinite-dimensional, and the contrast between the two cases is at the heart of the difference between a qubit and a particle with a wavefunction.
The qubit: a two-dimensional Hilbert space
A qubit lives in , the simplest non-trivial quantum system. Its most general pure state is the superposition
where are the amplitudes and the normalisation condition demands
The Born rule is immediate: a measurement in the computational basis yields outcome with probability and outcome with probability . Because the Hilbert space has dimension , there are exactly two possible outcomes, and the state is fully specified by two complex numbers (with one real constraint from normalisation and one irrelevant global phase, leaving two real degrees of freedom). More generally, an -qubit register lives in , with discrete basis states.
The particle on a line: an infinite-dimensional Hilbert space
A particle moving freely in one dimension has a position that can take any value in . Its state is encoded not in a finite list of amplitudes but in a wavefunction , a complex-valued function over a continuous variable. Think of as an uncountably infinite column of amplitudes — one complex number for every point .
The Hilbert space is , the set of all square-integrable functions on the real line. Its inner product is
the continuous analogue of the discrete sum above. Normalisation reads
Because the dimension is infinite there is no finite list of numbers that represents the state exactly. You need the entire function. (A technical aside: although the position label ranges over an uncountable continuum, is separable — it has a countable orthonormal basis, for example the harmonic-oscillator eigenfunctions . So its Hilbert-space dimension is countably infinite, , the same as the discrete space of square-summable sequences. The continuum lives in the labels, not in the dimension.)
The Born rule in each language
The translation between the two cases is direct:
| Feature | Qubit (discrete) | Particle on a line (continuous) | |---------|-----------------|----------------------------------| | State space | | | | State vector | | | | Amplitude for outcome | | | | Probability rule | | | | Normalisation | | |
In the continuous case you cannot ask "what is the probability of finding the particle at exactly ?" The answer is always zero, because a single point has measure zero. The physically meaningful quantity is the probability density , which has units of in one dimension. Probability lives in integrals, not in the value of at a point.
Why this matters for quantum computing
Most of the circuits you build in this course operate entirely in the finite-dimensional setting: qubits, basis states, complex amplitudes, discrete measurement outcomes. The infinite- dimensional wavefunction language is needed when you want to describe how a physical qubit — say, an electron spin — connects to the underlying quantum mechanics of a real particle.
Spin- is the cleanest bridge: the spin degree of freedom of an electron is a genuine two-level system with Hilbert space , so the qubit formalism is not an approximation for spin — it is exact. By contrast, the position and momentum of the same electron live in , requiring the continuous formalism. In practice, a full description of the electron couples both Hilbert spaces via a tensor product, but for quantum-computing purposes the spin (qubit) part is almost always handled in isolation.
Sign in on the full site to ask questions and join the discussion.