Home/Themes/Theme 2

Hilbert Spaces and Linear Operators

Algebra & topology, linear operator theory & spectral theory. Dirac notation.

Hilbert Spaces

Vector spaces, norms, inner products, strong topology, completeness, and Hilbert bases to establish quantum mechanics' formal framework.

Vector spacesNormsInner productsHilbert spacesPre-Hilbert spacesCompletenessHilbert basisHilbert dimensionModel spacesIsomorphisms

In this lesson we define Hilbert spaces precisely, first showing how and where they fit within the main branches of mathematics, namely algebra and topology. We will arrive at the classification theorem for Hilbert spaces: two Hilbert spaces are isometrically isomorphic if and only if they share the same Hilbertian dimension, a notion not to be confused with the algebraic dimension of a vector space, since these two only coincide in finite dimension. We will give the model reference spaces for each case (finite dimension, countably infinite dimension, and uncountably infinite dimension), with an overview of their use in elementary quantum mechanics. We will close with a discussion on whether or not the physics defined by Hilbert spaces related by isomorphisms is invariant.

1. Mathematical structures in physics

In order to reach Hilbert spaces [1,2], we give a brief review of the "map of mathematics" most commonly used in theoretical physics. The following page shows a highly simplified and largely incomplete version of such a map, but one that is sufficient for this course, cf. Figure (1).

If we start from the intuitive notion of a set of points1, we proceed by gradually adding structure to this set. We will progressively explain this scheme in what follows.

Note 1 : There would be more to say about this question, but it is beyond the scope of the present discussion — cf. formal logic and predicate calculus.
Illustrated guide to some mathematical structures used in fundamental physics. Solid black lines between A B indicate that B is a substructure or subset (depending on the case) of A. Dashed lines indicate that B requires the notions of A in order to be constructed. Purple arrows and text are reserved for applications in physics. The right-hand branch on differential geometry is not immediately useful in elementary quantum mechanics.
Figure 1. Illustrated guide to some mathematical structures used in fundamental physics. Solid black lines between A \to B indicate that B is a substructure or subset (depending on the case) of A. Dashed lines indicate that B requires the notions of A in order to be constructed. Purple arrows and text are reserved for applications in physics. The right-hand branch on differential geometry is not immediately useful in elementary quantum mechanics.

1.1. Algebraic structures and vector spaces

Starting from sets of points, we can go directly into the left-hand branch of our map (1), that of algebraic structures, generally used to describe sets of numbers (but not only).

To do this, we add one or more internal composition laws to the set of points; as these laws satisfy certain rules (associativity, commutativity, existence of an identity element, etc.), we obtain specific structures.

In this figure, we represent some fundamental structures: the magma (a set equipped with an internal composition law without any particular property), groups, rings, and fields. Many others exist, such as semigroups, monoids, or non-commutative rings — but they are not shown here to keep the figure readable. Each of these structures specializes the previous one: every field is a ring, every ring is a group for addition, etc. The field structure is the most important, since it is in particular the structure of the real or complex numbers equipped with the four ordinary arithmetic operations. It is also the structure on top of which vector spaces can be built.

Definition 1 (Vector space)
A vector space EE over a field K\mathbb{K} is a set equipped with two operations:
  1. addition: +:E×EE+: E \times E \to E, (x,y)x+y(x,y) \mapsto x+y,
  2. scalar multiplication: K×EE\mathbb{K} \times E \to E, (α,x)αx(\alpha,x) \mapsto \alpha x,

satisfying the usual axioms: commutativity, associativity, existence of a zero vector and of opposites, distributivity, etc.

One can then form linear combinations and speak of linearly independent, generating families, as well as of a basis and the dimension of the vector space. Note that this chapter will involve two notions of basis that must be clearly distinguished: algebraic bases, which apply to all vector spaces, and Hilbertian bases, which apply only to Hilbert spaces. They coincide in finite dimension but not in infinite dimension. Similarly, one must distinguish the algebraic dimension from the Hilbertian dimension. Some reminders therefore seem in order for what follows.

Definition 2 (Algebraic basis)
Let EE be a vector space over a field K\mathbb{K}. A family (ei)iI(e_i)_{i \in I} is an algebraic basis of EE if every vector xEx \in E can be written in a unique way as a finite linear combination of elements of the family (here II need not have finite cardinality): x=iFαiei,FI,F finite, αiK.x = \sum_{i \in F} \alpha_i e_i, \quad F \subset I, F \text{ finite}, \ \alpha_i \in \mathbb{K}.

This definition is equivalent to the other usual one: a family (ei)iI(e_i)_{i \in I} is a basis if and only if it is both linearly independent and generating for EE. The notion of basis allows us to speak of the dimension of a vector space.

Definition 3 (Algebraic dimension of a vector space)
The dimension invariance theorem establishes that all algebraic bases of a given vector space EE have the same cardinality. This common cardinality of all bases of EE is called the dimension of EE.
  • If EE has a finite basis consisting of nn vectors, we say that EE is of dimension nn.
  • If EE has no finite basis, we say that EE is of infinite dimension.

Note that, even in the infinite-dimensional case, the definition of an algebraic basis requires every vector to decompose as a finite sum of basis vectors. The reason is that we cannot allow a decomposition as an infinite sum, since doing so requires knowing whether the sum converges, which in turn requires a topology. This will be possible in a Hilbert space and will justify an adapted notion of Hilbertian basis, cf. Section 2.3.

