Skip to content
Tutorials Center
My learning

Topics

Lesson 27 of 39 · Identical Particles and Atoms

The Hartree-Fock Method for Atoms

Understand the Hartree-Fock approximation and the self-consistent field loop, solve helium on a radial grid, and measure the correlation energy.

The variational method with a single Slater determinant is called the Hartree-Fock (HF) method. It asks: among all wave functions that are one antisymmetrized product of orbitals, which one has the lowest energy? The answer is a set of coupled one-electron equations in which each electron moves in the average field of the others. Because that field depends on the orbitals themselves, the equations are solved by iteration until the input and output agree: a self-consistent field (SCF) calculation. This was the workhorse of quantum chemistry from the 1930s on and is still the starting point of most methods today.

The idea

For helium (two electrons, charge Z = 2), a closed-shell determinant puts both electrons in the same spatial orbital φ(r), one spin up and one spin down. Minimizing ⟨H⟩ with respect to φ gives the Hartree-Fock equation

Text
[ -½∇² - Z/r + V_H(r) ] φ(r) = ε φ(r)

V_H(r) = ∫ |φ(r')|² / |r - r'| d³r'

V_H is the electrostatic potential of the other electron's charge cloud. For two electrons in the same orbital there is also an exchange term, but it exactly cancels the electron's interaction with itself, so in the closed-shell helium case the effective potential is just V_H from a single electron's density. For atoms with more electrons the exchange operator K̂ (one for each pair of same-spin electrons) appears explicitly, and it is non-local.

Two numbers come out:

  • ε, the orbital energy. By Koopmans' theorem -ε approximates the energy needed to remove that electron.
  • The total energy E_HF = 2ε - J, where J = ∫∫ |φ(r₁)|² |φ(r₂)|² / r₁₂ d³r₁ d³r₂ is subtracted because the repulsion has been counted twice inside 2ε.

The SCF loop

flowchart LR
A["Guess orbital φ"] --> B["Compute density and potential V_H"]
B --> C["Solve the one-electron equation for new φ"]
C --> D{"Potential<br/>unchanged?"}
D -- "no (mix old and new)" --> B
D -- "yes" --> E["Converged: energy E_HF"]

The self-consistent field cycle: the orbital determines the potential, and the potential determines the orbital.

In a spherical atom the 1s orbital depends only on r. Write φ = u(r)/(√(4π) r) with u(0) = 0 and ∫ u² dr = 1. The radial equation is

Text
-½ u'' + [ -Z/r + V_H(r) ] u = ε u

and the Hartree potential from the spherical density ρ = u² is

Text
V_H(r) = (1/r) ∫₀^r u²(r') dr'  +  ∫_r^∞ u²(r')/r' dr'

We solve the eigenvalue problem with finite differences on a uniform grid and iterate with 50% mixing (using only half of the new potential, which avoids oscillation).

Python Restricted Hartree-Fock for helium on a radial grid

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 result is a total energy of about -2.8617 E_h (-77.87 eV), consistent with the Hartree-Fock limit of -2.86168 E_h. It is lower than the one-parameter result -2.8477 E_h of the earlier variational calculation because the orbital is no longer forced to be a pure exponential, but it is still above the exact -2.90372 E_h.

The correlation energy

By definition, the correlation energy is the difference between the exact (non-relativistic) energy and the Hartree-Fock limit:

Text
E_corr = E_exact - E_HF

For helium that is -2.90372 - (-2.86168) = -0.04204 E_h ≈ -1.14 eV. It is about 1.4% of the total energy, but chemically significant, since chemical bond energies are of the same order of magnitude (a few eV). Hartree-Fock misses it because each electron sees only the average position of the other; the true wave function lets the electrons dodge one another.

The failure also has a visible signature. The HF wave function has the same orbital for both electrons, so it cannot describe the correlated "angular" and "radial" avoidance that the exact helium wave function shows. Methods beyond HF, listed here without derivation, recover correlation by adding more determinants: configuration interaction (CI), coupled cluster (CC), many-body perturbation theory (MP2, etc.) and, by a different route, density functional theory (DFT).

Python How much of the helium energy does each method capture?

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 Koopmans value 0.91796 is the HF orbital energy of helium from the literature; your SCF run above should be close to it.) Note that Koopmans' theorem is an approximation that ignores how the remaining electron relaxes after ionization, and that the "exact" ionization energy computed here ignores relativistic and finite nuclear-mass corrections (small for helium).

Why Hartree-Fock still matters

  • It gives an orbital picture: electron configurations like 1s²2s²2p⁶ in atoms and molecular orbitals in chemistry make sense because HF is the best single-configuration description.
  • It is a variational method, so E_HF is an upper bound on the ground-state energy.
  • Correlation methods mostly use HF orbitals as a starting point.
  • It scales as roughly N⁴ in the number of basis functions in a naive implementation, much cheaper than the exact solution.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. In a self-consistent field calculation, why must the equations be solved iteratively?

    The Hartree potential is built from the electron density, which is built from the orbitals. You iterate until the input and output orbitals agree.
  2. 2. The correlation energy is defined as:

    E_corr = E_exact - E_HF, which is negative: Hartree-Fock lies above the exact energy.
  3. 3. For closed-shell helium, E_HF = 2ε - J rather than 2ε because:

    Each orbital energy ε contains the repulsion from the other electron, so the sum 2ε contains J twice; one copy must be subtracted.
  4. 4. Which statement about Hartree-Fock is correct?

    HF minimizes the energy over single determinants, so it cannot go below the exact energy, and it misses the correlation energy.

Summary

  • Hartree-Fock minimizes the energy over a single Slater determinant, giving one-electron equations with an average (mean-field) potential.
  • The equations are solved by the SCF loop: orbitals, potential, new orbitals, repeat until consistent.
  • For helium E_HF = -2.8617 E_h, orbital energy about -0.918 E_h, compared with the exact -2.9037 E_h.
  • The correlation energy E_exact - E_HF is -0.042 E_h for helium (about 1.14 eV).
  • Koopmans' theorem interprets -ε as an ionization energy (approximately).

Next: Atoms, Shells and Term Symbols