deklund.com Vol. 7 · Computational chemistry

Volume 7 · Chemistry by calculation

Ab initio

How chemists learned to compute molecules from the laws of quantum mechanics: approximating the Schrödinger equation for many electrons, choosing basis functions, accounting for correlation, replacing wavefunctions with densities, and then letting the nuclei move to simulate reactions, liquids, and proteins.

11 chapters 9 interactive figures 1926 → today
π orbitals of naphthalene from Hückel theory, computed in your browser. Click an energy level to choose an orbital.
Prologue

The equations are known; solving them is the problem

In 1929, three years after quantum mechanics took its modern form, Paul Dirac wrote a sentence that has served as the charter of computational chemistry ever since:

The underlying physical laws necessary for the mathematical theory of a large part of physics and the whole of chemistry are thus completely known, and the difficulty is only that the exact application of these laws leads to equations much too complicated to be soluble.

He went on to say that approximate practical methods ought to be developed. That is the subject of this volume. The picture above is one of the oldest such methods: Erich Hückel's 1931 treatment of the π electrons of flat aromatic molecules, which reduces a molecule to a small matrix that can be diagonalized by hand. Modern methods are far more accurate and far more expensive, and choosing among them is a trade between the two.

Part I is about electrons. It follows the approximations that make the many-electron Schrödinger equation solvable: orbitals, the self-consistent field, basis sets, correlation, and density functional theory. Part II is about nuclei. Once the electrons give an energy for every arrangement of atoms, chemists can map reaction paths, sample molecular shapes, and run atoms forward in time.

SCF Done: E(RHF) = -1.11671428 A.U. after 3 cycles R(H-H) = 0.7408 Å basis: STO-3G (computed on this page, Fig. 4.1)
1 Haone hartree = 27.2 eV = 627.5 kcal/mol
1 kcal/mol"chemical accuracy," about 0.0016 hartree
N⁷how the cost of the CCSD(T) method grows with molecule size
Ab initio
"From the beginning": a calculation that uses only the laws of physics and fundamental constants, with no parameters fitted to experiment.
Atomic units
Units in which the electron's mass and charge, Planck's constant over 2π, and the Coulomb constant all equal 1. Energies come out in hartrees and lengths in bohrs (0.529 Å).
Potential energy surface
The energy of a molecule as a function of the positions of its nuclei.
Part I

Electrons

1926 Chapter 1 · The wave equation

An equation for the electron

In the first half of 1926 Erwin Schrödinger, then at the University of Zurich, published four papers that described an electron by a wave function \(\psi\) obeying an equation. For a single particle of mass \(m\) moving in one dimension in a potential \(V(x)\), the time-independent form is

\[ -\frac{\hbar^2}{2m}\frac{d^2\psi}{dx^2} + V(x)\,\psi = E\,\psi. \]

Only certain energies \(E\) admit solutions that stay finite, so energy comes in discrete levels. Schrödinger's first paper derived the energy levels of the hydrogen atom this way, reproducing Bohr's formula without Bohr's ad hoc rules. The square of \(\psi\), as Max Born proposed later that year, gives the probability of finding the particle at each place.

For a molecule, the same equation includes every electron and every nucleus. In 1927 Born and J. Robert Oppenheimer showed that because nuclei are thousands of times heavier than electrons, the two motions can be separated to a good approximation. The electrons adjust instantly to wherever the nuclei are. Solving for the electrons at fixed nuclear positions gives an energy, and that energy, as a function of the nuclear positions, is the potential the nuclei move in. Part I of this volume is about computing that energy; Part II is about using it.

Solving it on a computer

Only a handful of potentials have solutions in closed form. The general method is to put the equation on a grid. Replacing the second derivative by a finite difference,

\[ \frac{d^2\psi}{dx^2}\bigg|_{x_i} \approx \frac{\psi_{i+1} - 2\psi_i + \psi_{i-1}}{h^2}, \]

turns the equation into a matrix eigenvalue problem, \(\mathbf H\boldsymbol\psi = E\boldsymbol\psi\), with a few hundred unknowns. Its lowest eigenvalues are the energy levels and its eigenvectors the wavefunctions. The figure solves a 700-point version each time you move a slider.

Fig. 1.1Interactive

Solving the Schrödinger equation on a grid

System
The thick line is the potential; each wavefunction is drawn at the height of its energy. For the box, compare the computed lowest level with the textbook formula and shrink the box to see confinement raise the energy. The double well holds a proton shared between two sites 0.7 Å apart, roughly the situation in a strong hydrogen bond. Its two lowest states are a symmetric and an antisymmetric mix of the two sites; the small gap between them is set by tunneling through the barrier, and raising the barrier shrinks it rapidly. The H₂ option uses a proton-mass oscillator in a Morse potential fitted to the measured bond energy and vibration of hydrogen: the levels crowd together as they rise, unlike the evenly spaced levels of the harmonic approximation. All values are computed by finite differences on a 700-point grid.
1927 Chapter 2 · The chemical bond

