KnowledgeCookies logo Understanding the language of quantum science
Foundations

Linear Algebra For Quantum

THE LANGUAGE OF QUANTUM MECHANICS

Vector Spaces, Inner Products, Operators, and Spectral Formulations

An axiomatic mathematical guide mapping core geometric constructs to the physics of quantum information.

1. The Canvas: Hilbert Spaces & Dirac Notation

Quantum states exist as vectors within a complex inner product space called a Hilbert space (H\mathcal{H}). Dirac notation abstracts these vectors into highly scannable notation elements.

Kets, bras, and inner products:

The norm: the physical requirement of probability conservation restricts state-space trajectories to unit vectors residing on the hypersphere boundary:

∥∣ψ⟩∥=⟨ψ∣ψ⟩=1\big\||\psi\rangle\big\| = \sqrt{\langle\psi|\psi\rangle} = 1

2. Linear Operators & Outer Products

A linear operator AA maps vectors onto alternative configurations within the same space: A∣ψ⟩=∣ψ′⟩A|\psi\rangle=|\psi'\rangle.

∑i∣i⟩⟨i∣=I\sum_i|i\rangle\langle i| = I

This allows any operator to be decomposed as

A=IAI=∑i,jAij ∣i⟩⟨j∣,Aij=⟨i∣A∣j⟩.A = IAI = \sum_{i,j}A_{ij}\,|i\rangle\langle j|,\qquad A_{ij}=\langle i|A|j\rangle.

3. The Core Engine: Adjoints and the Spectral Theorem

The structural behavior of an operator is governed by its matrix adjoint (conjugate transpose A†A^\dagger). Two critical matrix classes partition quantum kinematics:

Hermitian operators (A†=AA^\dagger=A) map physical observables. The spectral theorem guarantees that any Hermitian matrix can be written in a perfectly diagonalized configuration using its real eigenvalues λi\lambda_i and its orthonormal projections:

A=∑iλi∣i⟩⟨i∣where λi∈R and ⟨i∣j⟩=δijA = \sum_i\lambda_i|i\rangle\langle i|\qquad\text{where }\lambda_i\in\mathbb{R}\text{ and }\langle i|j\rangle=\delta_{ij}

Unitary operators (U†U=UU†=IU^\dagger U=UU^\dagger=I) map closed-system evolutions and logic gates. They preserve the global metric length, ⟨ψ∣U†U∣ψ⟩=⟨ψ∣ψ⟩=1\langle\psi|U^\dagger U|\psi\rangle=\langle\psi|\psi\rangle=1, ensuring probability maps accurately during transitions.

4. Multi-Particle Scaling: The Kronecker Product (⊗\otimes)

When multiple isolated physical systems combine, their individual Hilbert spaces do not add; they multiply exponentially via the Kronecker (tensor) product: Htotal=H1⊗H2⋯⊗HN\mathcal{H}_{\text{total}}=\mathcal{H}_1\otimes\mathcal{H}_2\cdots\otimes\mathcal{H}_N.

Matrix dimension acceleration. For matrices AA (m×nm\times n) and BB (p×qp\times q), the tensor layout generates an expanded (mp)×(nq)(mp)\times(nq) structural grid:

A⊗B=(A11B⋯A1nB⋮⋱⋮Am1B⋯AmnB)A\otimes B = \begin{pmatrix}A_{11}B&\cdots&A_{1n}B\\\vdots&\ddots&\vdots\\A_{m1}B&\cdots&A_{mn}B\end{pmatrix}

The entanglement separation limit: a combined global state vector ∣Ψ⟩∈HA⊗HB|\Psi\rangle\in\mathcal{H}_A\otimes\mathcal{H}_B is classified as unentangled (separable) if it can be broken down as ∣ψ⟩A⊗∣ϕ⟩B|\psi\rangle_A\otimes|\phi\rangle_B. If no such decomposition exists, the state is natively entangled.

5. Fundamental Matrix Metrics: The Trace and the Commutator

Two primary algebraic evaluations map physical operations to concrete numeric boundaries:

  1. The trace (Tr\mathrm{Tr}): the sum of the diagonal matrix entries, Tr(A)=∑iAii=∑i⟨i∣A∣i⟩\mathrm{Tr}(A)=\sum_iA_{ii}=\sum_i\langle i|A|i\rangle. It is invariant under cyclic shifts (Tr(ABC)=Tr(CAB)\mathrm{Tr}(ABC)=\mathrm{Tr}(CAB)) and forms the basis for expectation values: ⟨A⟩=Tr(ρA)\langle A\rangle=\mathrm{Tr}(\rho A).
  2. The commutator ([A,B]=AB−BA[A,B]=AB-BA): quantifies matrix non-commutativity. If [A,B]≠0[A,B]\neq0, the corresponding matrices do not share a common basis, preventing concurrent deterministic measurements.