A natural question is: how many different vector spaces are there? Can they be classified? The answer, algebraically speaking, is yes. To do so, one needs an equivalence relation: the vector space isomorphism, which is a one-to-one map between two vector spaces EE and FF respecting the linear structure:

Definition 4 (Vector space isomorphism)
Let EE and FF be two vector spaces over the same field K\mathbb{K}. A map T:EFT : E \to F is an isomorphism if:
  1. TT is linear: for all (x,y)E2(x,y) \in E^2 and αK\alpha \in \mathbb{K}, T(x+y)=T(x)+T(y),T(αx)=αT(x),T(x+y) = T(x) + T(y), \quad T(\alpha x) = \alpha T(x),
  2. TT is bijective.

In this case, we write EFE \simeq F, and T1:FET^{-1} : F \to E exists and is linear.

Remark: this definition is purely algebraic. When EE and FF are equipped with a topology compatible with their vector structure, one distinguishes the notion of topological isomorphism: one further requires that both TT and T1T^{-1} be continuous. We will return to this in the case of normed vector spaces and Hilbert spaces.

We then have the major theorem:

Theorem 1 (Classification in finite dimension)
Two finite-dimensional vector spaces over K\mathbb{K} are isomorphic if and only if they have the same dimension. In particular, every vector space of dimension nn over K\mathbb{K} is isomorphic to Kn\mathbb{K}^n.

Thus, over K=R\mathbb{K} = \R or C\C, there is in practice only one model of finite-dimensional vector space of dimension nn: respectively Rn\R^n or Cn\C^n, the set of nn-vectors with real or complex components.

In infinite dimension, the classification principle is identical: if one accepts the axiom of choice, then one can prove that every vector space admits a basis (called a Hamel basis), and the classification theorem generalizes accordingly: two vector spaces over the same field K\mathbb{K} are isomorphic if and only if their bases have the same cardinality.

The cardinality of an infinite basis is expressed using transfinite cardinals. These allow one to distinguish different "sizes" of infinity. The smallest infinite cardinal is denoted 0\aleph_0: it is the cardinality of N\mathbb{N}, but also of Z\mathbb{Z} and Q\mathbb{Q}. One then defines by recursion the hierarchy 0<1<2<\aleph_0 < \aleph_1 < \aleph_2 < \cdots, where each n+1\aleph_{n+1} is the smallest cardinal strictly greater than n\aleph_n (with no cardinal between them). In mathematical logic, the continuum hypothesis consists in assuming that there is no infinity of intermediate cardinality between N\mathbb{N} and R\mathbb{R}, in which case 1\aleph_1 corresponds to the cardinality of R\mathbb{R}.

This classification is, however, of limited practical use, since the Hamel basis is in general not explicitly constructible. The classification of vector spaces thus remains essentially theoretical. The situation changes in normed and Hilbert spaces, where orthonormal bases can be made explicit, at least in the case of finite or countably infinite Hilbertian dimension, cf. Section 3.

But before reaching Hilbert spaces, we must first follow the middle branch of our map of mathematics and discuss metric spaces and normed spaces.

1.2. Metric spaces and normed spaces

If we follow the middle branch of our map (1), we must first endow a set of points with a topology, but we will detail this in another chapter (topology of normed and Hilbert spaces). For now, one can simply retain that a topology provides a notion of locality, from which one can define notions of convergence, limit, and continuity. In particular, metric spaces are topological spaces. They are sets of points equipped with a distance, the distance serving to define a notion of locality.

Definition 5 (Metric space)
A metric space is a pair (X,d)(X,d) where XX is a set and d:X×XR+d : X \times X \to \mathbb{R^+} is a distance, which satisfies, for all (x,y,z)X3(x,y,z) \in X^3: d(x,y)0,d(x,y)=0    x=y,d(x,y)=d(y,x),(Symmetry)d(x,z)d(x,y)+d(y,z).(Triangle inequality)\begin{aligned} & d(x,y) \geq 0, \quad d(x,y) = 0 \iff x=y, \\[0.5em] & d(x,y) = d(y,x), \quad \textrm{(Symmetry)}\\[0.5em] & d(x,z) \leq d(x,y) + d(y,z). \quad \textrm{(Triangle inequality)} \end{aligned}

Having set this up, we can now merge the algebraic and topological branches of map 1 by turning our attention to metric spaces whose underlying set XX is a vector space or, equivalently, to vector spaces equipped with a distance. This will lead us to a structure of fundamental importance in quantum mechanics, of which Hilbert spaces are a special case: normed vector spaces, or NVS.

Note that we do not want to allow all distances. Indeed, since the space is linear, we want a distance compatible with the vector structure:

Definition 6 (Distance compatible with the vector structure)
Let EE be a vector space over K\mathbb{K} and dd a metric on EE. We say that dd is compatible with the vector structure if it satisfies:
  1. Translation invariance: d(x+z,y+z)=d(x,y)d(x+z, y+z) = d(x,y) for all (x,y,z)E3(x,y,z) \in E^3
  2. Homogeneity: d(λx,λy)=λd(x,y)d(\lambda x, \lambda y) = |\lambda| d(x,y) for all (x,y)E2(x,y) \in E^2 and λK\lambda \in \mathbb{K}

These conditions express the fact that the distance respects the geometry of the vector space: it must be translation invariant (homogeneity of space), and homotheties must preserve distance ratios2\, 3. Now, the following proposition brings us to normed spaces: if dd is a compatible metric on the vector space EE, then the map giving the distance to the origin, i.e. to the zero vector, x=d(x,0E)\norm{x} = d(x, 0_E), is a norm.

