Mathematical Foundations of Quantum Information
The voyage into quantum computation begins not with qubits or quantum gates, but with the mathematical language that makes quantum mechanics precise and calculable. This chapter establishes that language—a rigorous framework built upon Hilbert spaces, linear algebra, and operator theory—that will accompany us throughout every subsequent discussion of quantum algorithms, error correction, and information processing. Without this foundation, we would lack the tools to move beyond qualitative statements about quantum behavior into the realm of quantitative analysis and algorithmic design.
The choice of mathematical structure for quantum theory is not arbitrary. The physical requirements of quantum mechanics—superposition of states, interference effects, probabilistic outcomes, and the evolution of closed systems as unitary transformations—naturally lead to complex vector spaces equipped with inner products as the appropriate mathematical arena. We shall see that every quantum system, from a single spin-1/2 particle to a network of interacting qubits, finds its home within this framework, and that the operations we perform on quantum states correspond precisely to the algebraic operations available in such spaces.
Hilbert Spaces: The Mathematical Arena
A Hilbert space $\mathcal{H}$ is a complete inner product space over the field of complex numbers $\mathbb{C}$. This definition, while terse, encapsulates several crucial ingredients that we must unpack carefully. First, $\mathcal{H}$ is a vector space: it possesses an addition operation that combines any two vectors to produce a third, and a scalar multiplication operation that scales vectors by complex numbers. These operations must satisfy the familiar axioms of associativity, commutativity, distributivity, and the existence of additive identity and inverses. The vector spaces relevant to quantum computation are typically finite-dimensional, though infinite-dimensional Hilbert spaces appear in the study of continuous-variable quantum systems and certain theoretical considerations.
The inner product is a binary operation that takes two vectors and produces a complex number, with the notation $\langle \phi | \psi \rangle$ for vectors $|\phi\rangle$ and $|\psi\rangle$ in Dirac notation (which we shall discuss extensively in the following section). The inner product must satisfy three fundamental properties: conjugate symmetry, $\langle \phi | \psi \rangle = \langle \psi | \phi \rangle^*$, where $^*$ denotes complex conjugation; linearity in the second argument, $\langle \phi | (a|\psi\rangle + b|\chi\rangle) = a\langle \phi | \psi \rangle + b\langle \phi | \chi \rangle$; and positive definiteness, $\langle \psi | \psi \rangle \geq 0$ with equality if and only if $|\psi\rangle = 0$. From these axioms, we derive the important consequence that the inner product is conjugate-linear in the first argument: $\langle (a|\phi\rangle + b|\chi) | \psi \rangle = a^*\langle \phi | \psi \rangle + b^*\langle \chi | \psi \rangle$.
The inner product induces a norm on the space through the definition $\| |\psi\rangle \| = \sqrt{\langle \psi | \psi \rangle}$, which measures the "length" of a vector. This norm satisfies the Cauchy-Schwarz inequality, which states that for any two vectors $|\phi\rangle$ and $|\psi\rangle$:
$$|\langle \phi | \psi \rangle| \leq \| |\phi\rangle \| \cdot \| |\psi\rangle \|$$
The triangle inequality follows immediately:
$$\| |\phi\rangle + |\psi\rangle \| \leq \| |\phi\rangle \| + \| |\psi\rangle \|$$
These inequalities are not merely abstract results; they provide essential bounds in quantum information theory, where they appear in proofs of data processing inequalities, uncertainty relations, and capacity bounds for quantum channels.
The requirement of completeness means that every Cauchy sequence of vectors in $\mathcal{H}$ converges to a limit within $\mathcal{H}$. For finite-dimensional spaces, this property is automatic, but it becomes crucial when working with function spaces or infinite-dimensional systems. In quantum computation, we primarily concern ourselves with finite-dimensional Hilbert spaces, where completeness is guaranteed and technical complications are minimized.
The dimension of a Hilbert space is the cardinality of any orthonormal basis—a set of mutually orthogonal vectors with unit norm that spans the space. For an $n$-dimensional Hilbert space $\mathcal{H}_n$, we may choose an orthonormal basis $\{|0\rangle, |1\rangle, \ldots, |n-1\rangle\}$ such that any vector $|\psi\rangle$ can be uniquely expressed as:
$$|\psi\rangle = \sum_{i=0}^{n-1} \psi_i |i\rangle$$
where the coefficients $\psi_i = \langle i | \psi \rangle$ are complex numbers satisfying $\sum_i |\psi_i|^2 = 1$ (normalization). This representation establishes the connection between abstract vectors and column vectors of complex numbers, a correspondence that proves invaluable for computational purposes.
The Qubit Hilbert Space
The simplest non-trivial quantum system—and the fundamental unit of quantum information—is the qubit, a two-level quantum system whose state space is the two-dimensional Hilbert space $\mathcal{H}_2$. We denote a canonical orthonormal basis for this space by $\{|0\rangle, |1\rangle\}$, where these kets represent the computational basis states. An arbitrary qubit state is then:
$$|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$$
with complex amplitudes $\alpha, \beta \in \mathbb{C}$ satisfying $|\alpha|^2 + |\beta|^2 = 1$.
The Bloch sphere representation provides an elegant geometric description of qubit states. Any pure qubit state can be written as:
$$|\psi\rangle = \cos(\theta/2) |0\rangle + e^{i\phi} \sin(\theta/2) |1\rangle$$
for angles $\theta \in [0, \pi]$ and $\phi \in [0, 2\pi)$. The state is parameterized by a point on the unit sphere in $\mathbb{R}^3$, with $|0\rangle$ at the north pole ($\theta = 0$) and $|1\rangle$ at the south pole ($\theta = \pi$). This parametrization reveals that the global phase of a quantum state is unphysical—states differing by an overall phase factor $e^{i\gamma}$ correspond to the same point on the Bloch sphere and represent the same physical state.
The Bloch sphere representation extends to mixed states through the density matrix formalism, where any qubit density matrix can be written as:
$$\rho = \frac{1}{2}(I + \vec{r} \cdot \vec{\sigma})$$
where $\vec{\sigma} = (\sigma_x, \sigma_y, \sigma_z)$ are the Pauli matrices and $\vec{r}$ is a real three-dimensional vector with $|\vec{r}| \leq 1$. Pure states correspond to $|\vec{r}| = 1$, while mixed states fill the interior of the Bloch ball.
Dirac Notation: The Language of Quantum Mechanics
Paul Dirac's bra-ket notation, developed in the 1930s, provides an elegant and compact language for quantum mechanical calculations. The notation distinguishes between several related but distinct objects: kets, bras, operators, and the products that connect them. Mastery of this notation is essential for efficient work in quantum computation.
A ket, denoted $|\psi\rangle$, represents a vector in a Hilbert space. The symbol $\psi$ is a label identifying the vector; any labeling scheme is acceptable, though computational basis states are conventionally labeled by binary strings or integers. Kets behave as expected under vector operations: $|\phi\rangle + |\psi\rangle$ is a vector sum, and $c|\psi\rangle$ scales the vector by the complex number $c$. The ket notation makes explicit the distinction between the vector itself and its components relative to a particular basis.
A bra, denoted $\langle \phi|$, represents a linear functional on the Hilbert space—a mapping from kets to complex numbers. The action of the bra $\langle \phi|$ on the ket $|\psi\rangle$ is written as $\langle \phi | \psi \rangle$, which is precisely the inner product. The bra is thus the dual object to the ket, and the mapping from kets to bras is antilinear (conjugate-linear): $c|\psi\rangle$ maps to $c^