Skip to content

Linear Algebra and Finite-Dimensional Hilbert Spaces

Finite-dimensional Hilbert spaces are the cleanest laboratory for quantum mechanics. Qubits, spin multiplets, finite-level atoms, lattice sites, truncated bases, and many numerical models can all be described with complex vectors and matrices. In this setting every linear map is bounded, every operator is defined on the whole space, and completeness is automatic. The essential ideas of states, observables, unitary evolution, projection, composition, and spectral resolution can therefore be separated from the domain subtleties of infinite-dimensional analysis.

This chapter supplies that finite-dimensional mathematical spine. It explains the structure behind matrix calculations and routes each topic to one canonical page. Physical measurement rules belong in Core Formalism; physical composite systems and entanglement belong in Composite Systems and Entanglement; operator domains and continuous spectra belong in Infinite-Dimensional Hilbert Spaces.

An nn-dimensional quantum state space is a complex inner-product space H\mathcal H isomorphic to Cn\mathbb C^n. After choosing an orthonormal basis {∣ei⟩}i=1n\{|e_i\rangle\}_{i=1}^n,

∣ψ⟩=∑i=1nci∣ei⟩,ci=⟨ei∣ψ⟩,|\psi\rangle =\sum_{i=1}^n c_i|e_i\rangle, \qquad c_i=\langle e_i|\psi\rangle,

and the identity has the resolution

I=∑i=1n∣ei⟩⟨ei∣.I=\sum_{i=1}^n |e_i\rangle\langle e_i|.

The basis converts vectors into columns and operators into matrices; it does not create the underlying objects. If a unitary matrix SS describes a change between orthonormal bases, then

c′=S†c,A′=S†AS.c'=S^\dagger c, \qquad A'=S^\dagger A S.

Inner products, eigenvalues, traces, expectation values, and transition amplitudes remain invariant when all representations are transformed consistently. Begin with Finite-Dimensional Hilbert Spaces, Orthonormal Bases, and Change of Basis if this distinction is not yet automatic.

The chapter is easiest to navigate as four connected strands.

  1. Space and representation: finite-dimensional Hilbert spaces, orthonormal bases, and changes of basis establish the setting and its coordinate descriptions.
  2. Operators and spectra: eigenvectors, diagonalization, Hermitian, unitary, and normal operators, projectors, and spectral decomposition organize observables and evolution.
  3. Operator calculus and algebra: matrix functions, exponentials, commutators, and anticommutators turn spectral data into dynamics and structural identities.
  4. Composition and factorization: tensor products, direct sums, singular value decomposition, and Schmidt decomposition distinguish ways of combining or decomposing spaces and maps.

Pauli matrices and Bloch-sphere geometry provide a two-dimensional meeting point where all four strands can be seen explicitly.

Several operator classes recur throughout quantum mechanics. Their definitions are short, but their implications differ.

ClassDefining conditionFinite-dimensional consequenceTypical role
HermitianA=A†A=A^\daggerreal eigenvalues and an orthonormal eigenbasisobservables and generators
UnitaryU†U=UU†=IU^\dagger U=UU^\dagger=Inorm preservation and eigenvalues of unit modulusbasis changes, symmetries, evolution
NormalNN†=N†NNN^\dagger=N^\dagger Nunitary diagonalizabilitycommon spectral framework
Orthogonal projectorP=P†=P2P=P^\dagger=P^2projection onto a subspacealternatives and spectral subspaces

Hermitian and unitary operators are normal, but a normal operator need be neither Hermitian nor unitary. The finite-dimensional spectral theorem states that a normal operator has a decomposition

N=∑λλPλ,I=∑λPλ,PλPμ=δλμPλ.N=\sum_{\lambda}\lambda P_{\lambda}, \qquad I=\sum_{\lambda}P_{\lambda}, \qquad P_{\lambda}P_{\mu} =\delta_{\lambda\mu}P_{\lambda}.

Each PλP_\lambda projects onto the full eigenspace for λ\lambda, so this form handles degeneracy without selecting a preferred basis inside a degenerate subspace. Hermiticity constrains λ\lambda to be real; unitarity constrains ∣λ∣=1\lvert\lambda\rvert=1.