Why two atoms stick

Chemists had drawn bonds as lines for sixty years, and Gilbert Lewis had proposed in 1916 that a bond is a shared pair of electrons, but nobody could say why sharing lowered the energy. Quantum mechanics answered within a year. In 1927 Øyvind Burrau in Copenhagen solved the Schrödinger equation numerically for the simplest molecule, the hydrogen molecule ion H₂⁺, one electron and two protons, and found it bound. The same year Walter Heitler and Fritz London in Zurich treated H₂, with two electrons, and showed that the bond comes from a purely quantum effect: the electrons' wavefunction must be antisymmetric, and the symmetric spatial arrangement that this allows piles electron density between the nuclei.

Two languages for bonding grew from these papers. Linus Pauling and John Slater built valence bond theory on Heitler and London's picture of electron pairs. Friedrich Hund and Robert Mulliken built molecular orbital theory, in which each electron occupies an orbital spread over the whole molecule. Molecular orbitals proved easier to compute, and almost all of modern computational chemistry descends from them. Mulliken received the 1966 Nobel Prize in Chemistry for the work.

Orbitals from atomic orbitals

The simplest molecular orbital is a sum or difference of atomic orbitals on each nucleus, a linear combination of atomic orbitals (LCAO), as John Lennard-Jones proposed in 1929. For H₂⁺, with hydrogen 1s orbitals \(\phi_A\) and \(\phi_B\),

\[ \psi_\pm = \frac{\phi_A \pm \phi_B}{\sqrt{2(1 \pm S)}}, \qquad E_\pm = \frac{H_{AA} \pm H_{AB}}{1 \pm S}, \]

where \(S\) is the overlap of the two atomic orbitals and \(H_{AA}\), \(H_{AB}\) are matrix elements of the Hamiltonian. The sum puts electron density between the protons, where it is attracted by both, and lowers the energy: a bonding orbital. The difference has a node between them and raises the energy: an antibonding orbital. All the integrals for 1s orbitals have closed forms, so this calculation can be done exactly with pencil and paper. It gives a bond of the right kind but too weak and too long. Letting the atomic orbitals shrink as the protons approach, by varying the exponent \(\zeta\) in \(e^{-\zeta r}\), recovers much of the error, as Finkelstein and Horowitz showed in 1928.

Hückel's 1931 theory, shown in the hero figure, applies the same idea to the π electrons of molecules such as benzene and naphthalene. It replaces every integral by one of two empirical parameters, \(\alpha\) for an atom and \(\beta\) for a bond, and explained why rings with 4n + 2 π electrons are especially stable.

Fig. 2.1Interactive

H₂⁺ from two atomic orbitals

Left: energy relative to a hydrogen atom and a bare proton far apart. The bonding curve has a minimum, the antibonding curve is repulsive everywhere, and the circle marks the exact answer. Right: the two wavefunctions along the line through the protons at the chosen separation; the bonding orbital builds up between the protons and the antibonding orbital changes sign there. Turn on the variable exponent and the bond moves to almost exactly the right length. Computed from the closed-form integrals of hydrogen 1s orbitals.
1951 Chapter 3 · Hartree–Fock

Each electron in the average field of the others

With more than one electron, the electron-electron repulsion couples every electron to every other one. In 1928 Douglas Hartree in Cambridge proposed approximating each electron as moving in the average field of the rest. Guess the orbitals, compute the field they produce, solve for new orbitals in that field, and repeat until the orbitals stop changing. He called the result a self-consistent field and computed atoms with a mechanical desk calculator. In 1930 Vladimir Fock and John Slater added the exchange term that comes from writing the wavefunction as an antisymmetrized product of orbitals, a Slater determinant. The method is now called Hartree–Fock.

Atoms are spherical, so their orbitals can be found on a radial grid. Molecules are not. In 1951 Clemens Roothaan, and independently George Hall, expanded each molecular orbital in a fixed set of basis functions, \(\psi_i = \sum_\mu C_{\mu i}\,\chi_\mu\), which turned Hartree–Fock into a matrix equation:

\[ \mathbf F(\mathbf C)\,\mathbf C = \mathbf S\,\mathbf C\,\boldsymbol\varepsilon. \]

The Fock matrix \(\mathbf F\) depends on the coefficients \(\mathbf C\) it determines, so the equation is solved iteratively. Building \(\mathbf F\) requires the two-electron repulsion integrals \((\mu\nu|\lambda\sigma)\) between every quadruple of basis functions, roughly \(N^4/8\) of them for \(N\) basis functions. That number set the cost of quantum chemistry for decades.

Gaussians

