A basis makes an electronic calculation manageable by limiting the shapes the orbitals can take. The integrals record how those shapes overlap, move and interact; they define the model before any method solves it.
Put the two hydrogen nuclei on the horizontal axis at (−R/2,0,0) and (R/2,0,0). The positive separation R is in bohr. The Born–Oppenheimer approximation treats this nuclear geometry as fixed while the electronic state is solved. Repeating the calculation at many separations produces an electronic potential energy curve for nuclear motion.
The electronic Hamiltonian contains kinetic energy, attraction to both nuclei and repulsion between the two electrons. Nuclear repulsion is a separate constant at each geometry. It must be added to every electronic method before comparing total curves or differentiating them.
H^e=i=1∑2(−21∇i2−riA1−riB1)+r121
All terms use atomic units. The Laplacian in the kinetic term adds second spatial derivatives, which measure curvature of the wavefunction. The nuclei have charge one.
Etot(R)=Ee(R)+R1
The fixed nuclei repel. Removing this term changes both the energy curve and its slope.
The hydrogen STO-3G basis represents each atomic function by a fixed sum of three Gaussian primitives. Their exponents and contraction coefficients are part of the basis definition. They are not extra orbital coefficients for the SCF calculation to optimize.
There is one contracted spatial function on each hydrogen, so the molecule has two spatial basis functions. An orbital is a linear combination ϕp=∑μ=12Cμpχμ. Electron spin is an intrinsic angular momentum; along a chosen axis we use two spin labels. Each spatial orbital has two corresponding spin functions. Thus there are four spin orbitals, and placing two electrons in them gives (24)=6 determinants, antisymmetric occupation states whose sign reverses when two electron coordinates are exchanged. Selecting a spin sector keeps states with specified spin properties.
Adding a larger basis changes the available spatial shapes. Mixing more determinants at a fixed basis changes how the electrons share those shapes. These are different improvements, and their errors should be inspected separately.
χA(r)=k=1∑3dkNkexp[−αk∣r−RA∣2]
The primitive normalization factors, exponents and contraction coefficients are fixed. Each hydrogen supplies one independent contracted function, made from three fixed primitives.
An overlap matrix S records nonorthogonality. A one-electron matrix h records kinetic energy and nuclear attraction. Four-index integrals record Coulomb repulsion between pairs of basis-function products. Here the indices label atomic functions, and the vertical bar separates the two electron coordinates.
Once these arrays and the nuclear repulsion are fixed, RHF, UHF and FCI solve different trial-state problems for the same Hamiltonian. Their energy differences can then be attributed to the method. Independently changing an integral or shifting one curve would destroy that comparison.
Sμν=∫χμ(r)χν(r)d3r,hμν=⟨χμ∣h^∣χν⟩
The overlap is dimensionless; one-electron integrals have energy units.
For real orbitals, let Pμν=∑pnpCμpCνp, where np is the spatial-orbital occupation. Expanding the density in atomic functions and integrating gives N=Tr(PS). The trace adds the diagonal entries of the matrix product. It is not generally the trace of the density matrix alone.
As a worked check, take one doubly occupied symmetric orbital with atomic overlap SAB=0.2. Its coefficients are both 1/2.4, so every density-matrix entry is 2/2.4=5/6. The diagonal contributions sum to 5/3, and the two overlap contributions add 1/3. The electron count is two.
This numerical diagnostic tests a physical normalization in addition to checking iterative convergence. A density picture should be derived from this same matrix and these same basis functions.
ρ(r)=μν∑Pμνχμ(r)χν(r),N=∫ρd3r=Tr(PS)
The total spatial density integrates to the number of electrons. Spin-resolved matrices can be summed to obtain the same total.
Choose a separation and compare the displayed density matrix with the shared cloud.
Check the electron count, then increase the separation. The diagonal entries may change without changing the total electron count.
Explain why a three-dimensional cloud and a two-by-two matrix can describe the same limited spatial model.
Exercises and explanations
For a hypothetical calculation at R=2 bohr, the electronic energy is −1.8 hartree. What total energy should be plotted?
Read the explanation
Add the nuclear repulsion 1/R=0.5 hartree to obtain −1.3 hartree. These deliberately hypothetical values illustrate how the electronic and nuclear terms are added.
Does a six-determinant FCI result remove the STO-3G basis error?
Read the explanation
It includes all two-electron configurations in four spin orbitals. The spatial functions remain the two prescribed contractions. A larger spatial basis adds freedom that no mixing of these six determinants can supply.
Why can TrP change when the electron count stays two?
Read the explanation
The atomic functions overlap. The physical count is Tr(PS), and both the density matrix and overlap matrix can depend on separation. Only in an orthonormal representation does the count reduce to the trace of the density matrix.
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.
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.
Hydrogen STO-3G contraction: one contracted s function per atom, made from three Gaussian primitives. Basis coefficients and normalization are fixed in the calculation manifest.
Keep reading
What this page links to directly
You are hereTurning a molecule into a small matrix problem