Quantum Mechanics

Bra-Ket Notation

Dirac's language: kets |ψ⟩ are states, bras ⟨ψ| are their conjugates, ⟨φ|ψ⟩ is amplitude

Bra-ket notation (Dirac, 1939) is the standard language of quantum mechanics. A ket |ψ⟩ is a column vector in a complex Hilbert space — a state of a quantum system. A bra ⟨ψ| is its Hermitian conjugate, a row vector. The inner product ⟨φ|ψ⟩ is a complex scalar — the amplitude for state |ψ⟩ to be found in state |φ⟩, with probability |⟨φ|ψ⟩|². The outer product |φ⟩⟨ψ| is a rank-1 operator. Normalization: ⟨ψ|ψ⟩ = 1. Completeness: Σ_n |n⟩⟨n| = I.

  • Invented byPaul Dirac, 1939
  • Ket|ψ⟩ — column vector / abstract state
  • Bra⟨ψ| — row vector / dual functional
  • Normalization⟨ψ|ψ⟩ = 1
  • Born ruleP(φ from ψ) = |⟨φ|ψ⟩|²
  • CompletenessΣ_n |n⟩⟨n| = I (resolution of identity)

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

Why bra-ket notation matters

Open any quantum mechanics paper, any textbook past page fifty, any quantum computing tutorial — and bra-ket symbols are everywhere. The reason is structural, not aesthetic. Hilbert space is the arena of QM; states are vectors; observables are operators; measurements are inner products. Dirac's notation collapses linear algebra into a few symbols that look like what they do: ⟨φ|ψ⟩ is the bracket, sandwich-style, of a bra against a ket — a scalar produced by their pairing. |φ⟩⟨ψ| is the outer product — a matrix produced by their tensor. The notation is not just convenient; it imposes the right grammar on every calculation.

  • Quantum computing. Qubits are written |0⟩ and |1⟩; a general qubit |ψ⟩ = α|0⟩ + β|1⟩ with |α|² + |β|² = 1. Two-qubit states are tensor products |0⟩⊗|1⟩, abbreviated |01⟩. Gates are operators expanded in outer products: X = |0⟩⟨1| + |1⟩⟨0| flips the bit; Z = |0⟩⟨0| − |1⟩⟨1| flips the phase. Without bra-ket, every algorithm is a wall of matrices.
  • Atomic and molecular physics. Hydrogen states are |n, ℓ, m⟩ — three quantum numbers labeling energy, angular momentum, and its projection. Spectral transitions are ⟨n', ℓ', m'|er|n, ℓ, m⟩ dipole matrix elements. Selection rules emerge from inner products that vanish by symmetry.
  • Quantum field theory. Fock space states |n₁, n₂, ...⟩ count quanta in modes. Creation a†|n⟩ = √(n+1)|n+1⟩ and annihilation a|n⟩ = √n|n−1⟩ operators raise and lower occupation. Scattering amplitudes are ⟨out|S|in⟩ — bras and kets at infinity.
  • Density matrices and mixed states. ρ = Σ p_i |ψ_i⟩⟨ψ_i| for ensembles. Pure states are projectors |ψ⟩⟨ψ|. Partial trace, decoherence, and quantum information all live in outer-product algebra.
  • Pedagogy. Once students see |ψ⟩ as the abstract state and ⟨n|ψ⟩ = ψ_n as its component, the basis-change machinery of QM stops being mysterious — it's just a change of coordinates. Bra-ket is to QM what index notation is to tensor calculus: compact, computational, basis-free.

The formalism

A quantum state is a unit vector |ψ⟩ in a complex Hilbert space H. The dual space H* consists of linear functionals — bras ⟨φ| — that map kets to complex numbers via ⟨φ|(|ψ⟩) = ⟨φ|ψ⟩. The map |ψ⟩ → ⟨ψ| (Hermitian conjugation, or Dirac adjoint) is anti-linear: (α|ψ⟩)† = α*⟨ψ|. In a finite-dimensional basis, kets are N×1 column vectors and bras are 1×N row vectors with complex-conjugated entries — the inner product is just row times column.

