# Tensor product of Hilbert spaces

Short description: Tensor product space endowed with a special inner product

In mathematics, and in particular functional analysis, the tensor product of Hilbert spaces is a way to extend the tensor product construction so that the result of taking a tensor product of two Hilbert spaces is another Hilbert space. Roughly speaking, the tensor product is the metric space completion of the ordinary tensor product. This is an example of a topological tensor product. The tensor product allows Hilbert spaces to be collected into a symmetric monoidal category.[1]

## Definition

Since Hilbert spaces have inner products, one would like to introduce an inner product, and thereby a topology, on the tensor product that arises naturally from the inner products on the factors. Let $\displaystyle{ H_1 }$ and $\displaystyle{ H_2 }$ be two Hilbert spaces with inner products $\displaystyle{ \langle\cdot, \cdot\rangle_1 }$ and $\displaystyle{ \langle\cdot, \cdot\rangle_2, }$ respectively. Construct the tensor product of $\displaystyle{ H_1 }$ and $\displaystyle{ H_2 }$ as vector spaces as explained in the article on tensor products. We can turn this vector space tensor product into an inner product space by defining $\displaystyle{ \left\langle\phi_1 \otimes \phi_2, \psi_1 \otimes \psi_2\right\rangle = \left\langle\phi_1, \psi_1\right\rangle_1 \, \left\langle\phi_2, \psi_2\right\rangle_2 \quad \mbox{for all } \phi_1,\psi_1 \in H_1 \mbox{ and } \phi_2,\psi_2 \in H_2 }$ and extending by linearity. That this inner product is the natural one is justified by the identification of scalar-valued bilinear maps on $\displaystyle{ H_1 \times H_2 }$ and linear functionals on their vector space tensor product. Finally, take the completion under this inner product. The resulting Hilbert space is the tensor product of $\displaystyle{ H_1 }$ and $\displaystyle{ H_2. }$

### Explicit construction

The tensor product can also be defined without appealing to the metric space completion. If $\displaystyle{ H_1 }$ and $\displaystyle{ H_2 }$ are two Hilbert spaces, one associates to every simple tensor product $\displaystyle{ x_1 \otimes x_2 }$ the rank one operator from $\displaystyle{ H_1^* }$ to $\displaystyle{ H_2 }$ that maps a given $\displaystyle{ x^*\in H^*_1 }$ as $\displaystyle{ x^* \mapsto x^*(x_1) \, x_2. }$

This extends to a linear identification between $\displaystyle{ H_1 \otimes H_2 }$ and the space of finite rank operators from $\displaystyle{ H_1^* }$ to $\displaystyle{ H_2. }$ The finite rank operators are embedded in the Hilbert space $\displaystyle{ HS(H_1^*, H_2) }$ of Hilbert–Schmidt operators from $\displaystyle{ H_1^* }$ to $\displaystyle{ H_2. }$ The scalar product in $\displaystyle{ HS(H_1^*, H_2) }$ is given by $\displaystyle{ \langle T_1, T_2 \rangle = \sum_n \left \langle T_1 e_n^*, T_2 e_n^* \right \rangle, }$ where $\displaystyle{ \left(e_n^*\right) }$ is an arbitrary orthonormal basis of $\displaystyle{ H_1^*. }$

Under the preceding identification, one can define the Hilbertian tensor product of $\displaystyle{ H_1 }$ and $\displaystyle{ H_2, }$ that is isometrically and linearly isomorphic to $\displaystyle{ HS(H_1^*, H_2). }$

### Universal property

The Hilbert tensor product $\displaystyle{ H_1 \otimes H_2 }$ is characterized by the following universal property (Kadison Ringrose):

Theorem —  There is a weakly Hilbert–Schmidt mapping $\displaystyle{ p : H_1 \times H_2 \to H_1 \otimes H_2 }$ such that, given any weakly Hilbert–Schmidt mapping $\displaystyle{ L : H_1 \times H_2 \to K }$ to a Hilbert space $\displaystyle{ K, }$ there is a unique bounded operator $\displaystyle{ T : H_1 \otimes H_2 \to K }$ such that $\displaystyle{ L = T p. }$

