Dirac Notation and Hilbert Space
The first Advanced unit rebuilds quantum mechanics in the language physicists actually use. A state becomes a vector written as a ket, an observable becomes a Hermitian matrix, a measurement becomes a projection, and the five postulates that Units 4 and 6 stated for wave functions fit into one box. The commutator of two observables gives the general uncertainty relation, the time evolution operator turns the two lowest states of the ammonia molecule into a clock ticking at 23.87 GHz, and the wave functions of the earlier units turn out to be the components of a ket in the basis of position states.
The first eight units wrote every quantum state as a wave function and every observable as a rule that acts on it, and that language carried the theory from the double slit to the hydrogen atom, but it is not the language in which the theory is usually written. From here on a state is a vector, an observable is a matrix, and a measurement is a projection, in the notation that Paul Dirac (1902-1984) introduced in 1939 and that textbooks, research papers, and quantum computer manuals have used since. In it, systems with no wave function at all, such as the spin of an electron or the polarization of a photon, are described on the same footing as a particle in a box, and the five postulates of quantum mechanics, scattered over Units 4 and 6, fit into one box. The unit teaches the vector algebra as it goes, with a photon’s polarization and the ammonia molecule as its running examples.
1 Kets, bras, and the inner product
Unit 8 used the symbols \(\ket{H}\) and \(\ket{V}\) as labels for a photon polarized horizontally or vertically, and it wrote a general polarization as \(\alpha\ket{H} + \beta\ket{V}\) with two complex amplitudes whose moduli squared, \(|\alpha|^2\) and \(|\beta|^2\), are the probabilities of passing a horizontal or a vertical polarizer. That is already the whole idea. A ket such as \(\ket{\psi}\) is a vector in the space of states of the system, and the symbol inside the bracket is only a name. The two states \(\ket{H}\) and \(\ket{V}\) are two vectors, any state of the polarization is a combination of them with complex coefficients, and the coefficients are the components of the vector in this basis. Written as a column, \begin{equation*} \ket{\psi} = \alpha\ket{H} + \beta\ket{V} \quad\longleftrightarrow\quad \begin{pmatrix}\alpha\\ \beta\end{pmatrix}, \qquad \ket{H} \longleftrightarrow \begin{pmatrix}1\\ 0\end{pmatrix}, \qquad \ket{V} \longleftrightarrow \begin{pmatrix}0\\ 1\end{pmatrix}. \end{equation*} The column is a picture of the ket in one particular basis, as the pair of coordinates \((x, y)\) is a picture of an arrow on a page once two axes have been chosen; the ket itself does not depend on the choice.
To every ket belongs a bra, written \(\bra{\psi}\), which is the row obtained by writing the components across the page and taking their complex conjugates, \begin{equation*} \bra{\psi} = \alpha^*\bra{H} + \beta^*\bra{V} \quad\longleftrightarrow\quad \begin{pmatrix}\alpha^* & \beta^*\end{pmatrix}. \end{equation*} Putting a bra and a ket together, bra first, gives a single complex number, the inner product of the two states, which is computed as a row times a column. For two states \(\ket{\phi}\) with components \(\phi_n\) and \(\ket{\psi}\) with components \(\psi_n\) in the same basis, \begin{equation} \braket{\phi}{\psi} = \sum_n \phi_n^*\,\psi_n . \label{eq:inner} \end{equation} The names are Dirac’s joke, because the complete symbol \(\braket{\phi}{\psi}\) is a bracket, so its left half is a bra and its right half is a ket. Three properties of the inner product follow from Equation \eqref{eq:inner} and are used on nearly every page from now on.
- Swapping the two states conjugates the number, \(\braket{\psi}{\phi} = \braket{\phi}{\psi}^*\), because the conjugates move from one factor to the other.
- The inner product is linear in the ket, so \(\braket{\phi}{a\psi_1 + b\psi_2} = a\braket{\phi}{\psi_1} + b\braket{\phi}{\psi_2}\), and it picks up a conjugate when a constant is pulled out of the bra.
- The inner product of a state with itself, \(\braket{\psi}{\psi} = \sum_n |\psi_n|^2\), is real and never negative, and its square root is the length, or norm, of the vector.
A physical state has norm one, so \(|\alpha|^2 + |\beta|^2 = 1\), and this is the normalization condition of Unit 4 in its new form, because the two probabilities must add up to one.