The same projectors define functions of the operator:

f(N)=∑λf(λ)Pλ.f(N)=\sum_{\lambda}f(\lambda)P_{\lambda}.

This formula links Spectral Decomposition to Matrix Functions and Exponentials. It is the finite-dimensional prototype for the spectral measures and functional calculus used later in infinite-dimensional quantum mechanics.

The equation Av=λvAv=\lambda v identifies directions preserved by an operator. It does not guarantee that eigenvectors span the space. A matrix is diagonalizable exactly when it has enough linearly independent eigenvectors; normality is a stronger condition that guarantees an orthonormal eigenbasis.

This hierarchy matters:

Hermitian or unitary⟹normal⟹unitarily diagonalizable⟹diagonalizable.\text{Hermitian or unitary} \Longrightarrow \text{normal} \Longrightarrow \text{unitarily diagonalizable} \Longrightarrow \text{diagonalizable}.

The reverse implications generally fail. Use Eigenvalues and Eigenvectors for the eigenvalue equation and degeneracy, Diagonalization for the spanning question, and Normal Operators for the exact criterion for unitary diagonalization.

The commutator and anticommutator are

[A,B]=AB−BA,{A,B}=AB+BA.[A,B]=AB-BA, \qquad \{A,B\}=AB+BA.

For Hermitian operators in finite dimension, [A,B]=0[A,B]=0 is equivalent to the existence of a common orthonormal eigenbasis. Degeneracy must be handled at the level of invariant eigenspaces: commuting with AA means that BB preserves each eigenspace of AA, after which BB can be diagonalized within those subspaces.

Anticommutators encode a different algebraic relation and are especially useful for Pauli matrices and fermionic systems. The dedicated Commutators and Anticommutators page owns the identities; the physical relation among compatibility, measurement statistics, and uncertainty is developed in Compatibility, Commutators, and Uncertainty.

Direct sums and tensor products combine spaces in fundamentally different ways.

ConstructionDimensionBasic vectorsInterpretation
V⊕WV\oplus Wdim⁡V+dim⁡W\dim V+\dim Wordered pairs (v,w)(v,w)sectors, alternatives, or invariant blocks
V⊗WV\otimes W(dim⁡V)(dim⁡W)(\dim V)(\dim W)linear combinations of v⊗wv\otimes wjoint degrees of freedom

A block-diagonal operator naturally acts on a direct sum. A local operator A⊗IA\otimes I naturally acts on one factor of a tensor product. Replacing one construction by the other changes both dimension and physical meaning.

The mathematical construction of product spaces and product operators is canonical in Tensor Products. The interpretation of those spaces as physical composites, together with reduced states and entanglement, belongs in Composite Systems and Entanglement Basics and the dedicated composite-systems volume.

Eigensystems, SVD, and Schmidt decomposition

Section titled “Eigensystems, SVD, and Schmidt decomposition”

Three decompositions answer different questions.

DecompositionApplies toCanonical formWhat it reveals
Spectral decompositionnormal endomorphism N:V→VN:V\to VN=UΛU†N=U\Lambda U^\daggerinvariant eigenmodes and eigenvalues
Singular value decompositionarbitrary map T:V→WT:V\to WT=UΣV†T=U\Sigma V^\daggerrank, input-output directions, and nonnegative stretches
Schmidt decompositionbipartite vector in V⊗WV\otimes W∣ψ⟩=∑rsr∣ur⟩∣vr⟩\lvert\psi\rangle=\sum_r s_r\lvert u_r\rangle\lvert v_r\ranglebipartite correlation structure

The SVD exists even for rectangular maps and nondiagonalizable matrices. Applying it to the coefficient matrix of a bipartite vector gives the Schmidt decomposition. The singular values become Schmidt coefficients, and normalization gives ∑rsr2=1\sum_r s_r^2=1. The mathematical derivation belongs here; entanglement measures and operational consequences belong in the composite-systems volume.

