|q⟩ Bad Qubits

beginner · Physics · Observables, Operators & Measurement

Observables as Operators

In classical mechanics every measurable quantity — position, momentum, energy — is just a number (or a function of numbers). You can, in principle, read off all of them simultaneously without disturbing anything. Quantum mechanics shatters that picture. To see why, we need to elevate each measurable quantity to a linear operator acting on the state space.

What is a linear operator?

A linear operator A^\hat{A} is a rule that maps every state ψ|\psi\rangle to another state A^ψ\hat{A}|\psi\rangle, with the linearity condition

A^(αψ+βϕ)=αA^ψ+βA^ϕ\hat{A}\bigl(\alpha|\psi\rangle + \beta|\phi\rangle\bigr) = \alpha\,\hat{A}|\psi\rangle + \beta\,\hat{A}|\phi\rangle

for any complex numbers α,β\alpha, \beta. The hat notation A^\hat{A} is conventional for operators to distinguish them from ordinary numbers.

In a finite-dimensional Hilbert space (the setting you will encounter for qubits and spin-1/2 systems) every linear operator can be written as a matrix. For instance, the two-by-two matrix

σ^z=(1001)\hat{\sigma}_z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}

is the Pauli-zz matrix; the spin-zz observable for a spin-1/2 particle is S^z=2σ^z\hat{S}_z = \tfrac{\hbar}{2}\hat{\sigma}_z. Acting on the spin-up state 0=(10)|0\rangle = \begin{pmatrix}1\\0\end{pmatrix} it gives +10+1\cdot|0\rangle; acting on the spin-down state 1=(01)|1\rangle = \begin{pmatrix}0\\1\end{pmatrix} it gives 11-1\cdot|1\rangle. Those eigenvalues ±1\pm 1 are precisely the two possible outcomes when you measure the zz-component of spin, in units of /2\hbar/2 — i.e. the measured values ±/2\pm\hbar/2.

The operator postulate

One of the central postulates of quantum mechanics can be stated as:

To every observable physical quantity there corresponds a linear, Hermitian operator on the Hilbert space of the system. The only possible outcomes of a measurement of that observable are the eigenvalues of the corresponding operator.

"Hermitian" here means the operator equals its own conjugate transpose: A^=A^\hat{A} = \hat{A}^\dagger. This constraint will be explored in the next lesson; for now the key consequence is that all eigenvalues of a Hermitian operator are real numbers — a prerequisite for them to represent physical measurement results.

The position and momentum operators

For a particle moving in one dimension the state is described by a wave function ψ(x)\psi(x), a complex-valued function of position. The two fundamental operators are:

Both are Hermitian on the appropriate function space, so their eigenvalues — the measurable values of position and momentum — are real, as they must be.

The Hamiltonian

The observable corresponding to total energy is the Hamiltonian H^\hat{H}. For a particle in a potential V(x)V(x) it is built directly from x^\hat{x} and p^\hat{p}:

H^=p^22m+V(x^)=22md2dx2+V(x).\hat{H} = \frac{\hat{p}^2}{2m} + V(\hat{x}) = -\frac{\hbar^2}{2m}\frac{d^2}{dx^2} + V(x).

The eigenvalue equation H^ψ=Eψ\hat{H}|\psi\rangle = E|\psi\rangle is the time-independent Schrödinger equation: its solutions ψ|\psi\rangle are the stationary states and its eigenvalues EE are the allowed energies. Every discrete energy level you computed in the infinite square well or the harmonic oscillator is an eigenvalue of that system's Hamiltonian.

Why operators, not numbers?

Replacing numbers with operators is not mere mathematical decoration. It is what allows quantum mechanics to encode the fact that measuring one observable can irreversibly disturb another. The position operator x^\hat{x} and the momentum operator p^\hat{p} satisfy the canonical commutation relation

[x^,p^]x^p^p^x^=iI^,[\hat{x}, \hat{p}] \equiv \hat{x}\hat{p} - \hat{p}\hat{x} = i\hbar\,\hat{I},

where I^\hat{I} is the identity operator. Because x^\hat{x} and p^\hat{p} do not commute — x^p^p^x^\hat{x}\hat{p} \neq \hat{p}\hat{x} — they cannot both have definite values simultaneously. This non-commutativity is the algebraic root of the Heisenberg uncertainty principle σxσp/2\sigma_x \sigma_p \geq \hbar/2.

Sign in on the full site to ask questions and join the discussion.