Skip to main content
Sandbox Physics
Molecular electrons and the breaking of a bond

L2 · Chapter 4

Why a shared orbital struggles when the bond stretches

A stretched hydrogen molecule needs one electron on each distant atom. A single doubly occupied delocalized orbital retains configurations with both electrons on the same atom. UHF can lower their cost by allowing opposite spins to use different spatial orbitals.

Expand the shared orbital before judging its cloud

At very large separation the atomic overlap tends to zero, and the bonding orbital becomes (χA+χB)/2(\chi_A+\chi_B)/\sqrt2. RHF puts both electrons in it with opposite spins. Its spatial product therefore contains four terms. Two place the electrons on different atoms; two put them together on the same atom.

In the zero-overlap limit these alternatives are orthogonal and have equal squared amplitudes. The restricted state gives half its weight to ionic configurations, even though two neutral hydrogen atoms are the lower-energy dissociation products. The one-electron density can still look symmetric and quite plausible.

ϕg(1)ϕg(2)⟶12[χA(1)χA(2)+χA(1)χB(2)+χB(1)χA(2)+χB(1)χB(2)]\phi_g(1)\phi_g(2)\longrightarrow\frac12[\chi_A(1)\chi_A(2)+\chi_A(1)\chi_B(2)+\chi_B(1)\chi_A(2)+\chi_B(1)\chi_B(2)]
Electron labels mark coordinates in the wavefunction. The omitted spin factor is the normalized antisymmetric singlet.

One shared doubly occupied orbital

50%50%

At infinite separation, half the weight has one electron on each atom; half has both on the same atom.

A correlated singlet at separation

100%

Mix bonding and antibonding pairs with opposite signs. The double-occupancy terms cancel.

  • One electron on each atom
  • Both electrons on one atom
Exact algebraic weights in the zero-overlap limit of the two-function model, shown as configuration probabilities. These bars are a limiting argument, not a measured dissociation curve.

Reading: Sandbox Physics · A. E. DePrince III · A. J. Cohen

Let opposite spins choose different shapes

Unrestricted Hartree–Fock, or UHF, optimizes separate spatial orbitals for the α\alpha and β\beta spin functions. Near equilibrium the best orbitals can coincide, giving the RHF answer. Beyond a basis-dependent instability point, the lower UHF branch can place more alpha density near one atom and more beta density near the other.

The Hamiltonian still treats the two atoms symmetrically. A reflected solution with the spin densities exchanged has the same energy. The chosen determinant breaks that symmetry. This spin-broken determinant is a variational response to the restricted trial space. The isolated singlet retains its own spin symmetry.

For globally optimized states within this same basis, the allowed trial spaces imply EFCI≤EUHF≤ERHFE_{\mathrm{FCI}}\leq E_{\mathrm{UHF}}\leq E_{\mathrm{RHF}}. A UHF run started from identical spin orbitals can converge to the restricted stationary branch; a spin-polarized guess explores the larger space.

Reading: Sandbox Physics · Psi4 manual · A. E. DePrince III

Lower energy comes with a changed spin state

For one alpha and one beta electron in normalized spatial orbitals aa and bb, the UHF determinant has squared-spin expectation 1−∣⟨a∣b⟩∣21-|\langle a|b\rangle|^2 in units of the reduced Planck constant squared. Identical orbitals give zero, the singlet value. Spatially separated orbitals have almost zero overlap and give a value near one.

A pure triplet has squared spin two, so a value near one does not mean that UHF has become a pure triplet. In the separated-orbital limit this determinant contains singlet and triplet components. The excess over the target singlet value is called spin contamination.

⟨S^2⟩UHF=1−∣⟨a∣b⟩∣2\langle\hat S^2\rangle_{\mathrm{UHF}}=1-|\langle a|b\rangle|^2
This formula is specific to the two-electron, one-alpha/one-beta determinant. The overlap includes the AO overlap matrix when the orbitals are expressed in atomic functions.

Reading: Sandbox Physics · A. E. DePrince III

Read an energy and a spin diagnostic together

At R=4R=4 bohr in STO-3G, RHF gives about −0.761082247-0.761082247 hartree, UHF gives −0.935842328-0.935842328, and FCI gives −0.943778472-0.943778472. Allowing different spin orbitals removes much of the restricted energy error. The UHF squared-spin expectation is approximately 0.9639920.963992, far from the singlet value zero.

This is why method comparison needs more than a total-energy ranking. The UHF energy improves because the trial state gained useful freedom, but the spin state has changed. A correlated singlet can describe neutral dissociation and keep the required spin symmetry; the next chapter constructs that state.

Reading: Sandbox Physics · Psi4 manual · A. E. DePrince III

Try the prediction

Find the energy gain and its spin cost

  1. Begin near the equilibrium preset and compare RHF with UHF.
  2. Stretch the bond and watch where their energy curves separate. Compare the spin-density display with the squared-spin readout.
  3. At four bohr, compare all three energies. Explain why the UHF improvement and its spin contamination answer different questions.

Exercises and explanations

  1. If the alpha–beta spatial overlap is 0.80.8, what squared spin does this UHF determinant have?

    Read the explanation

    1−0.82=0.361-0.8^2=0.36. It is spin contaminated relative to the singlet target. Spatial correlation error and total energy require separate comparisons.

  2. The total electron density looks symmetric at large separation. Does that establish correct dissociation?

    Read the explanation

    No. RHF and a correlated singlet can both have symmetric total density, but different joint probabilities for finding both electrons on one atom. Inspect energy, pair configurations and occupations as well as the one-electron density.

  3. Why should a UHF calculation be started from more than one type of guess?

    Read the explanation

    The stationary restricted solution may remain a valid SCF solution after it loses stability in the larger UHF space. A spin-polarized guess helps explore the lower branch. Compare their converged energies and residuals to identify the lower stationary branch.

Sources and calculation scope

  1. Sandbox Physics, FR13 reference inputs, raw numerical records and reproduction guide (2026)

    Original generated data: H2/STO-3G method energies, forces and occupations; independent Psi4 checks; basis and DFT-grid checks; fixed-orbital fractional-spin data. The guide links scripts, raw outputs, runtime versions and data licenses.

  2. A. E. DePrince III, The Hartree–Fock Self-Consistent Field Procedure

    Author tutorial: electronic Hamiltonian, variational principle, density matrices, SCF, basis convergence and spin-symmetry breaking. The browser calculation specializes these equations to two hydrogen STO-3G functions.

  3. Psi4 manual, HF: Hartree–Fock Theory

    Theory and numerical methods sections: restricted and unrestricted references, generalized eigenproblem, total energy and convergence. The reproducible reference manifest records the installed version and settings.

  4. Psi4 manual, CI: Configuration Interaction

    CI expansion and full configuration interaction within a chosen orbital space. Here FCI is exact only for the stated finite-basis Hamiltonian.

  5. A. J. Cohen, P. Mori-Sánchez and W. Yang, Fractional spins and static correlation error in density functional theory (2008)

    Locked preprint v1, 12 May 2008; published as J. Chem. Phys. 129, 121104, DOI 10.1063/1.2987202. The final chapter studies the exact constancy condition and a newly computed finite-basis illustration of the hydrogen-atom figure.

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