Every Hermitian two-by-two matrix can be written

H=h0I+h⋅σ,h0∈R,h∈R3.H=h_0I+\mathbf h\cdot\boldsymbol\sigma, \qquad h_0\in\mathbb R, \quad \mathbf h\in\mathbb R^3.

For h≠0\mathbf h\ne0, define h^=h/∥h∥\hat{\mathbf h}=\mathbf h/\lVert\mathbf h\rVert. Since (h^⋅σ)2=I(\hat{\mathbf h}\cdot\boldsymbol\sigma)^2=I, the eigenvalues and projectors are

E±=h0±∥h∥,P±=12(I±h^⋅σ).E_\pm=h_0\pm\lVert\mathbf h\rVert, \qquad P_\pm=\frac12 \left(I\pm\hat{\mathbf h}\cdot\boldsymbol\sigma\right).

Consequently,

H=E+P++E−P−,H=E_+P_++E_-P_-,

and functional calculus gives the unitary evolution directly:

e−itH/ℏ=e−itE+/ℏP++e−itE−/ℏP−.e^{-itH/\hbar} =e^{-itE_+/\hbar}P_+ +e^{-itE_-/\hbar}P_-.

This one calculation connects Hermitian Operators, Projectors, Spectral Decomposition, and Matrix Functions and Exponentials. The local Pauli Matrices page is an algebraic bridge; their canonical physical role as spin operators is developed in Pauli Matrices for Spin.

PageUse it to answer…
Finite-Dimensional Hilbert SpacesWhat extra structure turns Cn\mathbb C^n into a quantum state space?
Orthonormal BasesHow are coefficients extracted, and what does completeness mean here?
Change of BasisHow do vectors and operators transform without changing predictions?
Eigenvalues and EigenvectorsWhich directions does an operator preserve, and how is degeneracy defined?
DiagonalizationWhen does an eigenbasis exist?
Hermitian OperatorsWhy are observable matrices associated with real spectra and orthogonal eigenspaces?
Unitary OperatorsWhich maps preserve inner products and norms?
Normal OperatorsWhich matrices are unitarily diagonalizable?
ProjectorsHow are subspaces isolated algebraically?
Spectral DecompositionHow is an operator reconstructed from eigenvalues and eigenspace projectors?
Matrix Functions and ExponentialsHow are f(A)f(A) and eAe^A computed and interpreted?
Commutators and AnticommutatorsWhat algebraic information is carried by AB−BAAB-BA and AB+BAAB+BA?
Tensor ProductsHow are joint vector spaces and product operators constructed?
Direct SumsHow are independent sectors and block structures assembled?
Singular Value DecompositionHow does an arbitrary map split into orthogonal directions and stretches?
Schmidt Decomposition as Linear AlgebraWhy is a bipartite pure-state decomposition an SVD?
Pauli MatricesWhich identities organize two-by-two matrix algebra?
Bloch Sphere GeometryHow do one-qubit states and unitary rotations become Euclidean geometry?
  • Core formalism: spaces →\to bases →\to Hermitian operators →\to projectors →\to spectral decomposition →\to unitary operators.
  • Spin and two-level systems: spaces →\to Hermitian and unitary operators →\to Pauli matrices →\to matrix exponentials →\to Bloch-sphere geometry.
  • Composite systems: tensor products →\to direct sums →\to SVD →\to Schmidt decomposition.
  • Numerical work: change of basis →\to diagonalization →\to SVD, followed by Matrix Diagonalization and Conditioning and Stability.
  • Infinite-dimensional quantum mechanics: spectral decomposition →\to Hilbert Spaces →\to Domains of Operators →\to Spectral Theorem, Practical Version.