The natural basis functions are Slater-type orbitals, \(e^{-\zeta r}\), shaped like the hydrogen atom's. But two-electron integrals over Slater functions on four different atoms have no closed form. In 1950 S. Francis Boys pointed out that Gaussian functions, \(e^{-\alpha r^2}\), have a remarkable property: the product of two Gaussians on different centers is a single Gaussian on a point between them. Every integral then reduces to a short formula. A Gaussian has the wrong shape, flat at the nucleus and falling off too fast, but a fixed combination of several Gaussians can mimic a Slater function. John Pople's group packaged such combinations as standard basis sets, starting with STO-3G in 1969, in a program called Gaussian 70, released in 1970. Making quantum chemistry a tool any chemist could run earned Pople a share of the 1998 Nobel Prize in Chemistry.

Fig. 3.1Interactive

Building a hydrogen orbital from Gaussians

Left: the exact hydrogen 1s orbital (dashed), the best combination of Gaussians (blue), and the individual weighted Gaussians (thin teal lines). Gaussians always have zero slope at the nucleus, where the true orbital has a sharp cusp, and they fall off too fast far away. Right: how the energy error shrinks as Gaussians are added. Errors fall roughly tenfold per pair of functions; reaching chemical accuracy takes four. Exponents were optimized variationally for this page and reproduce Huzinaga's 1965 values; coefficients are recomputed in your browser.
1934 Chapter 4 · Correlation

What the average field misses

Hartree–Fock gets about 99% of the total energy of a molecule. The remaining 1%, the correlation energy, is what an electron gains by actively avoiding the others instead of seeing only their average. Because chemical bonds are worth only a small fraction of the total energy, that 1% is often comparable to the energy changes chemists care about. Defined by Per-Olov Löwdin in 1955 as the difference between the exact and Hartree–Fock energies, it is the central problem of quantum chemistry.

The cleanest example is pulling apart H₂. Hartree–Fock puts both electrons in the same bonding orbital. Near the equilibrium distance that is reasonable. Far apart, it is not: the doubly occupied orbital gives equal weight to two neutral hydrogen atoms and to the ionic pair H⁺ + H⁻, and the energy goes far too high. Mixing in a second configuration, with both electrons in the antibonding orbital, cancels the ionic part. Allowing every possible configuration within a basis is called full configuration interaction. It is exact for that basis, and its cost grows combinatorially.

A hierarchy of methods

  • Perturbation theory (1934). Christian Møller and Milton Plesset treated correlation as a small perturbation of the Hartree–Fock solution. The second-order correction, MP2, is the cheapest systematic improvement.
  • Configuration interaction. Add excited configurations to the Hartree–Fock determinant and solve for their weights. Truncated versions are not size-consistent: the error for two separated molecules is not twice the error for one.
  • Coupled cluster (1966). Jiří Čížek adapted a method from nuclear physics that writes the wavefunction as \(e^{\hat T}\) acting on the Hartree–Fock determinant, which keeps the method size-consistent. In 1989 Krishnan Raghavachari, Gary Trucks, John Pople, and Martin Head-Gordon added an inexpensive estimate of triple excitations. CCSD(T) became known as the "gold standard," typically within about 1 kcal/mol of experiment for well-behaved molecules, given a large basis.

Accurate calculations can now beat experiment. In 1968 Włodzimierz Kołos and Lutosław Wolniewicz computed the dissociation energy of H₂ and got a value slightly larger than the accepted measurement. Gerhard Herzberg remeasured it in 1970 and found the calculation was right.

Fig. 4.1Interactive

Pulling H₂ apart

Both quantum curves are computed in your browser in the STO-3G basis (two basis functions), with a real Hartree–Fock self-consistent field and a 2 × 2 configuration interaction. Near equilibrium they differ by 13 kcal/mol, the correlation energy. Pull the atoms apart and Hartree–Fock climbs far above the energy of two atoms, while full CI levels off, its electrons shared between a doubly occupied bonding and antibonding orbital in nearly equal measure. Full CI does not reach the exact limit of −1 hartree because this tiny basis cannot describe a hydrogen atom exactly. The dashed curve is a Morse function fitted to experiment.

The cost of accuracy

Each step up the hierarchy costs more, and the cost grows with molecule size as a power law: roughly \(N^4\) for Hartree–Fock, \(N^5\) for MP2, and \(N^7\) for CCSD(T), where \(N\) measures the size of the system. Doubling a molecule multiplies the CCSD(T) cost by 128. Since the 1990s, "local" methods that exploit the fact that correlation is short-ranged have cut these exponents dramatically for large molecules, but the formal scaling still explains which methods are used for what.

Fig. 4.2Interactive

How cost grows with molecule size