Note 2 : One might think that rotation invariance should also be required, but this would force norms to be isotropic, such as the Euclidean norm; it would, for instance, rule out x=x12+4x22\norm{x} = \sqrt{x_1^2 + 4 x_2^2} in the plane, which is nevertheless a valid norm despite being anisotropic.
Note 3 : Note that this also requires an absolute value on K\mathbb{K} (one speaks of a valued field). In practice, in what follows, we use the usual absolute value on R\R and the modulus on C\C.
Proof.
It indeed satisfies the following properties defining norms:
  1. x0\|x\| \geq 0 and x=0    x=0E\|x\| = 0 \iff x = 0_E
  2. λx=λx\|\lambda x\| = |\lambda| \|x\| for all xEx \in E and λK\lambda \in \mathbb{K}
  3. x+yx+y\|x + y\| \leq \|x\| + \|y\| for all (x,y)E2(x,y) \in E^2

A vector space equipped with such a distance is then a normed vector space:

Definition 7 (Normed vector space)
A normed vector space is a pair (E,)(E, \|\cdot\|) where EE is a vector space and \|\cdot\| is a norm on EE. Through this norm, normed vector spaces are topological spaces.

Every normed vector space (E,)(E, \|\cdot\|) canonically determines a metric space (E,d)(E, d) via d(x,y)=xyd(x,y) = \|x-y\|, which is then automatically compatible with the vector structure. Thus, normed vector spaces correspond bijectively to a particular subclass of metric spaces. In this sense, they are a subset of metric spaces.

2. Hilbert spaces

We have thus arrived at the normed spaces of Fig. (1). Note that it is customary to say simply normed space for normed vector space, and more commonly to use the acronym NVS. The next step is to define pre-Hilbert spaces, and then the Hilbert spaces that form the mathematical framework of quantum mechanics.

Since quantum mechanics is built on the complex numbers, we will henceforth restrict to the case K=C\mathbb{K} = \C. Up to now, we have used the letters EE and FF to denote vector spaces and normed spaces. From now on, the letters H\mathcal{H} and G\mathcal{G} will be used for (pre-)Hilbert spaces. Vectors will continue to be denoted x,y,zx, y, z, etc.

2.1. Pre-Hilbert spaces and inner products

A pre-Hilbert space is a normed vector space whose norm is derived from an inner product. This is not always the case: some norms cannot be obtained from an inner product, for instance the supremum norm4. Pre-Hilbert spaces are therefore a strict subset of normed vector spaces. We recall the definition of a Hermitian inner product over C\C:

Note 4 : Indeed, on Cn\C^n for example, the supremum norm is by definition x=maxixi\|x\|_\infty = \max_i |x_i|. One can show that it does not satisfy the parallelogram identity x+y2+xy2=2(x2+y2)\|x+y\|^2 + \|x-y\|^2 = 2(\|x\|^2 + \|y\|^2), which must however always hold for a norm coming from an inner product.
Definition 8 (Hermitian inner product on a C\C-vector space)
A Hermitian inner product on a complex vector space H\mathcal{H} is a map ,:H×HC\langle \cdot, \cdot \rangle : \mathcal{H} \times \mathcal{H} \to \mathbb{C} satisfying:
  1. Linearity in the second argument: (x,y,z)H3,(λ,μ)C2\forall (x, y, z) \in \mathcal{H}^3, \forall (\lambda, \mu) \in \mathbb{C}^2,

    x,λy+μz=λx,y+μx,z\langle x, \lambda y + \mu z \rangle = \lambda \langle x, y \rangle + \mu \langle x, z \rangle

    (1)

  2. Hermitian symmetry: (x,y)H2\forall (x, y) \in \mathcal{H}^2,

    x,y=y,x\langle x, y \rangle = \langle y, x \rangle^*

    (2)

  3. Positive definiteness: xH\forall x \in \mathcal{H},

    x,x0andx,x=0x=0H\langle x, x \rangle \geq 0 \quad \text{and} \quad \langle x, x \rangle = 0 \Leftrightarrow x = 0_{\H}

    (3)

Combining properties (1) and (2) implies conjugate linearity (or antilinearity) in the first argument5: λx+μy,z=λx,z+μy,z\langle \lambda x + \mu y, z \rangle = \lambda^* \langle x, z \rangle + \mu^* \langle y, z \rangle. A map that is linear in one argument and conjugate-linear in the other is called sesquilinear6. In what follows we will simply say inner product without repeating the word Hermitian: it is implicit.

Note 5 : Mathematicians generally adopt the opposite convention (linear in the first argument, conjugate-linear in the second), but this does not change any of the fundamental properties.
Note 6 : On an R\mathbb{R}-vector space, conjugation is unnecessary and the inner product is simply bilinear.

Anticipating topological properties, we point out an important result: the inner product is continuous in both variables, i.e. if xnxx_n \to x and ynyy_n \to y in the norm sense (that is, xnx0\|x_n - x\| \to 0 and yny0\|y_n - y\| \to 0), then

xn,ynx,y in C\langle x_n, y_n \rangle \to \langle x, y \rangle \text{ in } \C

We will see in the postulates of quantum measurement that the probability of observing a physical quantity associated with an eigenvector φ\phi when the system is in state ψ\psi is given by φ,ψ2|\langle \phi , \psi \rangle|^2 (cf. Postulates chapter). Continuity of the inner product thus ensures that a small variation of the state ψ\psi produces a small variation of the probabilities, which was desirable.

The inner product satisfies another fundamental property:

Theorem 2 (Cauchy-Schwarz inequality)
For all vectors xx and yy in H2\mathcal{H}^2, we have:

x,yx y|\langle x,y\rangle |\leqslant \|x\|\ \|y\|

(4)

where x  =def  x,x\|x\| \equiv \sqrt{\langle x, x \rangle}.

This inequality is used in particular to prove that the map xx=x,xx \mapsto \|x\| = \sqrt{\langle x, x \rangle} is indeed a norm, as the notation suggests.

Proof.
We verify the three criteria for a norm. We have x2=x,x0\|x\|^2 = \langle x, x \rangle \geq 0 with equality if and only if x=0Hx = 0_{\H}. This follows directly from the definition of the inner product. Moreover, λx=λx,λx=λ2x,x=λx\|\lambda x\| = \sqrt{\langle \lambda x, \lambda x \rangle} = \sqrt{|\lambda|^2 \langle x, x \rangle} = |\lambda| \|x\|. Finally, we write x+y2=x+y,x+y=x2+2x,y+y2x2+2x,y+y2.\begin{aligned} \|x + y\|^2 &= \langle x+y, x+y \rangle \\ &= \|x\|^2 + 2\,\Re\langle x, y \rangle + \|y\|^2 \\ &\leq \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2. \end{aligned}

Using Cauchy-Schwarz, x,yxy|\langle x, y \rangle| \leq \|x\|\,\|y\|, we obtain:

x+y2x2+2xy+y2=(x+y)2,\|x+y\|^2 \leq \|x\|^2 + 2\|x\|\,\|y\| + \|y\|^2 = \bigl(\|x\| + \|y\|\bigr)^2,

and we get the triangle inequality by taking the square root.

We thus arrive at the following definition:

Definition 9 (Complex pre-Hilbert space)
A complex pre-Hilbert space is a vector space equipped with a Hermitian inner product. The map x=x,x\|x\| = \sqrt{\langle x, x \rangle} is a norm, making it a normed vector space.

In a complex pre-Hilbert space H\mathcal{H}, we have the following useful formulas.

Proposition 1 (Formula sheet)
Let (x,y)H2(x, y) \in \mathcal{H}^2 and let (x1,,xn)(x_1, \dots, x_n) be a family of vectors in H\mathcal{H}.
  1. Pythagorean theorem: x,y=0    x+y2=x2+y2\langle x, y \rangle = 0 \iff \|x + y\|^2 = \|x\|^2 + \|y\|^2. More generally, if the (xi)1in(x_i)_{1 \le i \le n} are pairwise orthogonal:

    i=1nxi2=i=1nxi2\left\| \sum_{i=1}^n x_i \right\|^2 = \sum_{i=1}^n \|x_i\|^2

    (5)

  2. Parallelogram identity:

    x+y2+xy2=2(x2+y2).\|x + y\|^2 + \|x - y\|^2 = 2 \left( \|x\|^2 + \|y\|^2 \right).

    (6)

  3. Polarization identity:

    x,y=14(x+y2xy2+ix+iy2ixiy2)\langle x, y \rangle = \frac{1}{4} \left( \|x + y\|^2 - \|x - y\|^2 + i \|x + iy\|^2 - i \|x - iy\|^2 \right)

    (7)

The latter two formulas are connected to an important theorem linking Hermitian inner products and norms. The Fréchet-von Neumann-Jordan theorem states that a norm \|\cdot\| on a normed space EE comes from an inner product if and only if it satisfies the parallelogram identity. The parallelogram identity is the test: it allows one to check whether an inner product exists, and if so, the polarization identity is the recipe that reconstructs the inner product from the norm.

2.2. Completeness and Hilbert spaces

To move from pre-Hilbert spaces to Hilbert spaces, there is an essential topological notion: completeness.

Definition 10 (Hilbert space)
A Hilbert space H\mathcal{H} is a pre-Hilbert space that is complete for the norm induced by its inner product, i.e. every Cauchy sequence in H\mathcal{H} converges in H\mathcal{H}. These are sequences satisfying:

ε>0,NNsuch thatpNqNd(xp,xq)<ε,\forall \varepsilon > 0, \exists N \in \N \quad \textrm{such that} \quad \forall p\geq N\quad \forall q\geq N\quad d(x_{p},x_{q})<\varepsilon ,

(8)

for the distance induced by the norm. These are sequences whose terms become arbitrarily close to one another as nn grows.

Here again, we will revisit these topological aspects in the dedicated chapter. For the moment, let us simply note that completeness is essential to quantum physics. Intuitively, a complete space has no "holes". In other words, one cannot have a sequence of elements of H\mathcal{H} that converges to something lying outside H\mathcal{H}. This is what the rational numbers lack: a suitably constructed sequence of rationals can tend toward a number that does not belong to the rationals; this is in fact one way to construct the real numbers.

In quantum mechanics, every physical state of the system is a vector of the Hilbert space and conversely. This is the first postulate of quantum mechanics. Consequently, if the state space were not complete, the evolution of a wave function could, for example, "leave the space" under the action of the Schrödinger equation and become a "non-physical state", which would make no sense.

Completeness also enters another fundamental postulate: the results of quantum measurements must correspond to the spectrum of physical observables viewed as self-adjoint linear operators. Now, an operator does not always admit an adjoint in a non-complete space; moreover, completeness of the space is necessary for the spectral theorem, which allows one to study the structure of self-adjoint operators.

Finally, any quantum expression involving an infinite sum (for example: Fourier series expansion, expansion on a basis of eigenstates, etc.) requires completeness to be meaningful. For instance, writing ψ=n=1cnn|\psi\rangle = \sum_{n=1}^{\infty} c_n |n\rangle in Dirac notation (cf. dedicated chapter) presupposes that this series exists, which is only guaranteed by completeness.

