2.1.1 Tensor Product#
Prompts
What is a tensor product of two Hilbert spaces, and how do basis states combine? For a two-particle system where each particle has \(d\) basis states, how many basis states does the combined system have?
How do operators acting on individual particles extend to the full multi-particle Hilbert space? Why do operators on different particles always commute?
What is a Pauli string, and why do Pauli strings form a complete basis for all multi-qubit Hermitian operators?
How does the dimension of the \(N\)-particle Hilbert space grow with \(N\)? What does this exponential growth imply for classical simulation of quantum systems?
Lecture Notes#
Overview#
Chapter 1 described a single qubit. To describe multiple quantum particles—atoms, photons, electrons in a solid—we need a systematic way to combine Hilbert spaces. The tensor product provides this: it constructs the full many-body state space from single-particle spaces, and its dimension grows exponentially with particle number. In this lesson we set up the many-body framework (states, operators, Pauli strings) that will be used throughout the rest of the course.
Many-Body State Space#
Tensor Product of Hilbert Spaces.
Tensor Product
When systems A and B have Hilbert spaces \(\mathcal{H}_A\) and \(\mathcal{H}_B\), the composite system lives in
If \(\{\vert a_i\rangle\}\) is a basis for A and \(\{\vert b_j\rangle\}\) a basis for B, then \(\{\vert a_i\rangle \otimes \vert b_j\rangle\}\) is a complete orthonormal basis for \(\mathcal{H}_{AB}\):
Two Qubits.
Each qubit has basis \(\{\vert 0\rangle, \vert 1\rangle\}\). The two-qubit space \(\mathcal{H} = \mathbb{C}^2 \otimes \mathbb{C}^2\) has dimension \(2 \times 2 = 4\), with basis:
where \(\vert ij\rangle \equiv \vert i\rangle_A \otimes \vert j\rangle_B\). Orthonormality: \(\langle i_1 j_1 \vert i_2 j_2\rangle = \delta_{i_1 i_2}\delta_{j_1 j_2}\).
Example: Tensor Product of Two Single-Qubit States
Let
Algebraic approach (distribute over superposition):
Vector approach (Kronecker product intuition):
which is exactly the coefficient vector of \(\alpha\gamma\vert 00\rangle+\alpha\delta\vert 01\rangle+\beta\gamma\vert 10\rangle+\beta\delta\vert 11\rangle\).
General Case: \(N\) Particles.
For \(N\) particles, each with \(d\) single-particle states \(\vert\alpha\rangle\) (\(\alpha = 1, \ldots, d\)), the composite space is \(\mathcal{H}^{\otimes N} = \mathcal{H}_1 \otimes \cdots \otimes \mathcal{H}_N\), with basis:
Here \(\alpha\) is a generic single-particle quantum number: it can label momentum \(\boldsymbol{k}\), position \(\boldsymbol{r}\), spin \(s\), an energy level, or any other set of quantum numbers that specifies a single-particle mode.
Hilbert Space Dimension
This grows exponentially with \(N\). For \(N = 300\) qubits: \(2^{300} \approx 10^{90}\) dimensions—more than the number of atoms in the observable universe.
A general state expands as:
with expansion coefficients satisfying \(\sum \vert \Psi_{\alpha_1 \cdots \alpha_N}\vert^2 = 1\).
Many-Body Operators#
Single-Body Operators.
An operator \(\hat{A}\) acting on particle \(i\) alone extends to the full space by tensoring with identity \(\hat{I}\) on all other particles:
Its action on basis states:
Example: \(\hat X_1 = \hat X\otimes\hat I\) on Two Qubits
Use the ordered basis \(\{\vert 00\rangle,\vert 01\rangle,\vert 10\rangle,\vert 11\rangle\}\).
Algebraic approach (operator action on kets):
So \(\hat X_1\) flips the first qubit and leaves the second unchanged.
Matrix approach (Kronecker product):
Question. Show similarly that
which flips the second qubit while leaving the first unchanged.
Operators on Different Particles Commute
This is because they act on different tensor factors.
Two-Body Operators.
An operator coupling particles \(i\) and \(j\) acts nontrivially on both tensor factors:
Example: Constructing \(\hat{X}_1\hat{X}_2\)
Problem. For two qubits, compute \(\hat{X}_1\hat{X}_2\) in matrix form and verify it matches \(\hat{X}\otimes\hat{X}\).
Solution. First write
Using the computational basis \(\{\vert 00\rangle,\vert 01\rangle,\vert 10\rangle,\vert 11\rangle\}\),
Now multiply the two matrices:
If we construct \(\hat{X}\otimes\hat{X}\) directly,
which is exactly the same matrix. This works because tensor products and matrix products satisfy the mixed-product rule
so here \((\hat{X}\otimes\hat{I})(\hat{I}\otimes\hat{X})=\hat{X}\otimes\hat{X}\).
General Operator Expansion.
Any operator on the \(N\)-particle space can be expanded in the basis of ket-bra products:
For multi-qubit systems, a more natural basis is given by Pauli strings.
Pauli Strings.
Pauli String Expansion
Any Hermitian operator on \(N\) qubits can be written as:
with \(c_{\{s_i\}} \in \mathbb{R}\). There are \(4^N\) Pauli strings; they form an orthogonal basis for all \(2^N \times 2^N\) Hermitian matrices.
Each Pauli string \(\bigotimes_i \hat{\sigma}_i^{s_i}\) is itself a tensor product of single-qubit operators. The decomposition is unique because the \(4^N\) Pauli strings are orthogonal under the trace inner product \(\langle \hat{A}, \hat{B}\rangle = \mathrm{Tr}(\hat{A}^\dagger \hat{B})\).
Example: Pauli String Decomposition
Problem. Decompose the projector \(\hat{P} = \vert 00\rangle\langle 00\vert\) into Pauli strings.
Solution. Use \(\vert 0\rangle\langle 0\vert = \tfrac{1}{2}(\hat{I} + \hat{Z})\):
Four Pauli strings, each with real coefficient \(\tfrac{1}{4}\).
Discussion: Exponential Complexity
The number of Pauli strings grows as \(4^N\), which is exponential in \(N\). This means specifying a general \(N\)-qubit Hamiltonian requires exponentially many parameters. In practice, physical Hamiltonians are local (each term couples only a few nearby qubits), so only polynomially many Pauli strings have nonzero coefficients. What are the implications for classical simulation of quantum systems?
Poll: Hilbert space of two qubits
Two qubits live in \(\mathcal{H}_A \otimes \mathcal{H}_B\) where each space is 2-dimensional. What is the dimension of the combined space?
(A) 2 (sum of dimensions).
(B) 4 (product of dimensions).
(C) 3 (average of dimensions).
(D) Infinite (tensor products are always infinite-dimensional).
Summary#
Tensor product: \(\mathcal{H}^{\otimes N} = \mathcal{H}_1 \otimes \cdots \otimes \mathcal{H}_N\) combines single-particle spaces; basis states \(\vert\alpha_1 \cdots \alpha_N\rangle\) are products of single-particle states; dimension \(d^N\) grows exponentially.
Many-body states: General state \(\vert\Psi\rangle = \sum_{\{\alpha_i\}} \Psi_{\alpha_1 \cdots \alpha_N} \vert\alpha_1 \cdots \alpha_N\rangle\) requires \(d^N\) coefficients; entangled states do not factor into products.
Single-body operators: \(\hat{A}_i = \hat{I} \otimes \cdots \otimes \hat{A} \otimes \cdots \otimes \hat{I}\) acts only on particle \(i\); operators on different particles commute.
Pauli strings: Any Hermitian operator on \(N\) qubits expands as \(\hat{O} = \sum_{\{s_i\}} c_{\{s_i\}} \bigotimes_i \hat{\sigma}_i^{s_i}\) with \(4^N\) orthogonal Pauli basis elements (exponential complexity for general operators).
See Also
1.1.2 State and Representation: Single-particle Hilbert spaces and tensor structure before imposing exchange symmetry.
2.1.2 Symmetrization: Symmetric/antisymmetric subspaces, (anti)symmetrization projectors, and many-body state construction.
2.1.3 Second Quantization: Occupation-number bases and ladder operators built on tensor-product many-body Hilbert space.
Homework#
1. Tensor product dimension. System A has dimension \(d_A = 3\) (basis \(\vert 1\rangle, \vert 2\rangle, \vert 3\rangle\)) and system B has \(d_B = 2\) (basis \(\vert 1\rangle, \vert 2\rangle\)). What is \(\dim(\mathcal{H}_A \otimes \mathcal{H}_B)\)? List all basis states.
2. Orthonormal basis verification. Verify that \(\{\vert 00\rangle, \vert 01\rangle, \vert 10\rangle, \vert 11\rangle\}\) form an orthonormal basis using the tensor product inner product \(\langle \alpha_1 \alpha_2 \vert \beta_1 \beta_2\rangle = \langle\alpha_1\vert\beta_1\rangle\langle\alpha_2\vert\beta_2\rangle\).
3. Kronecker product matrix. Write the \(4 \times 4\) matrix for \(\hat{Z} \otimes \hat{I}\) in the ordered basis \(\{\vert 00\rangle, \vert 01\rangle, \vert 10\rangle, \vert 11\rangle\}\).
4. Expectation in product states. For a product state \(\vert\psi\rangle = \vert\psi_A\rangle \otimes \vert\psi_B\rangle\), prove that \(\langle\psi\vert \hat{A} \otimes \hat{B}\vert\psi\rangle = \langle\psi_A\vert\hat{A}\vert\psi_A\rangle\langle\psi_B\vert\hat{B}\vert\psi_B\rangle\).
5. Commuting operators. Prove that \([\hat{A}_i, \hat{B}_j] = 0\) for \(i \neq j\), where \(\hat{A}_i = \hat{I} \otimes \cdots \otimes \hat{A} \otimes \cdots \otimes \hat{I}\).
6. Heisenberg interaction matrix. The Heisenberg interaction is \(\hat{H} = J(\hat{X}\otimes\hat{X} + \hat{Y}\otimes\hat{Y} + \hat{Z}\otimes\hat{Z})\).
(a) Write \(\hat{H}\) as a \(4\times 4\) matrix.
(b) How many Pauli strings appear?
7. Pauli string decomposition. Decompose \(\vert 00\rangle\langle 00\vert\) into Pauli strings \(\hat{\sigma}_1^{s_1} \otimes \hat{\sigma}_2^{s_2}\) with \(\hat{\sigma}^s \in \{\hat{I}, \hat{X}, \hat{Y}, \hat{Z}\}\). (Hint: \(\vert 0\rangle\langle 0\vert = \tfrac{1}{2}(\hat{I} + \hat{Z})\).)
8. Hilbert space parametrization. For \(N\) qubits, how many independent real parameters specify
(a) a general normalized state in \((\mathbb{C}^2)^{\otimes N}\), and
(b) a normalized product state \(\vert\psi_1\rangle \otimes \cdots \otimes \vert\psi_N\rangle\)? What does the difference represent?