Each method is scaled to cost one unit for a three-atom molecule, so the chart shows growth, not absolute speed; the dashed horizontal line is a day's computing if that unit is one second. Speed the computer up a millionfold and see how little bigger a molecule CCSD(T) can handle. Formal scaling exponents only; real programs differ in prefactors and use many tricks.
1964 Chapter 5 · Density functional theory

Three dimensions instead of 3N

A wavefunction for \(N\) electrons is a function of \(3N\) coordinates. The electron density \(\rho(\mathbf r)\) is a function of three. In 1964 Pierre Hohenberg and Walter Kohn proved that the ground-state density determines everything about a system, including its energy: there exists an energy functional \(E[\rho]\), minimized by the true density. They did not say what the functional is.

In 1965 Kohn and Lu Jeu Sham made the idea practical. They imagined a system of non-interacting electrons with the same density as the real one. Its kinetic energy can be computed exactly from orbitals, and everything that is hard about the real system is swept into one term, the exchange-correlation energy \(E_{xc}[\rho]\):

\[ \left[-\tfrac12\nabla^2 + v_{\text{nuc}}(\mathbf r) + v_H(\mathbf r) + v_{xc}(\mathbf r)\right]\phi_i = \varepsilon_i\,\phi_i, \qquad \rho = \sum_i f_i\,|\phi_i|^2. \]

The equations are solved self-consistently, like Hartree–Fock, at similar or lower cost. If \(E_{xc}\) were known exactly, the answer would be exact. The simplest approximation, the local density approximation (LDA), takes the exchange-correlation energy at each point from a uniform electron gas of the same density. Its exchange part is the formula \(-\tfrac34(3/\pi)^{1/3}\rho^{4/3}\) known since Dirac (1930); its correlation part was computed by David Ceperley and Berni Alder with quantum Monte Carlo in 1980 and fitted by Vosko, Wilk, and Nusair the same year.

LDA was good enough for solids and became the workhorse of condensed-matter physics, but it overbinds molecules badly. Chemists adopted DFT only after functionals that also depend on the density's gradient appeared in the late 1980s, from Axel Becke, from Chengteh Lee, Weitao Yang, and Robert Parr, and later from John Perdew, Kieron Burke, and Matthias Ernzerhof (PBE, 1996). Becke's 1993 "hybrid" functionals mixed in some exact Hartree–Fock exchange; one of them, B3LYP, became the most widely used method in chemistry. Kohn shared the 1998 Nobel Prize with Pople. Perdew described the growing family of functionals as a "Jacob's ladder" climbing from LDA toward chemical accuracy, each rung adding more information and cost.

Fig. 5.1Interactive

A Kohn–Sham atom, solved in your browser

Left: electrons per unit distance from the nucleus, with each shell's contribution; the shells of the periodic table appear as separate humps. Right: orbital energies on a compressed scale. Step through the second and third rows and watch the outer shell fill and contract. The readout compares the LDA total energy with the Hartree–Fock limit and the exact nonrelativistic energy: LDA errs by hundreds of kcal/mol in the total, mostly from the core, yet differences between similar systems are far better. Spherical, spin-unpolarized LDA with VWN correlation on a 1,200-point logarithmic grid; results agree with the NIST atomic reference data to within 0.001 hartree through neon and 0.003 hartree for argon. Open-shell atoms would need spin polarization for a full treatment.
Part II

Nuclei

1935 Chapter 6 · Potential energy surfaces

A landscape for a reaction

The simplest chemical reaction is a hydrogen atom swapping partners: H + H₂ → H₂ + H. In 1929 Fritz London gave an approximate formula for the energy of three hydrogen atoms. In 1931 Henry Eyring and Michael Polanyi used it to draw the first potential energy surface for a reaction: the energy as a function of two bond lengths, plotted as a contour map. Reactants and products sit in two valleys. Between them lies a mountain pass, the saddle point or transition state, the lowest-energy route over the ridge.

In 1935 Eyring, and independently Meredith Evans and Polanyi, turned the picture into a theory of reaction rates. Transition state theory assumes that molecules at the saddle are in equilibrium with reactants and cross at a rate set by temperature, which gives

\[ k = \frac{k_B T}{h}\, e^{-\Delta G^\ddagger / RT}, \]

where \(\Delta G^\ddagger\) is the free-energy barrier. Finding saddle points on computed surfaces is still one of the main things computational chemists do.

The figure uses the London–Eyring–Polanyi–Sato (LEPS) surface, an improved form of London's formula introduced by Shin Sato in 1955. Its one adjustable parameter is set here so that the barrier matches the accurate value for H₃, about 0.42 eV (9.8 kcal/mol), at a symmetric geometry with both bonds 0.93 Å long, as found by Siegbahn and Liu's 1978 calculations. On this surface you can run classical trajectories: give the incoming atom a speed and the molecule some vibration, integrate Newton's equations, and watch whether the atoms find the pass.

Fig. 6.1Interactive

H + H₂ on a potential energy surface