A weakly Hilbert-Schmidt mapping $\displaystyle{ L : H_1 \times H_2 \to K }$ is defined as a bilinear map for which a real number $\displaystyle{ d }$ exists, such that $\displaystyle{ \sum_{i,j=1}^\infty \bigl| \left\langle L(e_i, f_j), u \right \rangle\bigr|^2 \leq d^2\,\|u\|^2 }$ for all $\displaystyle{ u \in K }$ and one (hence all) orthonormal bases $\displaystyle{ e_1, e_2, \ldots }$ of $\displaystyle{ H_1 }$ and $\displaystyle{ f_1, f_2, \ldots }$ of $\displaystyle{ H_2. }$

As with any universal property, this characterizes the tensor product H uniquely, up to isomorphism. The same universal property, with obvious modifications, also applies for the tensor product of any finite number of Hilbert spaces. It is essentially the same universal property shared by all definitions of tensor products, irrespective of the spaces being tensored: this implies that any space with a tensor product is a symmetric monoidal category, and Hilbert spaces are a particular example thereof.

### Infinite tensor products

Two different definitions have historically been proposed for the tensor product of an arbitrary-sized collection $\displaystyle{ \{H_n\}_{n\in N} }$ of Hilbert spaces. Von Neumann's traditional definition simply takes the "obvious" tensor product: to compute $\displaystyle{ \bigotimes_n{H_n} }$, first collect all simple tensors of the form $\displaystyle{ \bigotimes_{n\in N}{e_n} }$ such that $\displaystyle{ \prod_{n\in N}{\|e_n\|}\lt \infty }$. The latter describes an pre-inner product through the polarization identity, so take the closed span of such simple tensors modulo that inner product's isotropy subspaces. This definition is almost never separable, in part because, in physical applications, "most" of the space describes impossible states. Modern authors typically use instead a definition due to Guichardet: to compute $\displaystyle{ \bigotimes_n{H_n} }$, first select a unit vector $\displaystyle{ v_n\in H_n }$ in each Hilbert space, and then collect all simple tensors of the form $\displaystyle{ \bigotimes_{n\in N}{e_n} }$, in which only finitely-many $\displaystyle{ e_n }$ are not $\displaystyle{ v_n }$. Then take the $\displaystyle{ L^2 }$ completion of these simple tensors.[2][3]

### Operator algebras

Let $\displaystyle{ \mathfrak{A}_i }$ be the von Neumann algebra of bounded operators on $\displaystyle{ H_i }$ for $\displaystyle{ i=1,2. }$ Then the von Neumann tensor product of the von Neumann algebras is the strong completion of the set of all finite linear combinations of simple tensor products $\displaystyle{ A_1\otimes A_2 }$ where $\displaystyle{ A_i \in \mathfrak{A}_i }$ for $\displaystyle{ i = 1, 2. }$ This is exactly equal to the von Neumann algebra of bounded operators of $\displaystyle{ H_1\otimes H_2. }$ Unlike for Hilbert spaces, one may take infinite tensor products of von Neumann algebras, and for that matter C*-algebras of operators, without defining reference states.[3] This is one advantage of the "algebraic" method in quantum statistical mechanics.

## Properties

If $\displaystyle{ H_1 }$ and $\displaystyle{ H_2 }$ have orthonormal bases $\displaystyle{ \left\{\phi_k\right\} }$ and $\displaystyle{ \left\{\psi_l\right\}, }$ respectively, then $\displaystyle{ \left\{\phi_k \otimes \psi_l\right\} }$ is an orthonormal basis for $\displaystyle{ H_1\otimes H_2. }$ In particular, the Hilbert dimension of the tensor product is the product (as cardinal numbers) of the Hilbert dimensions.

