Solve in a nonorthogonal atomic basis
The overlap matrix accounts for atomic orbitals that overlap in space. Two electrons occupy each restricted spatial orbital.
FR13-A · Electrons determine their own field
How can an electron density agree with the field it creates? Start with a trial density, calculate its mean field, and solve for new orbitals. Repeat until the density changes negligibly and agrees with the field. This finds a self-consistent Hartree–Fock state; its energy still depends on the allowed orbitals.
Pull the two nuclei apart and follow the density as a Hartree–Fock calculation settles. Replay its actual iterations and see how the total energy and self-consistency residual change.
Three-dimensional density · enlarged nuclei · brightness scaled
Calculated in your browser · STO-3G
Current AO density matrix
A changing density changes the Fock operator. The residual measures whether the two agree.
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.
The logarithmic plot displays residuals below the following level at that floor; the numerical readout retains the calculated value.
Learn how the calculation works, from orbitals to a broken bond
Physics tutorial
BackgroundIn Hartree–Fock theory, electrons move in a mean field built from the occupied orbitals. Changing an orbital changes that field, so a single diagonalization is usually only the beginning.
Why it mattersWatching the actual density and residual explains what a converged calculation has achieved.
Start with the essentials
The overlap matrix accounts for atomic orbitals that overlap in space. Two electrons occupy each restricted spatial orbital.
The residual is the root-mean-square matrix commutator for this two-orbital basis. It vanishes at self-consistency. The overlap-weighted trace counts electrons.
Typical misconceptionA tiny residual means the molecular energy is exact.
Better mental modelThe residual checks self-consistency inside the chosen Hartree–Fock model. Missing configurations and basis functions still limit the answer.
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.Press Replay iterations, then move the iteration slider. Compare an uneven initial guess with a nearly symmetric guess.
What to observe: Different guesses take different paths. The converged restricted density agrees when the same solution is reached.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.Molecular electrons and breaking bonds · Reading path
Articles on this path that use this experiment, followed by the other experiments they suggest.