Atoms A, B, and C stay on a line; A approaches the molecule B–C from the right of the map along the reactant valley. Contours are every 0.25 eV above the bottom of the H₂ valley; lighter is higher. Below the barrier, A bounces off. Above it, the outcome depends on the timing of B–C's vibration, so a reaction can fail even with enough energy: try the stretched and compressed starts. The vibrational energy of 0.27 eV is H₂'s zero-point energy, treated classically. Classical mechanics on a LEPS surface; real H + H₂ dynamics includes tunneling and quantization.
1953 Chapter 7 · Sampling

Random walks that obey Boltzmann

A molecule at room temperature does not sit at its energy minimum. It visits every arrangement with a probability proportional to the Boltzmann factor \(e^{-E/k_BT}\), and measurable properties are averages over all of them. For anything bigger than a few atoms, the number of arrangements is far too large to enumerate.

In 1953 Nicholas Metropolis, Arianna and Marshall Rosenbluth, and Augusta and Edward Teller, working on the MANIAC computer at Los Alamos, published a way to sample them. Starting from any arrangement, propose a small random change. If it lowers the energy, accept it. If it raises the energy by \(\Delta E\), accept it with probability \(e^{-\Delta E/k_BT}\); otherwise keep the old arrangement and count it again. The walk visits arrangements in exactly the right proportions, so a simple average over the walk gives the thermal average. Their test case was a gas of hard disks. The Metropolis algorithm is now used throughout physics, statistics, and machine learning.

The figure applies it to the simplest flexible molecule, butane, CH₃–CH₂–CH₂–CH₃, whose shape is set mostly by one twist angle around the central bond. The torsion energy, from Jean-Paul Ryckaert and André Bellemans (1975), has a lowest minimum at 180° (trans, the zigzag chain), two shallower minima near ±60° (gauche), and barriers between.

Fig. 7.1Interactive

Metropolis sampling of butane's twist

Top: how often the walk visits each angle (bars) against the exact Boltzmann distribution (line), with the torsion energy dotted on its own scale. Bottom: the angle every tenth step. With tiny steps nearly every move is accepted, but the walk rarely crosses a barrier, so the histogram converges slowly; with huge steps most moves are rejected. Raise the temperature and gauche fills in. The walk runs while the figure is on screen and stops at 200,000 steps.
1964 Chapter 8 · Molecular dynamics

Running the atoms forward in time

Monte Carlo samples arrangements but says nothing about how they change in time. Molecular dynamics integrates Newton's equations for every atom. Berni Alder and Thomas Wainwright at Livermore did it first, in 1957, for hard spheres that interact only by colliding, and found that even such a simple system freezes. In 1964 Aneesur Rahman at Argonne simulated 864 argon atoms with a smooth Lennard-Jones potential,

\[ V(r) = 4\varepsilon\left[\left(\frac{\sigma}{r}\right)^{12} - \left(\frac{\sigma}{r}\right)^{6}\right], \]

and reproduced measured diffusion and structure of liquid argon. The \(r^{-6}\) term is the London dispersion attraction; the \(r^{-12}\) term is a convenient stand-in for repulsion at short range. In 1967 Loup Verlet introduced the time-stepping scheme still used in nearly every program: positions and velocities are advanced in half steps,

\[ \mathbf v_{t+\Delta t/2} = \mathbf v_t + \tfrac{\Delta t}{2m}\mathbf F_t,\quad \mathbf x_{t+\Delta t} = \mathbf x_t + \Delta t\,\mathbf v_{t+\Delta t/2},\quad \mathbf v_{t+\Delta t} = \mathbf v_{t+\Delta t/2} + \tfrac{\Delta t}{2m}\mathbf F_{t+\Delta t}, \]

which conserves energy well over millions of steps. Periodic boundary conditions, in which an atom leaving one side of the box re-enters on the other, make a few hundred atoms behave like a piece of bulk matter.

A useful window into a simulation is the radial distribution function \(g(r)\): how much more likely than average it is to find another atom at distance \(r\) from a given one. A crystal shows sharp, regularly spaced peaks; a liquid shows a few broad ones that fade with distance; a gas shows almost none. It is the same quantity X-ray and neutron scattering measure in real liquids.

Fig. 8.1Interactive

Molecular dynamics of a Lennard-Jones fluid

Left: 168 atoms in a periodic two-dimensional box, shaded by speed. Right: the radial distribution function averaged over recent steps. At 40 K the atoms vibrate about a hexagonal crystal and g(r) shows sharp, regularly spaced peaks. Heat past about 100 K and the crystal melts: the peaks broaden, the long-range ones fade, and atoms wander. A weak thermostat nudges the kinetic energy toward the target so changes take visible time. Velocity Verlet in reduced units, scaled to argon (ε/k = 120 K, σ = 3.4 Å). Melting in two dimensions differs in detail from real, three-dimensional argon, and a small box can briefly stay crystalline above its melting point.
1977 Chapter 9 · Biomolecules

