Dirac notation
The state of one qubit, the state of an electron in a hydrogen atom, and the state of every field in the universe can all be written with the same three symbols: a vertical bar, a name, and an angle bracket. Paul Dirac introduced this notation in 1939, and it has never been replaced, because it lets you calculate without first deciding what kind of space you are in.
This chapter teaches you to read and write it fluently. Each idea is shown three ways at once on the plate: as a ket, as a column of numbers, and as a picture.
Kets and bras
A state is a ket, . In a chosen basis it is a column of complex numbers. Its partner, the bra , is the row of complex conjugates. Put a bra and a ket together and you get a number, the inner product : a “bra-ket”, which is where the names come from.
Take a qubit at angle 20 °, . The plate shows the ket, its column of numbers, and the arrow in the plane.
Projectors and the identity
Put them the other way round, ket then bra, and you get not a number but an operator: , which projects any state onto . Add the projectors for a complete set of perpendicular basis states and you get the identity, the operator that does nothing:
This completeness relation is the most useful line in quantum mechanics. Insert it anywhere and you have expanded in a basis: , with the numbers as the components.
Changing basis
The same state has different components in different bases. Switch from the basis to , , or . The arrow does not move; the axes do, and with them the numbers. For your state, = 0.82.
The matrix that converts components from one basis to the other is unitary, here the Hadamard matrix , which you will meet again as a quantum gate.
Continuous bases
A particle’s position can take any real value, so its basis is continuous: one ket for every point. Sums become integrals, and the wavefunction is simply the list of components in this basis:
The same state written in the momentum basis has components . The bridge between the two is a single amplitude:
So going from position to momentum components is a Fourier transform (Chapter 6). The plate shows a narrow packet in and its wide partner in .
Operators as matrices
Sandwich an operator between basis states and you get its matrix elements, . In the basis, has matrix ; in the basis the same operator is diagonal, , because are its eigenvectors. Choosing the basis in which an operator is diagonal is how most quantum problems are solved.
What you now have
Kets, bras, inner and outer products, projectors, completeness, change of basis, continuous bases with , and matrix elements.
· · ·
Three questions to carry with you.
And one to work out. For , what is ?
Sources: P. A. M. Dirac, Math. Proc. Camb. Phil. Soc. 35, 416 (1939). R. Shankar, Principles of Quantum Mechanics, ch. 1. J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed. Checked by code: discrete ⟨x|p⟩ matrix is unitary; H² = 1.