Skip to content

3.2

The complete rules of Dirac notation

A notation that compresses "vectors, inner products, projections, changes of basis" into a few angle brackets. Learn it, and the derivations of chapter 2 shrink to a fraction of their length.

Recommended first

After this section you should be able to

  • Read and write kets, bras, inner products, outer products and matrix elements of operators correctly
  • Use the completeness relation Σ|n⟩⟨n| = 1 to convert between any two representations
  • Explain the geometric meaning of the projection operator |ψ⟩⟨ψ|

The previous section established that the state is a vector and the wavefunction its components. This section equips that idea with notation that fits it like a glove.

The ket: the state itself

A quantum state is written

ψ(3.2.1)\ket{\psi}\tag{3.2.1}

read “ket psi”. It stands for the state itself, carrying no basis information whatsoever — like the arrow of the previous section, not the (3,4,0)(3,4,0).

The bra: the half you use for inner products

Every ket ψ\ket{\psi} comes with a bra ψ\bra{\psi}. Snap the two together and you get the inner product:

ϕ|ψ=ϕ(x)ψ(x)dx(3.2.3)\braket{\phi}{\psi}=\int\phi^*(x)\psi(x)\,\dd x\tag{3.2.3}

(The word “bra-ket” comes from “bracket” — Dirac split it down the middle.)

An operator sandwiched in the middle

A^ψ\hat A\ket{\psi} is another ket. Take its inner product with ϕ\bra{\phi} and you get a matrix element:

ϕA^ψ(3.2.11)\bra{\phi}\hat A\ket{\psi}\tag{3.2.11}

The deliberate ambiguity of this notation is a feature: you may read it as “the inner product of ϕ\bra{\phi} with (A^ψ)(\hat A\ket{\psi})”, or as “the inner product of (ϕA^)(\bra{\phi}\hat A) with ψ\ket{\psi}”. Both readings give the same number, so no parentheses are needed.

That is where the name matrix element comes from: in a basis {n}\{\ket{n}\}, Amn=mA^nA_{mn}=\bra{m}\hat A\ket{n} is precisely the matrix representation of the operator.

The outer product: snapped together the other way round

Put the ket on the left and the bra on the right:

ϕψ(3.2.12)\ket{\phi}\bra{\psi}\tag{3.2.12}

This is not a number but an operator — acting on any ket, it returns a ket:

(ϕψ)χ=ϕψ|χa number(3.2.13)\big(\ket{\phi}\bra{\psi}\big)\ket{\chi}=\ket{\phi}\underbrace{\braket{\psi}{\chi}}_{\text{a number}}\tag{3.2.13}

The completeness relation: the most useful identity in the chapter

Let {n}\{\ket{n}\} be an orthonormal, complete basis. “Complete” means any state can be expanded:

ψ=ncnn,cn=n|ψ(3.2.18)\ket{\psi}=\sum_n c_n\ket{n},\qquad c_n=\braket{n}{\psi}\tag{3.2.18}

Substitute the cnc_n back in:

ψ=nnn|ψ=(nnn)ψ(3.2.19)\ket{\psi}=\sum_n \ket{n}\braket{n}{\psi}=\left(\sum_n\ket{n}\bra{n}\right)\ket{\psi}\tag{3.2.19}

This holds for every ψ\ket{\psi}, so the operator in parentheses is the identity:

 nnn=1^ (3.2.20)\boxed{\ \sum_n\ket{n}\bra{n}=\hat 1\ }\tag{3.2.20}

The continuous-basis version swaps the sum for an integral:

xxdx=1^,ppdp=1^(3.2.21)\int\ket{x}\bra{x}\,\dd x=\hat 1,\qquad \int\ket{p}\bra{p}\,\dd p=\hat 1\tag{3.2.21}

What comes next

The notation is in hand. But a few mathematical questions have been quietly stepped around: in what sense does ncnn\sum_n c_n\ket{n} converge? x\ket{x} cannot be normalised — what entitles it to serve as a basis at all?

The next section settles these — the only mathematics-first section in the chapter, and it will stick as closely as possible to the parts that actually matter for the physics.

Section 21 of 106 · use to turn the page