Ball-and-spring molecules

Quantum calculations are far too expensive for a protein of thousands of atoms in water. Force fields replace the electrons with a classical energy expression built from springs and charges:

\[ E = \sum_{\text{bonds}} k_b (b - b_0)^2 + \sum_{\text{angles}} k_\theta(\theta - \theta_0)^2 + \sum_{\text{torsions}} \sum_n \frac{V_n}{2}\big[1 + \cos(n\phi - \gamma)\big] + \sum_{i\lt j}\left[\frac{q_i q_j}{4\pi\varepsilon_0 r_{ij}} + 4\varepsilon_{ij}\left(\frac{\sigma_{ij}^{12}}{r_{ij}^{12}} - \frac{\sigma_{ij}^{6}}{r_{ij}^{6}}\right)\right]. \]

The parameters are fitted to experiments and to quantum calculations on small fragments. Shneior Lifson's group at the Weizmann Institute developed the approach in the late 1960s as the "consistent force field"; two young members of the group, Arieh Warshel and Michael Levitt, used it in 1969 for the first energy minimization of whole proteins. Norman Allinger's MM2 (1977) became the standard for organic molecules, and AMBER and CHARMM, from Peter Kollman's and Martin Karplus's groups, for proteins and nucleic acids.

In 1977 Andrew McCammon, Bruce Gelin, and Karplus published the first molecular dynamics simulation of a protein: 9.2 picoseconds of the small bovine pancreatic trypsin inhibitor, in vacuum. It showed that a folded protein is not rigid but fluctuates constantly. A year earlier, Warshel and Levitt had described how to treat the reacting part of an enzyme with quantum mechanics and the rest with a force field, the QM/MM method. Karplus, Levitt, and Warshel shared the 2013 Nobel Prize in Chemistry "for the development of multiscale models for complex chemical systems."

Simulated time has grown about a billionfold since then. In 2010 D. E. Shaw Research used Anton, a computer built specifically for molecular dynamics, to run a full millisecond of the same protein, now in water, and watched it switch between distinct shapes.

Chapter 10 · Today

Learned potentials and predicted proteins

The basic trade-off of this volume, accuracy against cost, is being renegotiated by machine learning.

  • Machine-learned potentials. In 2007 Jörg Behler and Michele Parrinello showed that a neural network trained on DFT energies could reproduce a potential energy surface at a tiny fraction of the cost, by summing contributions from each atom's local environment. Successors trained on millions of quantum calculations now run molecular dynamics with near-DFT accuracy on systems of many thousands of atoms.
  • Protein structure. For fifty years, predicting a protein's folded shape from its amino-acid sequence was a grand challenge. At the CASP14 assessment in 2020, DeepMind's AlphaFold 2 predicted most structures with accuracy comparable to experiment. Demis Hassabis and John Jumper shared the 2024 Nobel Prize in Chemistry for it, with David Baker, whose group designs new proteins computationally.
  • Quantum computers. Electron correlation is a quantum problem whose cost grows exponentially on classical computers, which made it one of the first proposed applications for quantum computers. Small demonstrations have computed energies of molecules like H₂ and LiH; resource estimates for industrially interesting targets, such as the iron-molybdenum cofactor of the nitrogen-fixing enzyme nitrogenase, call for machines far larger than any built so far.

Meanwhile the older methods keep improving. Local coupled-cluster methods bring near-CCSD(T) accuracy to molecules of hundreds of atoms, and DFT, in its many forms, runs in a large share of the world's scientific computing time.

MethodWhat it treatsFormal costTypical sizeTypical use
Force field MDAtoms as classical balls and springs~N to N log N10⁴–10⁷ atomsProteins, membranes, materials
Semi-empirical (Hückel, AM1, xTB)Valence electrons, fitted integralsN²–N³10²–10⁴ atomsScreening, large systems
DFTElectron density, approximate functionalN³–N⁴10–10³ atomsMost chemistry and materials work
Hartree–FockMean-field electronsN⁴10–10³ atomsStarting point for correlated methods
MP2Second-order correlationN⁵10–10² atomsWeak interactions, quick corrections
CCSD(T)Correlation to high orderN⁷up to ~30 atoms (more with local methods)Benchmarks, thermochemistry
Full CIExact within the basisExponentiala few atomsTesting other methods

Sizes are rough orders of magnitude for routine work and depend on basis set, hardware, and the property being computed.

The common thread

Dirac's equations have not changed since 1929. Every method in this volume is an approximation chosen to make them solvable for a particular question, and every one of them was checked against the few cases, like H₂, where the exact answer is known. Progress has come from better approximations, faster computers, and, increasingly, from learning the answers of expensive methods so that cheap ones can reproduce them.

