next up previous
Next: About this document Up: CCQC Previous: What Variational Parameter?

Hartree Fock Equations

The electronic energy is a functional of the spin orbitals, and we want to minimize it subject to some set of constraints. This can be done using the calculus of variations applied to functionals. So lets look at a general example of functional variation applied to E, a functional of some trial wavefunction tex2html_wrap_inline1351 that can be linearly varied under a single constraint.
  eqnarray621
By equation 74, we see that tex2html_wrap_inline1353, depending on the form of the wavefunction, and by equation 75 that tex2html_wrap_inline1355 can be linearly expanded (hence linearly varied) in some set of N functions. This is directly analogous to expanding the asymmetric top rotational wavefunctions in a complete set of symmetric top rotational wavefunctions. The task is to minimize E subject to the single constraint that the wavefunction tex2html_wrap_inline1351 remain normalized, or
 equation627
Writing the energy as
equation631
we want tex2html_wrap_inline1363, so
 eqnarray634
However, due to the normalization constraint, there is one linear dependancy in the expansion coefficients. If we simply solve equation 78 for the coefficients, they may no longer be normalized, and if we solve for N-1 of the coefficients and invoke the normalization condition to determine the tex2html_wrap_inline1367, the energy may not be stationary about it. So we construct the function
eqnarray649
Taking the differential of tex2html_wrap_inline1369,
 eqnarray655
Since tex2html_wrap_inline1371 and tex2html_wrap_inline1373 are arbitrary, the bracketed parts of equation 81 must be zero. Thus
equation670
It is clear that this can be written as a matrix product, and is in fact an eigenvalue equation in the form
equation674
Knowing that H and S are hermetian, this matrix eigenvalue equation can be rewritten as
 eqnarray680
The matrix Stex2html_wrap_inline1387HStex2html_wrap_inline1387 is symmetric and easily diagonalized, with eigenvectors Stex2html_wrap_inline1391c. These can be transformed (multiply on the left by Stex2html_wrap_inline1387) to give the optimal coefficients tex2html_wrap_inline1395 for stationary state. This is very powerful, since in one fell swoop we've got the entire energy spectrum and the appropriate wave functions, properly orthonormal, for all the states. This should illustrate the general technique we will be employing to develop the Hartree-Fock equations and from them the algebraic Roothaan equations, which you will be programming later this summer.

On to the true problem. Assume we have a wave function in the form of a Slater determinant of spin orbitals, tex2html_wrap_inline1397. We state the problem as:

Please minimize the electronic energy of this single determinant subject to the constraint that the spin orbitals all remain orthonormal to one another.
We already understand the energy fine by equation 37, and the constraint can be simply stated as
equation697
There are N spin orbitals, so there are N(N+1)/2 independent constraints (note: tex2html_wrap_inline1403), so we need that many undetermined multipliers in our lagrangian function, for which we present
 equation700
The restricted sum will prove inconvenient, but it can be eliminated. By taking the complex conjugate of the constraints and the lagrangian function, equation 86,
eqnarray707
we realize we can unrestrict the summation by restraining tex2html_wrap_inline1405 to be a hermitian matrix, such that tex2html_wrap_inline1407. This introduces no new undetermined multipliers into the equation, and creates a form more amenable to further derivation. Thus the Lagrangian function we will be working with is
 equation717
The differential of this function must be set to zero as before, giving us
equation723
Since we have an electronic energy in terms of spin orbitals
eqnarray727
we can write the variance of the energy tex2html_wrap_inline1409 as
eqnarray735
It takes some thought to realize that there are only two unique two electron integrals in this list, and that it can be written
eqnarray743
The other variance we need is tex2html_wrap_inline1411, which can be expanded as
eqnarray748
So the whole thing boils down to one neat statement,
eqnarray761
If we conveniently define a coulomb operator tex2html_wrap_inline1413 and an exchange operator tex2html_wrap_inline1415 as
  eqnarray767
we can rewrite the two electron integral
eqnarray777
This allows for a more compact notation to be employed in writing the variance in the lagrangian function
equation780
Like before, the part in brackets is forced to be zero, since tex2html_wrap_inline1417 can be anything. Setting it equal to zero and rearranging to make it look like some sort of eigenvalue equation yields
eqnarray786
These are the glorious Hartree-Fock equations derived in general in the spin orbital basis. But wait - there's a problem. These are coupled integro-differential equations, and while they are not strictly unsolvable, they're a pain. It would be nice to at least uncouple them, so let's do that.