MistakeCorrection
Treating every matrix as diagonalizablecheck whether a full eigenbasis exists; use the SVD when appropriate
Assuming real eigenvalues imply HermiticityHermiticity is sufficient, not necessary, for a real spectrum
Confusing Hermitian with real symmetriccomplex Hermitian matrices may contain nonreal off-diagonal entries
Replacing normality by HermiticityHermitian and unitary operators are distinct subclasses of normal operators
Choosing eigenvectors inside a degenerate eigenspace as though they were uniqueuse the eigenspace projector for basis-independent statements
Confusing V⊕WV\oplus W with V⊗WV\otimes Wcompare dimensions and identify whether the construction represents sectors or joint degrees of freedom
Applying eigendecomposition to a rectangular coefficient matrixuse the SVD; its singular values produce Schmidt coefficients
Extending finite-dimensional operator identities without checking domainsmove to the infinite-dimensional pages and state domains explicitly

Suppose N=∑rλrPrN=\sum_r\lambda_rP_r, where the PrP_r are mutually orthogonal projectors resolving the identity. Show that NN is normal. State the additional condition on the λr\lambda_r for NN to be Hermitian or unitary.

Solution

The adjoint is N†=∑rλr∗PrN^\dagger=\sum_r\lambda_r^*P_r. Orthogonality gives

NN†=∑r∣λr∣2Pr=N†N,NN^\dagger =\sum_r\lvert\lambda_r\rvert^2P_r =N^\dagger N,

so NN is normal. It is Hermitian exactly when every λr\lambda_r is real. It is unitary exactly when every ∣λr∣=1\lvert\lambda_r\rvert=1 on the resolved space.

Let V≅C2V\cong\mathbb C^2 and W≅C3W\cong\mathbb C^3. Find the dimensions of V⊕WV\oplus W and V⊗WV\otimes W. Which construction describes a system with a two-level subsystem and a three-level subsystem present jointly?

Solution

The dimensions are

dim⁡(V⊕W)=2+3=5,dim⁡(V⊗W)=2⋅3=6.\dim(V\oplus W)=2+3=5, \qquad \dim(V\otimes W)=2\cdot3=6.

Joint subsystems use V⊗WV\otimes W. The direct sum instead describes alternatives or sectors whose dimensions add.

Let A=∑rarPrA=\sum_r a_rP_r be Hermitian. Prove that Ak=∑rarkPrA^k=\sum_r a_r^kP_r for every nonnegative integer kk, and use a convergent power series to justify f(A)=∑rf(ar)Prf(A)=\sum_r f(a_r)P_r.

Solution

Because PrPs=δrsPrP_rP_s=\delta_{rs}P_r, multiplying two spectral sums keeps only equal-index terms. Induction gives

Ak=∑rarkPr.A^k=\sum_r a_r^kP_r.

If f(z)=∑k=0∞ckzkf(z)=\sum_{k=0}^\infty c_kz^k converges on the finite spectrum, then

f(A)=∑kckAk=∑r(∑kckark)Pr=∑rf(ar)Pr.f(A) =\sum_k c_kA^k =\sum_r\left(\sum_kc_ka_r^k\right)P_r =\sum_r f(a_r)P_r.

Only finitely many spectral projectors occur, so exchanging the finite projector sum with the convergent scalar series is immediate.

Write a normalized bipartite vector as ∣ψ⟩=∑ijCij∣i⟩∣j⟩|\psi\rangle=\sum_{ij}C_{ij}|i\rangle|j\rangle. If C=UΣV†C=U\Sigma V^\dagger, explain why the singular values srs_r are Schmidt coefficients and show that ∑rsr2=1\sum_rs_r^2=1.

Solution

Substituting the SVD and absorbing the columns of UU and the complex-conjugated columns of VV into new orthonormal local bases gives

∣ψ⟩=∑rsr∣ur⟩∣vr⟩.|\psi\rangle =\sum_r s_r|u_r\rangle|v_r\rangle.

This is the Schmidt form. Normalization is the Frobenius norm of the coefficient matrix:

1=⟨ψ∣ψ⟩=tr⁡(C†C)=∑rsr2.1=\langle\psi|\psi\rangle =\operatorname{tr}(C^\dagger C) =\sum_r s_r^2.
  • S. Axler, Linear Algebra Done Right, 3rd ed., Springer, 2015.
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
  • R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2012.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • L. N. Trefethen and D. Bau III, Numerical Linear Algebra, SIAM, 1997.