For an orthonormal basis {|n⟩}: ⟨m|n⟩ = δ_mn (Kronecker delta, or Dirac delta for continuous bases). Any state expands: |ψ⟩ = Σ_n c_n |n⟩ with c_n = ⟨n|ψ⟩. Plugging back: |ψ⟩ = Σ_n |n⟩⟨n|ψ⟩, which holds for all |ψ⟩, so Σ_n |n⟩⟨n| = I — the completeness or "resolution of identity" relation. This is the workhorse: you can insert I anywhere to expand a calculation into components, then sum.

Worked example — a qubit in superposition

Consider the qubit |ψ⟩ = (|0⟩ + |1⟩)/√2 — equal superposition. Check normalization: ⟨ψ|ψ⟩ = (1/2)(⟨0|+⟨1|)(|0⟩+|1⟩) = (1/2)(⟨0|0⟩ + ⟨0|1⟩ + ⟨1|0⟩ + ⟨1|1⟩) = (1/2)(1+0+0+1) = 1. ✓

Probability of measuring 0: |⟨0|ψ⟩|² = |(1/√2)|² = 1/2. Probability of measuring 1: also 1/2. Total: 1. ✓

Apply Hadamard H = (1/√2)(|0⟩⟨0| + |0⟩⟨1| + |1⟩⟨0| − |1⟩⟨1|) to |ψ⟩:

H|ψ⟩ = (1/√2)(|0⟩⟨0|+|0⟩⟨1|+|1⟩⟨0|−|1⟩⟨1|) · (1/√2)(|0⟩+|1⟩)
     = (1/2)(|0⟩·1 + |0⟩·1 + |1⟩·1 − |1⟩·1)
     = (1/2)(2|0⟩ + 0|1⟩) = |0⟩

H sends the superposition (|0⟩+|1⟩)/√2 back to |0⟩. The whole calculation fits in three lines because outer products collapse the moment they meet a matching ket.

Key identities

OperationIn bra-ketType
Inner product (overlap)⟨φ|ψ⟩Scalar in ℂ
Outer product (operator)|φ⟩⟨ψ|Operator H → H
Normalization⟨ψ|ψ⟩ = 1Real, > 0
Orthonormality⟨m|n⟩ = δ_mnBasis condition
CompletenessΣ_n |n⟩⟨n| = IOperator identity
Expectation value⟨A⟩_ψ = ⟨ψ|A|ψ⟩Real for Hermitian A
Matrix elementA_mn = ⟨m|A|n⟩Complex number
Hermitian conjugate(|ψ⟩⟨φ|)† = |φ⟩⟨ψ|Operator

Common mistakes

  • Mixing |ψ⟩ and ψ. The ket |ψ⟩ is the abstract state; ψ(x) = ⟨x|ψ⟩ is its position-space wave function. They aren't interchangeable. ψ(x) is one representation among many — the same |ψ⟩ has a momentum-space form ψ̃(p) = ⟨p|ψ⟩, related by Fourier transform.
  • Forgetting to conjugate when taking the bra. If |ψ⟩ = α|0⟩ + β|1⟩, then ⟨ψ| = α*⟨0| + β*⟨1|. The Hermitian adjoint is anti-linear in scalars.
  • Treating ⟨φ|ψ⟩ as symmetric. It is not: ⟨φ|ψ⟩ = ⟨ψ|φ⟩*, complex-conjugate symmetry. Only the modulus |⟨φ|ψ⟩| is symmetric.
  • Reversing operator products. ⟨φ|A|ψ⟩ is not generally equal to ⟨ψ|A|φ⟩ — they are complex conjugates of each other only if A is Hermitian.
  • Confusing inner with outer. ⟨ψ|φ⟩ is a number; |ψ⟩⟨φ| is a matrix. The angle brackets disambiguate by position — outermost pieces are bra and ket; the order of inner pieces determines the type.
  • Dropping global phase. e^{iα}|ψ⟩ describes the same physical state as |ψ⟩ — global phases never affect probabilities. Relative phases between superposed kets do matter, and produce interference.

Continuous bases: position and momentum

Position eigenstates |x⟩ satisfy ⟨x|x'⟩ = δ(x − x') and Σ becomes ∫: ∫|x⟩⟨x|dx = I. A state's position wave function is ψ(x) = ⟨x|ψ⟩. Inner products become integrals: ⟨φ|ψ⟩ = ∫ φ*(x)ψ(x) dx. Momentum eigenstates |p⟩ satisfy ⟨x|p⟩ = e^{ipx/ℏ}/√(2πℏ); the connection ψ̃(p) = ⟨p|ψ⟩ = (1/√(2πℏ)) ∫ e^{−ipx/ℏ}ψ(x)dx is the Fourier transform — emerging naturally from inserting Σ|x⟩⟨x|.

