Skip to content
Tutorials Center
My learning

Topics

Lesson 24 of 38 · Operators, Observables and Uncertainty

Operators and Observables

Learn how every measurable quantity becomes an operator: position, momentum and energy, eigenvalue equations, Hermitian operators and real eigenvalues.

In classical physics, position, momentum and energy are numbers that you can compute at any time. In quantum mechanics a measurable quantity such as position or energy is called an observable, and each observable is represented by an operator: a rule that turns one wavefunction into another. This is the central bookkeeping device of the theory. Once you understand it, a very large part of quantum mechanics becomes "find the eigenvalues and eigenfunctions of the right operator".

You have used one operator already without naming it. The time-independent Schrödinger equation Ĥψ = Eψ says that the energy operator Ĥ acts on ψ and gives back the same function times a number. This lesson explains what such an equation means, why the numbers that come out are real, and which operators correspond to which measurements.

What is an operator?

An operator  takes a function and returns a function. Examples:

  • multiplication by x, written x̂ψ = xψ,
  • differentiation d/dx,
  • the combination -iħ d/dx, which is the momentum operator.

A hat marks an operator when the distinction matters. All operators in quantum mechanics are linear: Â(aψ + bφ) = a Âψ + b Âφ for constants a, b. That is what allows superposition to work.

The standard dictionary in one dimension is:

Observable Operator
Position x x̂ = x (multiply by x)
Momentum p p̂ = -iħ d/dx
Kinetic energy T T̂ = p̂²/2m = -(ħ²/2m) d²/dx²
Potential energy V V̂ = V(x) (multiply)
Total energy Ĥ = T̂ + V̂ (the Hamiltonian)

Notice the recipe: write the classical expression (such as E = p²/2m + V) and replace x and p by their operators. Operators that are products or sums of others are built the same way; the order of a product can matter, which is the subject of the next lessons.

Eigenvalue equations

A function φ is an eigenfunction of  with eigenvalue a if

Text
 φ = a φ

The word "eigen" is German for "own": applying the operator does not change the function except by a constant factor. The possible results of a measurement of the observable A are exactly the eigenvalues of Â. If the system is in the eigenfunction φ, a measurement of A gives a with certainty.

Two examples you already know:

  • Energy. Ĥψ_n = E_n ψ_n. In the infinite square well, ψ_n = √(2/L) sin(nπx/L) and E_n = n²π²ħ²/(2mL²). Check: T̂ ψ_n = -(ħ²/2m) ψ_n'' = (ħ²/2m)(nπ/L)² ψ_n.
  • Momentum. p̂ e^{ikx} = -iħ (ik) e^{ikx} = ħk e^{ikx}. So the plane wave e^{ikx} has the definite momentum p = ħk. Every real k is allowed, so momentum has a continuous set of eigenvalues. (These eigenfunctions cannot be normalized over all space; real particles are described by wave packets that combine many of them.)

Notice that sin(nπx/L) is not a momentum eigenfunction. It equals a combination of e^{ikx} and e^{-ikx}, so a particle in the box has an equal chance of moving left or right, with momentum ±ħnπ/L, but never a definite sign of momentum.

Why the operators must be Hermitian

Measured quantities are real numbers. The mathematical property that guarantees real eigenvalues is being Hermitian (also called self-adjoint). An operator  is Hermitian if, for all suitable functions f and g,

Text
∫ f* (Â g) dx = ∫ (Â f)* g dx

where * means complex conjugate. Taking f = g = φ where φ is an eigenfunction with eigenvalue a, this gives a ∫|φ|² dx = a* ∫|φ|² dx, so a = a*: the eigenvalue is real. A second consequence: eigenfunctions belonging to different eigenvalues are orthogonal, ∫ φ_a* φ_b dx = 0. This is exactly the orthogonality you saw for the box states.

Is p̂ Hermitian? Integrate by parts: ∫ f* (-iħ g') dx = [-iħ f* g] + ∫ (-iħ f')* g dx. The boundary term vanishes for wavefunctions that go to zero at infinity, so yes. The factor i is essential: for d/dx alone, integration by parts gives ∫ f* g' dx = -∫ (f')* g dx, a minus sign, so d/dx is not Hermitian (it is anti-Hermitian). Multiplying by i flips the sign of the conjugate and repairs it, which is why p̂ carries the -iħ.

Not every operator is an observable. Operators such as d/dx are legitimate mathematical objects but do not correspond to a measurement. Only Hermitian operators (with a complete set of eigenfunctions) represent observables.

Checking operators symbolically

The first editor uses the sympy library to apply the operators from the table to specific functions and read off eigenvalues. It confirms that e^{ikx} is a momentum eigenfunction, that sin(nπx/L) is an energy eigenfunction of the box, and that sin is not a momentum eigenfunction.

Python Applying operators symbolically

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Operators as matrices

On a grid, a function is a vector and an operator is a matrix, so Hermitian means the matrix equals its conjugate transpose. The second editor builds p̂ on a periodic grid using central differences, checks that the matrix is Hermitian, and finds that its eigenvalues are real. The eigenvectors are plane waves (discretely sampled), and the eigenvalues approximate ħk for allowed k.

Python The momentum operator as a Hermitian matrix

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The numeric approximation sin(k Δx)/Δx replaces k. This "lattice momentum" error is the same discretization error you met in the last lesson of the previous chapter.

Summary of the rules

  1. Every observable has a Hermitian operator.
  2. The possible results of measuring an observable are the eigenvalues of its operator.
  3. The eigenvalues are real, and eigenfunctions for different eigenvalues are orthogonal.
  4. The operators for x, p and E are built from the classical formulas by p → -iħ d/dx.

The next lesson shows how to compute the average of many measurements and the probability of each result when the state is a mixture of eigenfunctions.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the momentum operator in one dimension?

    p̂ = -iħ d/dx. The factor i makes it Hermitian so that its eigenvalues ħk are real.
  2. 2. The possible outcomes of measuring an observable are

    A measurement can only return an eigenvalue of the operator, even though the state may be a superposition.
  3. 3. Hermitian operators have

    These two properties follow from ∫ f*(Âg) = ∫ (Âf)* g and are why Hermitian operators represent observables.
  4. 4. Is ψ = sin(nπx/L) an eigenfunction of the momentum operator?

    p̂ ψ = -iħ(nπ/L) cos(nπx/L), which is not a constant times ψ. The state is a superposition of momenta +ħnπ/L and −ħnπ/L.

Summary

  • Observables correspond to Hermitian operators: x̂ = x, p̂ = -iħ d/dx, T̂ = p̂²/2m, Ĥ = T̂ + V.
  • An eigenvalue equation Âφ = aφ identifies the possible measurement results a.
  • Hermitian operators have real eigenvalues and orthogonal eigenfunctions for different eigenvalues.
  • Plane waves e^{ikx} are momentum eigenfunctions with p = ħk; box states are energy eigenfunctions but not momentum eigenfunctions.
  • On a grid, operators are matrices, and Hermitian means equal to the conjugate transpose.

Next: Expectation Values and Measurement