Reference

Glossary

Basis set
The fixed set of functions in which molecular orbitals are expanded.
Born–Oppenheimer approximation
Treating nuclei as fixed while solving for the electrons, justified by their much larger mass.
Correlation energy
The difference between the exact energy and the Hartree–Fock energy.
Coupled cluster
A correlated method that writes the wavefunction as an exponential of excitation operators acting on a reference determinant.
Exchange-correlation functional
The approximate part of density functional theory, containing all many-electron effects beyond the classical repulsion.
Force field
A classical energy expression for molecules built from bond, angle, torsion, and non-bonded terms.
Full configuration interaction
The exact solution within a given basis, using every possible arrangement of electrons in the orbitals.
Hartree–Fock
The self-consistent field method in which each electron moves in the average field of the others, with exact exchange.
LCAO
Linear combination of atomic orbitals: building molecular orbitals as sums of orbitals on each atom.
Metropolis algorithm
A random walk that accepts or rejects proposed moves so that states are visited with Boltzmann probabilities.
Molecular dynamics
Simulating atomic motion by integrating Newton's equations.
Radial distribution function
The relative probability of finding a particle at a given distance from another.
Saddle point
The highest point on the lowest path between two valleys of a potential energy surface; the transition state.
Self-consistent field
An iterative solution in which orbitals and the field they generate are made consistent with each other.
Size consistency
The property that a method's energy for two distant molecules equals the sum of their separate energies.