## Examples and applications

The following examples show how tensor products arise naturally.

Given two measure spaces $\displaystyle{ X }$ and $\displaystyle{ Y }$, with measures $\displaystyle{ \mu }$ and $\displaystyle{ \nu }$ respectively, one may look at $\displaystyle{ L^2(X \times Y), }$ the space of functions on $\displaystyle{ X \times Y }$ that are square integrable with respect to the product measure $\displaystyle{ \mu\times\nu. }$ If $\displaystyle{ f }$ is a square integrable function on $\displaystyle{ X, }$ and $\displaystyle{ g }$ is a square integrable function on $\displaystyle{ Y, }$ then we can define a function $\displaystyle{ h }$ on $\displaystyle{ X\times Y }$ by $\displaystyle{ h(x, y) = f(x) g(y). }$ The definition of the product measure ensures that all functions of this form are square integrable, so this defines a bilinear mapping $\displaystyle{ L^2(X) \times L^2(Y) \to L^2(X\times Y). }$ Linear combinations of functions of the form $\displaystyle{ f(x) g(y) }$ are also in $\displaystyle{ L^2(X \times Y). }$ It turns out that the set of linear combinations is in fact dense in $\displaystyle{ L^2(X \times Y), }$ if $\displaystyle{ L^2(X) }$ and $\displaystyle{ L^2(Y) }$ are separable.[4] This shows that $\displaystyle{ L^2(X) \otimes L^2(Y) }$ is isomorphic to $\displaystyle{ L^2(X \times Y), }$ and it also explains why we need to take the completion in the construction of the Hilbert space tensor product.

Similarly, we can show that $\displaystyle{ L^2(X;H) }$, denoting the space of square integrable functions $\displaystyle{ X \to H, }$ is isomorphic to $\displaystyle{ L^2(X) \otimes H }$ if this space is separable. The isomorphism maps $\displaystyle{ f(x) \otimes \phi \in L^2(X)\otimes H }$ to $\displaystyle{ f(x) \phi \in L^2(X;H) }$ We can combine this with the previous example and conclude that $\displaystyle{ L^2(X) \otimes L^2(Y) }$ and $\displaystyle{ L^2(X \times Y) }$ are both isomorphic to $\displaystyle{ L^2\left(X; L^2(Y)\right). }$

Tensor products of Hilbert spaces arise often in quantum mechanics. If some particle is described by the Hilbert space $\displaystyle{ H_1, }$ and another particle is described by $\displaystyle{ H_2, }$ then the system consisting of both particles is described by the tensor product of $\displaystyle{ H_1 }$ and $\displaystyle{ H_2. }$ For example, the state space of a quantum harmonic oscillator is $\displaystyle{ L^2(\R), }$ so the state space of two oscillators is $\displaystyle{ L^2(\R) \otimes L^2(\R), }$ which is isomorphic to $\displaystyle{ L^2\left(\R^2\right). }$ Therefore, the two-particle system is described by wave functions of the form $\displaystyle{ \psi\left(x_1, x_2\right). }$ A more intricate example is provided by the Fock spaces, which describe a variable number of particles.

## References

1. B. Coecke and E. O. Paquette, Categories for the practising physicist, in: New Structures for Physics, B. Coecke (ed.), Springer Lecture Notes in Physics, 2009. arXiv:0905.3010
2. Nik Weaver (8 March 2020). Answer to Result of continuum tensor product of Hilbert spaces. MathOverflow. StackExchange.
3. Bratteli, O. and Robinson, D: Operator Algebras and Quantum Statistical Mechanics v.1, 2nd ed., page 144. Springer-Verlag, 2002.
4. Kolmogorov, A. N.; Fomin, S. V. (1961). Elements of the theory of functions and functional analysis. 2: Measure, the Lebesgue integral, and Hilbert space. Albany, NY: Graylock. p. 100, ex. 3..