There is, however, good news: this subtlety of completeness is only needed in infinite dimension. In finite dimension, an important theorem simplifies the matter:

Theorem 3 (Completeness of finite-dimensional normed spaces)
Every finite-dimensional normed vector space over a complete valued field7 (such as R\mathbb{R} or C\mathbb{C}) is complete. In particular, every finite-dimensional pre-Hilbert space over R\R or C\C is automatically a Hilbert space.
Note 7 : A field equipped with an absolute value and itself complete for that absolute value.

We may now turn to the algebraic description of Hilbert spaces.

2.3. Algebraic bases and Hilbert bases

We recalled above the definition of an algebraic basis in vector spaces, cf. Definition 2. We saw that it allows the decomposition of vectors as a finite sum. The main idea behind the introduction of a norm-induced topology and of a complete space is as follows. We can now speak of convergence of sequences. In particular, we can examine the convergence of partial sums (xn)(x_n), where xn=k=1nxkx_n = \sum_{k=1}^{n} x_k for certain vectors xkx_k. If this sum converges, we then obtain a series, i.e. an infinite sum: (xn)x(x_n) \to x and x=k=1xkx = \sum_{k=1}^{\infty} x_k. When the space is complete, this limit is guaranteed to belong to the space.

In other words, when the algebraic dimension of a Hilbert space is infinite, we can now afford to decompose vectors as infinite series. This gives us a new notion of basis:

Definition 11 (Hilbert basis)
Let H\mathcal{H} be a Hilbert space. A family (ei)iI(e_i)_{i \in I} is a Hilbert basis if it is a total orthonormal family, i.e. if:
  1. It is orthonormal: ei,ej=δij\langle e_i, e_j \rangle = \delta_{ij}
  2. It is total: finite linear combinations are dense in H\mathcal{H}: Vect(ei,iI)=H,\overline{\mathrm{Vect}(e_i, i \in I)} = \mathcal{H},

    where the overline denotes the closure. See the topology chapter for more details.

To understand this definition, we need the topological notion of density:

Definition 12 (Density in a normed space)
Let (X,X)(X, \|\cdot\|_X) be a normed space and AXA \subseteq X. We say that AA is dense in XX if every point of XX can be approximated arbitrarily closely by points of AA, i.e. if for every xXx \in X and every ε>0\varepsilon > 0, there exists aAa \in A such that xa<ε\norm{x -a} < \varepsilon.

This notion applies in particular to Hilbert spaces, which are normed spaces. Thus, totality means that every vector of H\H can be approximated arbitrarily closely by a finite linear combination of elements of H\H.

Note that, unlike for algebraic bases, we are not saying that every vector decomposes as a finite linear combination of elements, but rather that it can be approximated as closely as desired by a linear combination of elements from the Hilbert basis. By completeness, these approximations actually converge to xx. We then have the following theorem, for any cardinality of II:

Theorem 4 (Decomposition theorem)
If (ei)iI(e_i)_{i \in I} is a Hilbert basis of H\mathcal{H}, then every xHx \in \mathcal{H} can be written as:

x=iIei,xeix = \sum_{i \in I} \langle e_i, x \rangle e_i

(9)

Moreover, we have Parseval's identity:

x2=iIei,x2\|x\|^2 = \sum_{i \in I} |\langle e_i, x \rangle|^2

(10)

where, if II is uncountable, the sum runs only over an at most countable set of indices depending on xx.

The link between the definition of a Hilbert basis and the decomposition theorem is not immediate.

Proof.
There are two key ideas in the proof. First, the totality of the total orthonormal family {ei}iI\{e_i\}_{i \in I} allows us to construct a sequence of approximations to any point xx of the Hilbert space. Indeed, density says that for every ε>0\epsilon > 0, there exists a finite linear combination yε=iJαieiy_\epsilon = \sum_{i \in J} \alpha_i e_i (where JIJ \subset I is a finite index set) such that xyε<ε|x - y_\epsilon| < \epsilon.

The second idea is to note that the partial sum SJ=iJei,xeiS_J = \sum_{i \in J} \langle e_i, x \rangle e_i is the orthogonal projection of xx onto VJ=Vect(ei,iJ)V_J = \mathrm{Vect}(e_i, i \in J). By a property of the orthogonal projection (taken here for granted), SJS_J minimizes the distance to xx:

xSJ=infyVJxyxyε<ε|x - S_J| = \inf_{y \in V_J} |x - y| \leq |x - y_\epsilon| < \epsilon

Consequently, taking a sequence εn0\epsilon_n \to 0, we obtain a sequence of finite subsets JnJ_n such that xSJnεn\|x - S_{J_n}\| \leq \epsilon_n. This alone is not yet enough to conclude the proof, since the sequence of JnJ_n is not necessarily increasing. In the countable case, it suffices to replace JnJ_n with Jn=J1JnJ_n' = J_1 \cup \cdots \cup J_n to obtain an increasing sequence of finite subsets such that xSJn0\|x - S_{J_n'}\| \to 0, which yields the desired convergence.

We note that in infinite dimension, the cardinality of an algebraic basis is always strictly greater than the cardinality of a Hilbert basis. The intuition is simple: finite linear combinations of the algebraic basis must reach every point xx, whereas they only have to approximate it for a Hilbert basis. The latter is thus "less precise" and requires fewer independent directions.8. In other words, the finite linear combinations from the Hilbert basis form only a tiny portion of the space (Vect(ei)H\mathrm{Vect}(e_i) \subsetneq \mathcal{H}). One therefore generally needs convergent infinite series to represent vectors in H\mathcal{H}.