Frequently asked questions

Why does QM use bra-ket notation instead of just vectors?

Dirac notation makes the basis-independence of quantum mechanics explicit. A ket |ψ⟩ refers to the abstract state — not its components in any particular basis. To get components, you project: ⟨n|ψ⟩ gives the amplitude in basis state |n⟩. The same |ψ⟩ has different column-vector forms in different bases (position, momentum, energy) but the bra-ket expressions are invariant. The notation also makes Hermitian conjugation, inner products, and operators visually distinct — a glance separates scalars ⟨φ|ψ⟩, vectors A|ψ⟩, and operators |φ⟩⟨ψ|. Linear algebra without it is possible but verbose.

What is the difference between |ψ⟩ and ⟨ψ|?

A ket |ψ⟩ lives in the Hilbert space H — concretely a column vector with complex entries. A bra ⟨ψ| lives in the dual space H* — concretely the conjugate-transpose row vector. The Riesz representation theorem identifies H ≅ H* in finite dimensions (and for normalizable states in infinite dimensions), so every ket has a unique bra partner. The map |ψ⟩ → ⟨ψ| is anti-linear: (α|ψ⟩ + β|φ⟩)† = α*⟨ψ| + β*⟨φ|. The bra acts as a linear functional — it eats a ket and returns a complex number ⟨ψ|χ⟩.

What does the inner product ⟨φ|ψ⟩ mean physically?

⟨φ|ψ⟩ is the probability amplitude that a system prepared in state |ψ⟩ will be found in state |φ⟩ upon measurement in a basis containing |φ⟩. The probability itself is |⟨φ|ψ⟩|² ∈ [0,1] — Born's rule. If ⟨φ|ψ⟩ = 0, the states are orthogonal and cannot be confused (a φ measurement is impossible from a pure-ψ preparation). If |⟨φ|ψ⟩| = 1, the states are identical up to a global phase. The complex argument of ⟨φ|ψ⟩ encodes interference phases — visible in two-slit and Mach-Zehnder setups.

What is the outer product and what does it do?

|φ⟩⟨ψ| is a rank-1 operator: a matrix that projects any state onto |φ⟩ with coefficient ⟨ψ|state⟩. Concretely, (|φ⟩⟨ψ|)|χ⟩ = |φ⟩ · ⟨ψ|χ⟩ = ⟨ψ|χ⟩ · |φ⟩. The most important outer product is the projector P_n = |n⟩⟨n| onto an eigenstate — Born's rule reads P(n) = ⟨ψ|P_n|ψ⟩ = |⟨n|ψ⟩|². Density matrices are sums of outer products: ρ = Σ_i p_i |ψ_i⟩⟨ψ_i| for mixed states. Every observable expands as A = Σ_n a_n |n⟩⟨n| in its eigenbasis. Outer products turn vectors into linear maps.

What is the completeness relation?

For any orthonormal basis {|n⟩}, the sum of projectors equals the identity: Σ_n |n⟩⟨n| = I (resolution of identity). Practical use: insert I anywhere in an expression to change basis. Example: ⟨φ|A|ψ⟩ = Σ_n ⟨φ|n⟩⟨n|A|ψ⟩ = Σ_nm ⟨φ|n⟩A_nm⟨m|ψ⟩, with A_nm = ⟨n|A|m⟩ matrix elements. For continuous bases like position: ∫|x⟩⟨x|dx = I — turning operator matrix elements into integrals. Completeness is what makes bra-ket algebra mechanically powerful — you can manipulate without ever picking a representation, then drop into one at the end.

Why must ⟨ψ|ψ⟩ = 1?

⟨ψ|ψ⟩ = Σ_n |⟨n|ψ⟩|² is the total probability of finding the system in any eigenstate of any complete basis. Probabilities must sum to 1, so we require ⟨ψ|ψ⟩ = 1 — the normalization condition. If you write |ψ⟩ = α|0⟩ + β|1⟩, this forces |α|² + |β|² = 1. Unnormalized states are mathematically convenient (you can scale them) but to extract physical probabilities, divide by ⟨ψ|ψ⟩. Many textbook calculations end with an explicit re-normalization step after a projection has shrunk the state's norm.