The language of quantum chemistry — wavefunctions and operators

A particle’s state as a complex function, every observable as a Hermitian operator — the two basic tools of quantum chemistry, followed end to end through one concrete Gaussian wavepacket.

Opening

The book spans 14 chapters from atomic bonding to band structure, but every chapter is written in the same two tools — the wavefunction and the operator. By the end of this chapter the reader should be able to say clearly what “the state of an electron” means, and how the act of “measuring its position” translates into a formula. The destination of this chapter is one concrete wavefunction — the Gaussian wavepacket — touched by hand and by Python, with normalization, expectation values, and uncertainty all checked directly.

Main 1 — Wavefunction and probability

Quantum mechanics describes a particle’s state by a complex-valued function ψ(r)\psi(\vec r) (psi, the wavefunction). In classical mechanics the state was the pair (r,p)(\vec r, \vec p) of position and momentum; in quantum mechanics the particle does not hold both at once — it holds only a single complex function spread over space.

This function is not directly observable. What is observable is the probability density ψ(r)2|\psi(\vec r)|^2. The probability of finding the particle in the volume element d3rd^3 r is

dP(r)=ψ(r)2d3r,dP(\vec r) = |\psi(\vec r)|^2\, d^3 r,

and the fact that the particle exists somewhere is expressed by the normalization condition

ψ(r)2d3r=1.\int |\psi(\vec r)|^2\, d^3 r = 1.

Even though ψ\psi itself is not observed, its phase does not vanish from the story. When two wavefunctions are combined — as in the double slit or in the overlap of molecular orbitals — the phase determines constructive vs destructive interference. The phase only becomes invisible when one “measures” a single state.

Main 2 — Observables and Hermitian operators

Every measurable quantity is represented by one Hermitian operator. For now you can read “Hermitian” as: a linear transformation engineered so that its eigenvalues are real — because real eigenvalues are what physical measurements actually return.

  • Position x^=x\hat x = x (just multiplication)
  • Momentum p^=i/x\hat p = -i\hbar\, \partial / \partial x
  • Kinetic energy T^=2/(2m)2\hat T = -\hbar^2/(2m)\, \nabla^2
  • Potential V^=V(r)\hat V = V(\vec r) (multiplication by a function of position)

Here \hbar (h-bar) is Planck’s constant divided by 2π2\pi, mm is the particle mass, and 2\nabla^2 is the Laplacian.

The expectation value of operator A^\hat A in state ψ\psi — the mean of measurements over infinitely many identically prepared copies of the state — is defined by

A=ψ(r)A^ψ(r)d3r,\langle A \rangle = \int \psi^*(\vec r)\, \hat A\, \psi(\vec r)\, d^3 r,

where ψ\psi^* is the complex conjugate of ψ\psi. This integral reappears almost everywhere in quantum chemistry — when computing energies, dipole moments, bond orders, anything that has a number attached.

Main 3 — A concrete example: the Gaussian wavepacket

Drop down from abstraction once. Consider the one-dimensional wavefunction

ψ(x)=(2πσ2)1/4exp ⁣(x24σ2),\psi(x) = (2\pi\sigma^2)^{-1/4} \exp\!\left( -\frac{x^2}{4\sigma^2} \right),

where σ\sigma (sigma) is a positive width parameter. ψ\psi is real and peaks at the origin. Check normalization first:

ψ(x)2dx=(2πσ2)1/2ex2/(2σ2)dx=1.\int_{-\infty}^{\infty} |\psi(x)|^2\, dx = (2\pi\sigma^2)^{-1/2} \int_{-\infty}^{\infty} e^{-x^2/(2\sigma^2)}\, dx = 1.

The last equality uses the Gaussian integral ex2/(2σ2)dx=2πσ\int e^{-x^2/(2\sigma^2)}\, dx = \sqrt{2\pi}\,\sigma. Then the expectation values. Since ψ2|\psi|^2 is symmetric about the origin,

x=0,\langle x \rangle = 0,

and the variance is

x2=x2ψ(x)2dx=σ2.\langle x^2 \rangle = \int x^2\, |\psi(x)|^2\, dx = \sigma^2.

The position uncertainty is Δx=x2x2=σ\Delta x = \sqrt{\langle x^2\rangle - \langle x\rangle^2} = \sigma. The width parameter σ\sigma is the position uncertainty.

This is not accidental. The analogous calculation on the momentum side gives Δp=/(2σ)\Delta p = \hbar/(2\sigma), and the product is

ΔxΔp=2.\Delta x\, \Delta p = \frac{\hbar}{2}.

This is the state that saturates the equality in Heisenberg’s uncertainty principle ΔxΔp/2\Delta x\, \Delta p \ge \hbar/2 — the Gaussian wavepacket is “the narrowest state quantum mechanics allows,” in a precise sense. The full proof is for a later chapter, but this one example already shows the two tools of quantum chemistry meshing together.

In Python

# Numerically verify normalization, expectation values, and uncertainty
# for a Gaussian wavepacket.
import numpy as np
import matplotlib.pyplot as plt

sigma = 1.5
N = 400
x = np.linspace(-10, 10, N)
dx = x[1] - x[0]

# Analytic form, normalization constant included.
psi = (2 * np.pi * sigma**2)**(-0.25) * np.exp(-x**2 / (4 * sigma**2))
rho = psi**2

# Numerical normalization: scale so trapezoidal integral is 1.
norm = np.trapz(rho, x)
rho = rho / norm

# Expectation values and standard deviation.
x_mean = np.trapz(x * rho, x)
x2_mean = np.trapz(x**2 * rho, x)
dx_num = np.sqrt(x2_mean - x_mean**2)

print(f"<x^2> numeric = {x2_mean:.4f}, analytic = {sigma**2:.4f}")
print(f"dx    numeric = {dx_num:.4f}, analytic = {sigma:.4f}")

# Plot |psi|^2 with vertical lines at +/- dx.
plt.plot(x, rho, label=r"$|\psi(x)|^2$")
plt.axvline(+dx_num, color="k", linestyle="--", label=r"$\pm\Delta x$")
plt.axvline(-dx_num, color="k", linestyle="--")
plt.xlabel("x"); plt.ylabel(r"$|\psi|^2$")
plt.legend(); plt.tight_layout()
plt.show()

If the numerical x2\langle x^2 \rangle matches σ2=2.25\sigma^2 = 2.25 and the numerical Δx\Delta x matches σ=1.5\sigma = 1.5 to two decimal places, the three definitions — normalization, expectation, standard deviation — have all been touched by hand.

To the next chapter

Chapter 2: The Schrödinger equation takes the operators introduced here and ties them into a single equation that governs how ψ\psi evolves in time. With normalization and expectation values already in hand, the Schrödinger equation lands as exactly what it is: the quantum-mechanical statement of energy conservation.