Note 8 : More precisely, if H\mathcal{H} admits a countable Hilbert basis (of cardinality 0\aleph_0), then, via the Baire category theorem, an algebraic basis of this space is necessarily uncountable (cardinality at least 202^{\aleph_0}).
Remark 1 (Equivalence of bases in finite dimension)
What we have just said applies in infinite dimension. In finite dimension nn, by contrast, the two notions of basis coincide. Every Hilbert basis is an algebraic basis, and "almost conversely", the Gram-Schmidt orthonormalization procedure transforms any algebraic basis into a Hilbert basis. The family thus obtained, of cardinality nn, is automatically total since it already generates the entire space through finite combinations. The decomposition theorem is therefore trivial in finite dimension, and only useful in infinite dimension.

Let us finally mention another formula very useful in the mathematics of quantum physics.

Proposition 2 (Bessel's inequality)
Let (ei)iI(e_i)_{i \in I} be an orthonormal family. Then for every vector xHx \in \mathcal{H}:

iIx,ei2x2\sum_{i \in I} |\langle x, e_i \rangle|^2 \leq \|x\|^2

(11)

with equality (Parseval) if and only if the family is also total.

2.4. Hilbertian dimension and classification

We have almost all the ingredients needed to complete the classification of all Hilbert spaces. What remains is a fundamental invariant, the Hilbertian dimension:

Theorem 5 (Hilbertian dimension)
Let H\mathcal{H} be a Hilbert space. The following statements hold:
  1. Every Hilbert space admits at least one Hilbert basis.
  2. All Hilbert bases of H\mathcal{H} have the same cardinality.

We can therefore speak of the Hilbertian dimension of H\mathcal{H}, denoted dim(H)\dim(\mathcal{H}). It is either finite, countably infinite, or uncountably infinite.

To classify Hilbert spaces, we finally need an appropriate equivalence relation between these spaces. We will therefore extend the notion of vector space isomorphism seen in Definition 4 first to the normed case, then to the Hilbert case, for now relying on an intuitive notion of continuity:

Definition 13 (Isomorphisms of normed and Hilbert spaces)
Let EE and FF be normed vector spaces, and let T:EFT : E \to F be a linear map.
  • We say that TT is an isomorphism of normed vector spaces (or topological isomorphism) if TT is linear, bijective, and both TT and T1T^{-1} are continuous.
  • In the case of Hilbert spaces H\H and G\mathcal{G}, we say that TT is a Hilbert space isomorphism (or isometric isomorphism) if TT additionally preserves the inner product: T(x),T(y)G=x,yH,(x,y)H2.\langle T(x), T(y) \rangle_\mathcal{G} = \langle x, y \rangle_{\H}, \quad \forall (x,y) \in \H^2.

    We also say that TT is a unitary operator.

Note that if TT preserves the inner product, then TT automatically preserves the norm (T(x)G=xH\|T(x)\|_{\mathcal{G}} = \|x\|_{\H}). This is why one speaks of an isometry (linear and bijective). The cornerstone of the classification is then the following theorem:

Theorem 6 (Characterization by dimension)
Two Hilbert spaces H1\mathcal{H}_1 and H2\mathcal{H}_2 are isometrically isomorphic if and only if they have the same Hilbertian dimension: dim(H1)=dim(H2)\dim(\mathcal{H}_1) = \dim(\mathcal{H}_2).
Corollary 1 (Classification of Hilbert spaces.)
Up to isometric isomorphism, there exists:
  1. For every integer n1n \geq 1, a unique Hilbert space of finite dimension nn, whose canonical representative is Cn\mathbb{C}^n (or Rn\mathbb{R}^n over R\mathbb{R}).
  2. A unique Hilbert space of countably infinite dimension, whose canonical representative is 2(N)\ell^2(\mathbb{N}), the space of square-summable sequences: 2(N)={(xn)nN:n=1xn2<}\ell^2(\mathbb{N}) = \left\{(x_n)_{n \in \mathbb{N}} : \sum_{n=1}^{\infty} |x_n|^2 < \infty\right\}
  3. For each uncountably infinite cardinal κ1\kappa \geq \aleph_1, a unique Hilbert space of dimension κ\kappa, whose representative is 2(κ)\ell^2(\kappa)9.
    Note 9 : For an index set II of cardinality κ\kappa, we define 2(I)={(xi)iI:iIxi2<}\ell^2(I) = \{(x_i)_{i \in I} : \sum_{i \in I} |x_i|^2 < \infty\}, where the sum means that only an at most countable number of terms are nonzero.

Note that the word dimension now, of course, refers to the Hilbertian dimension. Every Hilbert space is isometrically isomorphic to one of these model spaces, and this classification is complete. We detail them in the following section, setting aside the uncountably infinite dimensional case, which we will come back to much later. They serve as reference spaces for quantum systems with finite degrees of freedom (e.g. spin), countably infinite degrees of freedom (e.g. quantum mechanics of a point particle), or uncountable degrees of freedom (e.g. quantum field theory).

Remark 2 (Separability and cardinality)
A Hilbert space H\mathcal{H} is said to be separable if it admits a countable dense subset. One can show that a Hilbert space is separable if and only if its Hilbertian dimension is at most countable (thus finite, or countably infinite).

The above classification is therefore equivalent to the following: Hilbert spaces of finite dimension, separable infinite-dimensional Hilbert spaces, or non-separable Hilbert spaces, as written in the map of Fig. (1).

Although this notion is not necessary for the classification above, it is useful in practice: it is often easier to show whether a space is separable or not than to explicitly construct a Hilbert basis for it.

3. Model spaces

3.1. The Hilbert space Cn\C^n

Explicitly, it is the set of nn-tuples of complex numbers:

Cn={x=(x1,x2,...,xn):xiC,i=1,...,n}\mathbb{C}^n = \{x = (x_1, x_2, ..., x_n) : x_i \in \mathbb{C}, i = 1, ..., n\}

equipped with:

  • The Hermitian inner product: x,y=i=1nxiyi\langle x, y \rangle = \sum_{i=1}^{n} x_i^* y_i (note the complex conjugate)
  • The associated Euclidean norm: x=i=1nxi2\|x\| = \sqrt{\sum_{i=1}^{n} |x_i|^2}

It is a normed vector space of dimension nn, which is guaranteed to be complete since it is finite-dimensional over a complete field. It is therefore a Hilbert space. Its canonical basis is, as column vectors:

ei=(00100)(the 1 being in the i-th position).e_i = \begin{pmatrix} 0 \\ \vdots \\ 0 \\ 1 \\ 0 \\ \vdots \\ 0 \end{pmatrix} \quad \text{(the 1 being in the i-th position).}

It is a Hilbert basis of cardinality nn, and it is also an algebraic basis, meaning that every vector xCnx \in \mathbb{C}^n decomposes exactly as the finite sum:

x=i=1nxiei=i=1nei,xeix = \sum_{i=1}^{n} x_i e_i = \sum_{i=1}^{n} \langle e_i , x \rangle e_i

This Hilbert space is used for every quantum system with a finite number of mutually distinguishable states, in particular two-level systems, or qubits.

3.2. The Hilbert space 2(N)\ell^2(\mathbb{N})

It is defined as the set of square-summable sequences:

2(N)={x=(xn)n1:xnC,n=1xn2<}\ell^2(\mathbb{N}) = \left\{x = (x_n)_{n \geq 1} : x_n \in \mathbb{C}, \sum_{n=1}^{\infty} |x_n|^2 < \infty\right\}

One can show that it is a Hilbert space when equipped with:

  • The inner product: x,y=i=1xiyi\langle x, y \rangle = \sum_{i=1}^{\infty} x_i^* y_i (note the infinite sum this time),
  • The associated norm: x=i=1xi2\|x\| = \sqrt{\sum_{i=1}^{\infty} |x_i|^2} (same remark)

We show here that it is countably infinite-dimensional via an explicit construction of its canonical basis. It resembles that of Cn\C^n. For every iNi \in \mathbb{N}, we define (also as a column vector):

ei=(0,0,,0,1,0,),e_i = (0,0,\dots,0,1,0,\dots),

that is, the vector whose ii-th coordinate is 11 and whose other coordinates are 00. The only difference with the finite-dimensional case is thus that it has infinitely many components.

Proof.
The family {ei}iN\{e_i\}_{i \in \mathbb{N}} is obviously orthonormal, and it is also a total family, because for every x2(N)x \in \ell^2(\mathbb{N}) given by the sequence (x1,x2,...)(x_1, x_2, ...), one can approximate xx by the finite partial sums: x(N)=i=1Nxiei=(x1,x2,,xN,0,0,).x^{(N)} = \sum_{i=1}^N x_i e_i = (x_1, x_2, \dots, x_N, 0,0,\dots).

The difference indeed satisfies 10:

Note 10 : Here we use the following result: if n=1xn2<\sum_{n=1}^\infty |x_n|^2 < \infty, then the tail of the series tends to zero: limNn=N+1xn2=0.\lim_{N \to \infty} \sum_{n=N+1}^\infty |x_n|^2 = 0. This is related to the fact that we are left with infinitely many necessarily positive terms to sum.
xx(N)2=i=N+1xi2N0,\|x - x^{(N)}\|^2 = \sum_{i=N+1}^\infty |x_i|^2 \xrightarrow[N\to\infty]{} 0,

which shows that finite combinations of the eke_k are dense, cf. Definition 11. The {ei}iN\{e_i\}_{i \in \mathbb{N}} thus form a Hilbert basis whose cardinality is, by construction, that of N\N. The decomposition theorem then tells us that every vector x2(N)x \in \ell^2(\mathbb{N}) is written as

x=i=1xiei=i=1ei,xeix = \sum_{i=1}^\infty x_i e_i = \sum_{i=1}^\infty \langle e_i, x \rangle e_i

where the series converges in the 2\ell^2 norm.

This Hilbert space is used, for example, to describe the harmonic oscillator in quantum mechanics, since we will see that the energy eigenstates are indexed by an unbounded integer nn, so that every state of the harmonic oscillator is written as such a series.

3.3. The Hilbert space L2(R)L^2(\R)

In one-dimensional quantum mechanics of a point particle, the wave function ψ(x)\psi(x) is a complex-valued function of a real variable. The probabilistic interpretation requires that:

Rψ(x)ψ(x)dx=1.\int_\R \psi^*(x)\, \psi(x)\, dx = 1.

It is therefore natural to define the space associated with this quantum mechanics as the set of square-integrable functions:

H=L2(R)={ψ:RC  Rψ(x)2dx<}.\mathcal{H} = L^2(\R) = \big\{\psi : \R \to \mathbb{C} \ \big|\ \int_\R |\psi(x)|^2\, dx < \infty \big\}.

The "<< \infty" shows that one can always normalize a state. We equip it with the inner product:

ψ,φ=Rψ(x)φ(x)dx,\langle \psi, \phi \rangle = \int_\R \psi^*(x)\, \phi(x)\, dx,

which induces the norm:

ψ=ψ,ψ=Rψ(x)2dx.\|\psi\| = \sqrt{\langle \psi, \psi \rangle} = \sqrt{\int_\R |\psi(x)|^2 \, dx}.

One can show that this makes it a Hilbert space, but this is not completely trivial. An explicit Hilbert basis can be provided. Several are known (Hermite, wavelets, Laguerre, Walsh, ...). For instance, one first defines the Hermite polynomials through the recurrence relation:

Hn+1(x)=2xHn(x)2nHn1(x),H0(x)=1,  H1(x)=2x,H_{n+1}(x) = 2\, x\, H_n(x) - 2\, n\, H_{n-1}(x), \quad H_0(x) = 1, \; H_1(x) = 2x,

and then defines the Hermite functions:

ψn(x)=12nn!πex2/2Hn(x);\psi_n(x) = \frac{1}{\sqrt{2^n n! \sqrt{\pi}}}\, e^{-x^2/2} H_n(x) ;

we will take for granted here that these functions form an orthonormal family:

Rψn(x)ψm(x)dx=δnmwith here ψn=ψn\int_\R \psi_n(x) \, \psi_m(x) dx = \delta_{nm} \quad \textrm{with here ψn=ψn\psi_n^* = \psi_n}

and a total one; it is therefore a Hilbert basis. Remark: it turns out that this is also the eigenbasis of the 1D harmonic oscillator Hamiltonian. For more details, we refer the reader to Wikipedia [3]. In practice this basis is rarely used because the explicit expressions are absolutely horrendous. Another "basis" has been invented (though not truly a basis), namely a continuous generalized basis, the famous kets x\ket{x} to which we will return.

3.4. The Hilbert spaces L2(R3)L^2(\mathbb{R}^3) and L2(R3n)L^2(\mathbb{R}^{3n})

In three dimensions, we consider analogously L2(R3)L^2(\R^3) with the inner product

ψ,φ=R3ψ(x)φ(x)d3x.\langle \psi, \phi \rangle = \int_{\R^3} \psi^*(\mathbf{x})\, \phi(\mathbf{x})\, d^3x.

For a system of nn particles in three dimensions, the state space is

L2(R3n)={ψ:R3nC    R3nψ(x1,,xn)2d3x1d3xn<}.L^2(\mathbb{R}^{3n}) = \Bigl\{ \psi : \mathbb{R}^{3n} \to \mathbb{C} \;\Bigm|\; \int_{\mathbb{R}^{3n}} |\psi(\mathbf{x}_1, \dots, \mathbf{x}_n)|^2 \, d^3x_1 \dots d^3x_n < \infty \Bigr\}.

The inner product is given by

ψ,φ=R3nψ(x1,,xn)φ(x1,,xn)d3x1d3xn,\langle \psi, \phi \rangle = \int_{\mathbb{R}^{3n}} \psi^*(\mathbf{x}_1, \dots, \mathbf{x}_n)\, \phi(\mathbf{x}_1, \dots, \mathbf{x}_n)\, d^3x_1 \dots d^3x_n,

and the associated norm is

ψ=ψ,ψ=R3nψ(x1,,xn)2d3x1d3xn.\|\psi\| = \sqrt{\langle \psi, \psi \rangle} = \sqrt{\int_{\mathbb{R}^{3n}} |\psi(\mathbf{x}_1, \dots, \mathbf{x}_n)|^2 \, d^3x_1 \dots d^3x_n}.

These are all Hilbert spaces (taken for granted).

4. Closing remarks

What may surprise the reader in what we have seen so far is that L2(R)L^2(\R), used to describe 1D point-particle quantum mechanics, is isomorphic to L2(R3)L^2(\R^3), used to model three-dimensional physics. In another lesson, we will see in detail why this is not paradoxical. The main idea is that physics is not determined solely by the Hilbert space but also by a set of observables. Now, no isomorphism from L2(R)L^2(\R) to L2(R3)L^2(\R^3) is able to transport simultaneously the entire 1D observable algebra to the 3D one (i.e. from a single pair [X^,P^][\hat{X}, \hat{P}] to three independent pairs [X^i,P^j]=iδij[\hat{X}_i, \hat{P}_j] = i\hbar \delta_{ij}).

Nor does this isomorphism describe a mathematical equality: these two Hilbert spaces are in fact different as function spaces but they are nevertheless isomorphic in their Hilbert space structure. The isomorphism merely asserts that these two spaces are structurally similar, i.e. that they have the same size (as the cardinality of their Hilbert bases) and that they share the same Hilbert space structural properties: under this isomorphism, norms, distances, orthogonality, and the topological properties of convergence, continuity, etc. are preserved.

Thus, even though up to isometry there exists only one abstract Hilbert space for a given cardinal, there are infinitely many concrete realizations of it.

It was nonetheless worthwhile spending this much time understanding the classification of Hilbert spaces, since, as we saw, it corresponds in physics to distinct situations depending on the "dimensionality" of the quantum system considered, and in particular this classification is accompanied by different calculation rules (finite sums, infinite series, or continuous integrals depending on the nature of the basis). It also corresponds to a theory of linear operators that changes radically between the finite- and infinite-dimensional cases.

← Previous
General Introduction and Foundational Experiments
Next →
Lesson 2: Dual Space, Kets, Bras, Adjoint