
Hartree and Hartree-Fock Equations 241
designed to look like best guesses about the actual shapes of the electronic wave
functions. The functions 71 ...
7A-
are supposed to provide a basis in which to
describe an arbitrary function, so K 3> N, but one hopes by choosing the basis
functions well to make
Λ^
as small as possible. The different 7's are not orthonor-
mal, in general. So one writes
K
Ψι
= Σ
B
i^k,
(9.38)
k=\
and by substituting this form into the Hartree-Fock equations finds a large nonlin-
ear matrix equation for the coefficients B^. One also must write \/\r\
—
?2|
as a
sum of products of basis functions, so that inside the Coulomb and exchange in-
tegrals one has products of four basis functions to integrate over. The size of the
matrix is K x K, which illustrates the importance of choosing as small a basis set
as possible. The equations are solved iteratively, starting with a guess for a set of
N wave functions. Using these, one calculates all of the Coulomb and exchange
integrals. The result is a linear K x K matrix equation, which is diagonalized us-
ing standard numerical routines developed for this purpose. After carrying out the
linear algebra, there is a new set of K wave functions. Choosing the N of lowest
energy, one again calculates all the Coulomb and exchange integrals, continuing
until, if all goes well, the calculation has converged. The most time-consuming
part of the process is the calculation of all the Coulomb and exchange integrals,
because there are of order K
4
of these (one has to do an integral of the product of
any four basis functions). Even if all the necessary integrals are done in advance
and stored in memory, just calling up the results to add them together is a K
4
pro-
cess.
These considerations provide a simple explanation for the fact that quantum
chemists use a huge portion of the world's supercomputer resources.
What sorts of results may be obtained by carrying out Hartree-Fock calcula-
tions? One first of all has an approximation to the ground-state wave function that
can be used to calculate such experimentally measurable quantities as the dipole
moment. Second of all, one has all of the excited states that were found while
diagonalizing the Hartree-Fock Hamiltonian, but not included in the ground state.
The lowest lying excited state provides an estimate of the ionization potential of
an atom or molecule. Third, one can calculate how the total energy of a molecule
varies with the external potential and in this way try to calculate the equilibrium
geometry of a molecule. Table 9.1 gives some representative examples of the re-
sulting accuracy compared with experiment.
Hartree-Fock does not do particularly well at computing dipole moments. It is
able to calculate only to within about 0.1 in atomic units and may even get the sign
wrong, as in the case of CO. Bond lengths come out better than dipole moments,
but ionization potentials are again obtained only at about a 10% level. In the case
of
N2,
Hartree-Fock incorrectly identifies the first excited state. The molecules in
this table have 10 electrons, and therefore they are rather simple test cases. Ones
conclusion must be that Hartree-Fock provides only a qualitative guide and is not
adequate for precise molecular calculations. To obtain better accuracy, chemists