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.
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.

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.
- addition: , ,
- scalar multiplication: , ,
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.
This definition is equivalent to the other usual one: a family is a basis if and only if it is both linearly independent and generating for . The notion of basis allows us to speak of the dimension of a vector space.
- If has a finite basis consisting of vectors, we say that is of dimension .
- If has no finite basis, we say that 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 and respecting the linear structure:
- is linear: for all and ,
- is bijective.
In this case, we write , and exists and is linear.
Remark: this definition is purely algebraic. When and are equipped with a topology compatible with their vector structure, one distinguishes the notion of topological isomorphism: one further requires that both and be continuous. We will return to this in the case of normed vector spaces and Hilbert spaces.
We then have the major theorem:
Thus, over or , there is in practice only one model of finite-dimensional vector space of dimension : respectively or , the set of -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 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 : it is the cardinality of , but also of and . One then defines by recursion the hierarchy , where each is the smallest cardinal strictly greater than (with no cardinal between them). In mathematical logic, the continuum hypothesis consists in assuming that there is no infinity of intermediate cardinality between and , in which case corresponds to the cardinality of .
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.
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 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:
- Translation invariance: for all
- Homogeneity: for all and
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 is a compatible metric on the vector space , then the map giving the distance to the origin, i.e. to the zero vector, , is a norm.
Proof.
- and
- for all and
- for all
A vector space equipped with such a distance is then a normed vector space:
Every normed vector space canonically determines a metric space via , 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 . Up to now, we have used the letters and to denote vector spaces and normed spaces. From now on, the letters and will be used for (pre-)Hilbert spaces. Vectors will continue to be denoted , 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 :
- Linearity in the second argument: ,
(1)
- Hermitian symmetry: ,
(2)
- Positive definiteness: ,
(3)
Combining properties (1) and (2) implies conjugate linearity (or antilinearity) in the first argument5: . 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.
Anticipating topological properties, we point out an important result: the inner product is continuous in both variables, i.e. if and in the norm sense (that is, and ), then
We will see in the postulates of quantum measurement that the probability of observing a physical quantity associated with an eigenvector when the system is in state is given by (cf. Postulates chapter). Continuity of the inner product thus ensures that a small variation of the state produces a small variation of the probabilities, which was desirable.
The inner product satisfies another fundamental property:
where .
This inequality is used in particular to prove that the map is indeed a norm, as the notation suggests.
Proof.
Using Cauchy-Schwarz, , we obtain:
and we get the triangle inequality by taking the square root.
We thus arrive at the following definition:
In a complex pre-Hilbert space , we have the following useful formulas.
- Pythagorean theorem: . More generally, if the are pairwise orthogonal:
(5)
- Parallelogram identity:
(6)
- Polarization identity:
(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 on a normed space 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.
for the distance induced by the norm. These are sequences whose terms become arbitrarily close to one another as 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 that converges to something lying outside . 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 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:
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 , where for certain vectors . If this sum converges, we then obtain a series, i.e. an infinite sum: and . 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:
- It is orthonormal:
- It is total: finite linear combinations are dense in :
where the overline denotes the closure. See the topology chapter for more details.
To understand this definition, we need the topological notion of density:
This notion applies in particular to Hilbert spaces, which are normed spaces. Thus, totality means that every vector of can be approximated arbitrarily closely by a finite linear combination of elements of .
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 . We then have the following theorem, for any cardinality of :
Moreover, we have Parseval's identity:
where, if is uncountable, the sum runs only over an at most countable set of indices depending on .
The link between the definition of a Hilbert basis and the decomposition theorem is not immediate.
Proof.
The second idea is to note that the partial sum is the orthogonal projection of onto . By a property of the orthogonal projection (taken here for granted), minimizes the distance to :
Consequently, taking a sequence , we obtain a sequence of finite subsets such that . This alone is not yet enough to conclude the proof, since the sequence of is not necessarily increasing. In the countable case, it suffices to replace with to obtain an increasing sequence of finite subsets such that , 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 , 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 (). One therefore generally needs convergent infinite series to represent vectors in .
Let us finally mention another formula very useful in the mathematics of quantum physics.
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:
- Every Hilbert space admits at least one Hilbert basis.
- All Hilbert bases of have the same cardinality.
We can therefore speak of the Hilbertian dimension of , denoted . 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:
- We say that is an isomorphism of normed vector spaces (or topological isomorphism) if is linear, bijective, and both and are continuous.
- In the case of Hilbert spaces and , we say that is a Hilbert space isomorphism (or isometric isomorphism) if additionally preserves the inner product:
We also say that is a unitary operator.
Note that if preserves the inner product, then automatically preserves the norm (). This is why one speaks of an isometry (linear and bijective). The cornerstone of the classification is then the following theorem:
- For every integer , a unique Hilbert space of finite dimension , whose canonical representative is (or over ).
- A unique Hilbert space of countably infinite dimension, whose canonical representative is , the space of square-summable sequences:
- For each uncountably infinite cardinal , a unique Hilbert space of dimension , whose representative is 9.
Note 9 : For an index set of cardinality , we define , 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).
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
Explicitly, it is the set of -tuples of complex numbers:
equipped with:
- The Hermitian inner product: (note the complex conjugate)
- The associated Euclidean norm:
It is a normed vector space of dimension , 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:
It is a Hilbert basis of cardinality , and it is also an algebraic basis, meaning that every vector decomposes exactly as the finite sum:
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
It is defined as the set of square-summable sequences:
One can show that it is a Hilbert space when equipped with:
- The inner product: (note the infinite sum this time),
- The associated norm: (same remark)
We show here that it is countably infinite-dimensional via an explicit construction of its canonical basis. It resembles that of . For every , we define (also as a column vector):
that is, the vector whose -th coordinate is and whose other coordinates are . The only difference with the finite-dimensional case is thus that it has infinitely many components.
Proof.
The difference indeed satisfies 10:
which shows that finite combinations of the are dense, cf. Definition 11. The thus form a Hilbert basis whose cardinality is, by construction, that of . The decomposition theorem then tells us that every vector is written as
where the series converges in the 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 , so that every state of the harmonic oscillator is written as such a series.
3.3. The Hilbert space
In one-dimensional quantum mechanics of a point particle, the wave function is a complex-valued function of a real variable. The probabilistic interpretation requires that:
It is therefore natural to define the space associated with this quantum mechanics as the set of square-integrable functions:
The "" shows that one can always normalize a state. We equip it with the inner product:
which induces the norm:
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:
and then defines the Hermite functions:
we will take for granted here that these functions form an orthonormal family:
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
3.4. The Hilbert spaces L 2 ( R 3 ) L^2(\mathbb{R}^3) and L 2 ( R 3 n ) L^2(\mathbb{R}^{3n})
In three dimensions, we consider analogously
For a system of
The inner product is given by
and the associated norm is
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
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.