If we apply a unitary rotation to the full set of spin orbitals, generating a new set
equation790
where U is unitary, ie. Utex2html_wrap_inline1419 = Utex2html_wrap_inline1421, what changes? The rotation can be written as a matrix product, if we define A as the matrix resembling the slater determinant for the system, ie. tex2html_wrap_inline1423 det(A) = tex2html_wrap_inline1425. In that case,
equation798
However, since this matrix U is unitary, tex2html_wrap_inline1427, tex2html_wrap_inline1429 and the new wavefunction differs from the old by a phase factor, affecting nothing observable. How does it affect f(1) and tex2html_wrap_inline1433?
eqnarray808

eqnarray829
So f(1)' = f(1)! How about tex2html_wrap_inline1433? Start by realizing that tex2html_wrap_inline1433 are matrix elements of the fock operator.
eqnarray852
This last result can be written as a martix product as well, and it is seen that this is now a unitary transformation to the matrix tex2html_wrap_inline1441. We are free to choose U to be whatever we please, and if we choose it to make tex2html_wrap_inline1441 diagonal, we can rewrite the Hartree-Fock equations as
equation868
When this is done, the resulting spin orbitals are termed the Hartree-Fock canonical orbitals. Read section 3.3 in Szabo and Ostlund for various fun things to do with the Hartree-Fock equations.

The problem still remains, though. These are integro-differential equations, which computers (and computer programmers) balk at. That is why Roothaan is a HERO! Through his results, we can transform these into a set of matrix formulated algebraic equations that computers and programmers dig. The general case is too troublesome for now, so let's limit ourselves to closed shell, RHF orbitals. To take advantage of the simplifications this can afford, we need to return to the spatial orbital basis. We've derived the spin orbital based Fock operator
equation870
Without further ado, we'll introduce the spatial orbital based Fock operator and be done with it.
   eqnarray876
With the properties
eqnarray898
Now we introduce a basis set expansion to bring the HF integro-differential equations to soluable algebraic equations. Letting tex2html_wrap_inline1337,
equation907
Multiplying by tex2html_wrap_inline1447 and integrating over electron 1 gives
equation909
Identifying the integrals as matrix elements of the fock operator and the unit operator (overlap) respectively,
equation913
Using the fact that tex2html_wrap_inline1441 is diagonal, this can be written as the matrix product
 equation918
So what is F, this so called Fock Matrix? We've defined tex2html_wrap_inline1451 before as the matrix element of the one electron fock operator, f(1) in equation 119. Writing out this integral and expanding,
 eqnarray927
This is a quantity which can be easily constructed given a set of molecular orbitals (the coefficients tex2html_wrap_inline1455) and a precalculated set of atomic orbital integrals. At this point, the Hartree-Fock equations have been reduced to a matrix eigenvector problem, tex2html_wrap_inline1457, but not in a computationally convenient form. Following the analysis leading to equation 84, we first define the transformed Fock matrix as
equation948
We can then take
equation956
to be equivalent to equation 127. Since tex2html_wrap_inline1459 is diagonal by choice, diagonalizing the transformed Fock matrix gives a set of transformed molecular orbital coefficients, tex2html_wrap_inline1461. The matrix tex2html_wrap_inline1463 can be back transformed to give the true MO coefficient matrix, tex2html_wrap_inline1465. The density matrix for these coefficients is formed by the product tex2html_wrap_inline1467, and can subsequently be used to construct a new fock matrix via equation 129. Since the overlap matrix tex2html_wrap_inline1469 does not depend on the MO coefficients, the same unitary transformation can be applied to the new fock matrix to give a new transformed fock matrix. This can be diagonalized to produce new MO coefficients, and the process repeated until convergance. As an initial guess for the fock matrix, one generally uses the core hamiltonian, ignoring all the two electron integrals.
equation981
From the core hamiltonian, an initial C is obtained and a much improved Fock matrix can be built including the two electron integrals. And that's about it for the Hartree-Fock Self Consistent Field Method. These last few pages will be the most important when you get around to programming the closed shell SCF method for the specific case of water, as you will be given the integrals in a file, and you can begin the process by building the core hamiltonian as described above.


next up previous
Next: About this document Up: CCQC Previous: What Variational Parameter?

CCQC WWW repository
Wed Aug 13 17:32:58 EDT 1997