Skip to main content
Sandbox Physics

FR13-B · Two electrons, several answers

Why Hartree–Fock Struggles to Break a Bond

Why can a good description near equilibrium fail as a bond stretches? Stretching hydrogen makes two electronic arrangements nearly equally important. Restricted Hartree–Fock keeps both electrons in one spatial orbital and misses that change. Mixing configurations recovers the singlet; unrestricted Hartree–Fock lowers the energy by allowing different spin orbitals.

Drag a hydrogen nucleus and compare restricted Hartree–Fock, unrestricted Hartree–Fock and full configuration interaction in the same basis. Follow the density, spin contamination and natural occupations as the bond stretches.

Interactive modelWhy Hartree–Fock Struggles to Break a Bond
FCI total energy−0.944-0.944
RHF energy above FCI0.1830.183
UHF spin contamination0.9640.964
Second natural occupation0.6440.644

Calculated in your browser · STO-3G

One molecule, three energy curves

RHFUHFFCI

The second orbital becomes occupied

Near dissociation, two natural orbitals each approach one electron. The singlet needs more than one determinant.

Units, density and calculation detailsTr⁡(PS)=2\operatorname{Tr}(PS)=2

All total energies include nuclear repulsion. FCI solves the same finite Hamiltonian as HF. The saved calculation includes its geometry, method, density matrices and numerical diagnostics.

Learn how the calculation works, from orbitals to a broken bond

Physics tutorial

Why Hartree–Fock Struggles to Break a Bond

BackgroundAt short separation, two hydrogen nuclei share a compact electronic state. At large separation, each neutral atom should retain one electron, and their spins form a singlet in the exact finite-basis ground state.

Why it mattersThe smallest molecule already shows why single-determinant approximations can struggle with chemical change.

Start with the essentials

Focus question
Why can a good description near equilibrium fail as a bond stretches?
One-sentence intuition
As hydrogen dissociates, two configurations become important and the second natural orbital gains occupation.

Core mathematical model

Mix the two closed-shell configurations

∣Ψ⟩=cg∣σg2⟩+cu∣σu2⟩|\Psi\rangle=c_g|\sigma_g^2\rangle+c_u|\sigma_u^2\rangle

For the minimal-basis ground-state symmetry of hydrogen, the two configurations supply the essential static correlation. The browser diagonalizes the full two-electron Hamiltonian.

Read natural occupations and spin contamination

n1+n2=2,0≤ni≤2,⟨S^2⟩singlet=0n_1+n_2=2,\qquad 0\le n_i\le2,\qquad \langle\hat S^2\rangle_{\rm singlet}=0

Two natural occupations approaching one signal the growing importance of two configurations. A nonzero unrestricted spin expectation means its determinant is not a pure singlet.

Common difficulties

Lower energy and the right spin

Typical misconceptionThe lowest single-determinant energy must have the exact spin symmetry.

Better mental modelUHF can lower its energy by mixing spin sectors. Compare energy and the expectation of spin squared together.

Run the experiment

  1. 01

    Predict before stretching

    Choose Near the energy minimum, then Correlation grows. Say what you expect the density and the energy difference to do before changing the preset.

    What to observe: The molecular density separates into two lobes, and the restricted description loses accuracy as the bond stretches.
  2. 02

    Follow the second diagnostic

    Select Almost two atoms. Compare FCI and UHF density, then read the second natural occupation and spin contamination.

    What to observe: FCI retains a pure singlet. UHF gains a lower energy by allowing spin symmetry to break.
  3. 03

    Save a reproducible comparison

    Use Save calculation at two separations. Compare the saved basis, geometry, density matrices and total energies.

    What to observe: Every record identifies the finite electronic model. Comparing it with a larger basis tests a separate source of error.

Related experiments and articles

Molecular electrons and breaking bonds · Reading path

Orbitals, self-consistency, correlation and dissociation

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleWhy a shared orbital struggles when the bond stretches
  2. ArticleMixing configurations to keep the electrons apart
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy