The slope tells the nuclei which way to move
Keep the nuclei on the horizontal axis at and , with positive separation measured in bohr. At every separation, solve the electronic problem and add the nuclear repulsion. Call the resulting Born–Oppenheimer energy , in hartree.
The generalized force is positive when it tends to increase the separation. It is the negative slope of the total-energy curve. A negative value pulls the nuclei together. Its unit is hartree per bohr. At an equilibrium minimum the slope vanishes; the energy itself need not be zero.
Reading: Sandbox Physics · Psi4 manual · A. E. DePrince III
Two curves can cross and still have different slopes
Write the method error as , using the same basis for both curves. Their force difference is the negative derivative of this error. Adding a constant to every energy moves the curve vertically and changes no force.
Now try a different error: . Exactly at , the energy error is zero, yet the force error is . An isolated accurate energy can therefore coexist with a persistently wrong pull on the bond.
For a worked example, take . The two curves agree in energy at , but the method force is too negative by . Matching another energy point very close by would reveal the unwanted slope.
A stretched hydrogen molecule makes the differences visible
At , the saved STO-3G calculation gives the values below. Every total energy includes . Subtracting the FCI energy from the UHF energy gives . Subtracting their forces gives : UHF pulls inward less strongly at this geometry.
The UHF energy is much closer to FCI than RHF is, but its spin diagnostic is , compared with zero for a pure singlet. The second FCI natural occupation is . These quantities answer different questions: the force tests the slope, the spin diagnostic tests spin purity, and the occupation shows how strongly a second orbital participates.
The PBE row is a spin-restricted Kohn–Sham calculation with the PBE functional. Its saved metadata fixes PySCF, Libxc and the numerical integration grid. These numbers compare the methods for this molecule, basis and spin restriction.
| Method | ||
|---|---|---|
| RHF | ||
| UHF | ||
| FCI | ||
| MP2 | ||
| Restricted PBE |
Reading: Sandbox Physics · Psi4 manual · Psi4 manual · J. P. Perdew
A better electronic method still lives inside its basis
FCI lets the electrons use every configuration available in the chosen orbital space. It cannot create spatial functions that the basis never supplied. Adding more configurations and adding more basis functions solve two different approximation problems.
At , STO-3G gives and . Their difference, , is the magnitude of the correlation energy missed by restricted HF within that basis.
With cc-pVDZ, the FCI energy is . The extra lowering relative to STO-3G is , showing that even the exact STO-3G solution retains a substantial basis error. The saved 6-31G calculation provides a third comparison. These named bases are different finite spaces; monotonic variational improvement is guaranteed when one allowed space contains the previous one.
A useful study varies the electronic method at fixed basis, then checks several bases at fixed method. The small browser model handles the first comparison. The saved larger-basis calculations supply the second. FCI in cc-pVDZ remains a finite spatial approximation.
Reading: Sandbox Physics · A. E. DePrince III · Psi4 manual · Basis Set Exchange
Use nearby calculations to check the force
A central difference estimates the force from two extra electronic calculations at and . Both calculations must reconverge the wavefunction. Each atom-centered basis function also moves with its nucleus. Keeping old coefficients or fixed basis centers would describe a different derivative.
For a smooth energy curve, halving a sufficiently small step reduces the leading central-difference error by about four. Extremely small steps eventually amplify energy convergence error and floating-point noise. The reference calculation uses and separately compares with analytic molecular gradients. Near a change in the stable electronic branch, inspect the curve before assuming smooth behavior.
Reading: Sandbox Physics · A. E. DePrince III · Psi4 manual