Let be the category whose objects are complex vector spaces
equipped with a scalar product
and whose morphisms are linear transformations. We call pairs
Hilbert spaces, and our convention is that the scalar product is linear in the second slot. The standard definition of Hilbert space includes an extra clause which we do not need and will omit (see below),
Problem 2.1. Prove that is an isomorphism if and only if it is a bijection. That is, isomorphisms in
are precisely linear bijections.
The Hilbert space norm on is defined by
To prove that this really is a norm, one needs the Cauchy-Schwarz inequality in order to verify the triangle inequality,
Problem 2.2. Prove the reverse triangle inequality: . Make sure you understand why this implies that the function
defined by
is continuous, in fact
-Lipschitz.
An important fact is that the scalar product in a Hilbert space can be recovered from the norm.
Theorem 2.3. (Polarization) For any we have
Two vectors in Hilbert space
are said to be orthogonal if
Theorem 2.4. (Pythagoras) For any orthogonal vectors , we have
An important generalization of the Pythagorean theorem is the following.
Theorem 2.5 (Parallelogram Law) For any we have
Much of the importance of the Parallelogram Law is that it characterizes when a normed vector space is a Hilbert space. This remarkable fact was first noticed by von Neumann.
Problem 2.3. If is a complex vector space equipped with a norm
then there exists a scalar product on
such that
if and only if the Parallelogram Law holds.
The standard definition of Hilbert space includes an extra completeness condition which we was not used above, and will not be used going forward. Therefore, we omit this condition from our definition of what constitutes a Hilbert space.
We define the quantization functor
as follows. First, for every finite set we declare
to be the vector space of complex-valued functions on together with the scalar product
Second, if are finite sets and
is a function, then we declare
to be the linear transformation defined by
In words, is the sum of the values of
over the points in the fiber of
over
Assuming
are disjoint, you can visualize this by associating to
the bipartite graph with vertex set
and edges
given by input-output pairs of
. This bipartite graph is a disjoint union of star graphs: each star consists of a hub vertex
and the remaining vertices of the star are the points of
which map to
via
The function
acts on
by summing the values of
over non-hub vertices.
Problem 2.4. Prove that finite sets and
are isomorphic if and only if the Hilbert spaces
and
are isomorphic.
Now let us explain why we refer to as the quantization functor. For each
the corresponding elementary function
is defined by
A basic feature of these functions is their orthogonality,
Theorem 2.6. For any , there exist unique scalars
such that
Proof: To prove existence, check that works. For uniqueness, imagine we have two such representations of
and then use evaluations of
to show these representations are the same.
Theorem 2.6 allow us to develop an alternative perspective which is widely used in algebra: we view complex-valued functions on as formal
-linear combinations of its points,
This is really just notation, and one should remember that the expression above is just a different way of writing down the function ,
The formal linear combination perspective on functions is also widely used in physics. A set
for example the natural set
can be viewed as the state space of a particle
on the integer lattice which may be located at any of the sites
. The particle
is “classical” in the sense of classical mechanics: it has a definite location, which may be any of the sites
A quantum particle does not have a definition location: before it is observed, it exists simultaneously in each of the states
, and only after it is observed does its location become definite. A (pure) quantum state is a formal linear combination
of classical states such that
where the amplitude is the probability that
will be in state
once it is observed. Thus, (pure) quantum states are the same thing as unit vectors in the Hilbert space
In applying the functor
, we are passing from the state space
of a classical particle to the state space
of a quantum particle.
Mathematically, many features of Hilbert space can be viewed as quantum generalizations of familiar set-theoretic properties. For example, let and
be two subsets of
and let
be their indicator functions in whose norms are
and
If
and
are disjoint, then
and
are orthogonal in
, and the Pythogorean theorem
reproduces However, the Pythagorean theorem holds for all pairs of orthogonal vectors in
, not just indicator functions of disjoint subsets of
Similarly, the Parallelogram Law can be seen as a quantum generalization of the inclusion-exclusion principle.
Definition 2.7. A Hilbert space is said to be finite-dimensional if there exists a finite set
such that
is isomorphic to
Otherwise, it is said to be infinite-dimensional.
This definition is non-traditional, but it has certain advantages. In particular, thanks to Problem 2.4 we can define the dimension of a finite-dimensional Hilbert space to be the cardinality of any finite set
such that
is isomorphic to
Problem 2.4. Prove that finite-dimensional Hilbert spaces and
are isomorphic if and only if they have the same dimension.
A more traditional approach to dimension is based on the following definition.
Definition 2.8. A finite set of vectors in a Hilbert space
is said to be linearly independent if
It is easy to see that any finite orthonormal set is linear independent. The converse is also true.
Proposition 2.9. (Gram-Schmidt) If contains a linearly independent set of cardinality
, then it contains an orthonormal set of cardinality
From here we establish the equivalence of Definition 2.7 and the standard definition of dimension.
Theorem 2.10. A Hilbert space has dimension
if and only if it contains an orthonormal set of cardinality
and does not contain an orthonormal set of cardinality