Sources

  1. Dirac, P. A. M. (1929). Quantum mechanics of many-electron systems. Proceedings of the Royal Society A 123.
  2. Schrödinger, E. (1926). Quantisierung als Eigenwertproblem. Annalen der Physik 79–81; Born, M. & Oppenheimer, R. (1927). Zur Quantentheorie der Molekeln. Annalen der Physik 84.
  3. Burrau, Ø. (1927). Berechnung des Energiewertes des Wasserstoffmolekel-Ions (H₂⁺) im Normalzustand. Det Kongelige Danske Videnskabernes Selskab, Mathematisk-fysiske Meddelelser 7; Heitler, W. & London, F. (1927). Wechselwirkung neutraler Atome und homöopolare Bindung nach der Quantenmechanik. Zeitschrift für Physik 44.
  4. Lennard-Jones, J. E. (1929). The electronic structure of some diatomic molecules. Transactions of the Faraday Society 25; Finkelstein, B. N. & Horowitz, G. E. (1928). Über die Energie des He-Atoms und des positiven H₂-Ions im Normalzustande. Zeitschrift für Physik 48.
  5. Hückel, E. (1931). Quantentheoretische Beiträge zum Benzolproblem. Zeitschrift für Physik 70.
  6. Hartree, D. R. (1928). The wave mechanics of an atom with a non-Coulomb central field. Proceedings of the Cambridge Philosophical Society 24; Fock, V. (1930). Näherungsmethode zur Lösung des quantenmechanischen Mehrkörperproblems. Zeitschrift für Physik 61.
  7. Roothaan, C. C. J. (1951). New developments in molecular orbital theory. Reviews of Modern Physics 23; Hall, G. G. (1951). The molecular orbital theory of chemical valency VIII. Proceedings of the Royal Society A 205.
  8. Boys, S. F. (1950). Electronic wave functions I. A general method of calculation for the stationary states of any molecular system. Proceedings of the Royal Society A 200; Huzinaga, S. (1965). Gaussian-type functions for polyatomic systems. I. Journal of Chemical Physics 42.
  9. Hehre, W. J., Stewart, R. F. & Pople, J. A. (1969). Self-consistent molecular-orbital methods. I. Use of Gaussian expansions of Slater-type atomic orbitals. Journal of Chemical Physics 51.
  10. Szabo, A. & Ostlund, N. S. (1982). Modern Quantum Chemistry. Macmillan (Dover reprint 1996). The H₂ STO-3G calculation of Fig. 4.1 follows its Chapter 3.
  11. Møller, C. & Plesset, M. S. (1934). Note on an approximation treatment for many-electron systems. Physical Review 46; Löwdin, P.-O. (1955). Quantum theory of many-particle systems. III. Physical Review 97.
  12. Čížek, J. (1966). On the correlation problem in atomic and molecular systems. Journal of Chemical Physics 45; Raghavachari, K., Trucks, G. W., Pople, J. A. & Head-Gordon, M. (1989). A fifth-order perturbation comparison of electron correlation theories. Chemical Physics Letters 157.
  13. Kołos, W. & Wolniewicz, L. (1968). Improved theoretical ground-state energy of the hydrogen molecule. Journal of Chemical Physics 49; Herzberg, G. (1970). The dissociation energy of the hydrogen molecule. Journal of Molecular Spectroscopy 33.
  14. Hohenberg, P. & Kohn, W. (1964). Inhomogeneous electron gas. Physical Review 136; Kohn, W. & Sham, L. J. (1965). Self-consistent equations including exchange and correlation effects. Physical Review 140.
  15. Ceperley, D. M. & Alder, B. J. (1980). Ground state of the electron gas by a stochastic method. Physical Review Letters 45; Vosko, S. H., Wilk, L. & Nusair, M. (1980). Accurate spin-dependent electron liquid correlation energies for local spin density calculations. Canadian Journal of Physics 58.
  16. Becke, A. D. (1993). Density-functional thermochemistry. III. The role of exact exchange. Journal of Chemical Physics 98; Lee, C., Yang, W. & Parr, R. G. (1988). Physical Review B 37; Perdew, J. P., Burke, K. & Ernzerhof, M. (1996). Generalized gradient approximation made simple. Physical Review Letters 77; Perdew, J. P. & Schmidt, K. (2001). Jacob's ladder of density functional approximations for the exchange-correlation energy. AIP Conference Proceedings 577.
  17. Kotochigova, S., Levine, Z. H., Shirley, E. L., Stiles, M. D. & Clark, C. W. (1997). Atomic reference data for electronic structure calculations. NIST; Clementi, E. & Roetti, C. (1974). Roothaan–Hartree–Fock atomic wavefunctions. Atomic Data and Nuclear Data Tables 14; Chakravorty, S. J. et al. (1993). Ground-state correlation energies for atomic ions with 3 to 18 electrons. Physical Review A 47.
  18. The Nobel Prize in Chemistry: 1966 (Mulliken), 1998 (Kohn, Pople), 2013 (Karplus, Levitt, Warshel), 2024 (Baker, Hassabis, Jumper). nobelprize.org.
  19. London, F. (1929). Quantenmechanische Deutung des Vorgangs der Aktivierung. Zeitschrift für Elektrochemie 35; Eyring, H. & Polanyi, M. (1931). Über einfache Gasreaktionen. Zeitschrift für physikalische Chemie B 12.
  20. Eyring, H. (1935). The activated complex in chemical reactions. Journal of Chemical Physics 3; Evans, M. G. & Polanyi, M. (1935). Some applications of the transition state method to the calculation of reaction velocities. Transactions of the Faraday Society 31; Sato, S. (1955). Potential energy surface of the system of three atoms. Journal of Chemical Physics 23.
  21. Liu, B. (1973). Ab initio potential energy surface for linear H₃. Journal of Chemical Physics 58; Siegbahn, P. & Liu, B. (1978). An accurate three-dimensional potential energy surface for H₃. Journal of Chemical Physics 68.
  22. Metropolis, N., Rosenbluth, A. W., Rosenbluth, M. N., Teller, A. H. & Teller, E. (1953). Equation of state calculations by fast computing machines. Journal of Chemical Physics 21.
  23. Ryckaert, J.-P. & Bellemans, A. (1975). Molecular dynamics of liquid n-butane near its boiling point. Chemical Physics Letters 30.
  24. Alder, B. J. & Wainwright, T. E. (1957). Phase transition for a hard sphere system. Journal of Chemical Physics 27; Rahman, A. (1964). Correlations in the motion of atoms in liquid argon. Physical Review 136; Verlet, L. (1967). Computer "experiments" on classical fluids. I. Physical Review 159.
  25. Lifson, S. & Warshel, A. (1968). Consistent force field for calculations of conformations, vibrational spectra, and enthalpies of cycloalkane and n-alkane molecules. Journal of Chemical Physics 49; Levitt, M. & Lifson, S. (1969). Refinement of protein conformations using a macromolecular energy minimization procedure. Journal of Molecular Biology 46.
  26. Allinger, N. L. (1977). Conformational analysis. 130. MM2. Journal of the American Chemical Society 99; Brooks, B. R. et al. (1983). CHARMM. Journal of Computational Chemistry 4; Cornell, W. D. et al. (1995). A second generation force field for the simulation of proteins, nucleic acids, and organic molecules. Journal of the American Chemical Society 117.
  27. McCammon, J. A., Gelin, B. R. & Karplus, M. (1977). Dynamics of folded proteins. Nature 267; Warshel, A. & Levitt, M. (1976). Theoretical studies of enzymic reactions. Journal of Molecular Biology 103.
  28. Shaw, D. E. et al. (2010). Atomic-level characterization of the structural dynamics of proteins. Science 330.
  29. Behler, J. & Parrinello, M. (2007). Generalized neural-network representation of high-dimensional potential-energy surfaces. Physical Review Letters 98; Jumper, J. et al. (2021). Highly accurate protein structure prediction with AlphaFold. Nature 596.
  30. Reiher, M. et al. (2017). Elucidating reaction mechanisms on quantum computers. Proceedings of the National Academy of Sciences 114.