Hartree–Fock method
In computational physics and chemistry, the Hartree–Fock (HF) method is a method of approximation for the determination of the wave function and the energy of a quantum manybody system in a stationary state.
Electronic structure methods 

Valence bond theory 
Coulson–Fischer theory Generalized valence bond Modern valence bond theory 
Molecular orbital theory 
Hartree–Fock method Semiempirical quantum chemistry methods Møller–Plesset perturbation theory Configuration interaction Coupled cluster Multiconfigurational selfconsistent field Quantum chemistry composite methods Quantum Monte Carlo 
Density functional theory 
Timedependent density functional theory Thomas–Fermi model Orbitalfree density functional theory Linearized augmentedplanewave method Projector augmented wave method 
Electronic band structure 
Nearly free electron model Tight binding Muffintin approximation k·p perturbation theory Empty lattice approximation GW approximation 
The Hartree–Fock method often assumes that the exact Nbody wave function of the system can be approximated by a single Slater determinant (in the case where the particles are fermions) or by a single permanent (in the case of bosons) of N spinorbitals. By invoking the variational method, one can derive a set of Ncoupled equations for the N spin orbitals. A solution of these equations yields the Hartree–Fock wave function and energy of the system.
Especially in the older literature, the Hartree–Fock method is also called the selfconsistent field method (SCF). In deriving what is now called the Hartree equation as an approximate solution of the Schrödinger equation, Hartree required the final field as computed from the charge distribution to be "selfconsistent" with the assumed initial field. Thus, selfconsistency was a requirement of the solution. The solutions to the nonlinear Hartree–Fock equations also behave as if each particle is subjected to the mean field created by all other particles (see the Fock operator below), and hence the terminology continued. The equations are almost universally solved by means of an iterative method, although the fixedpoint iteration algorithm does not always converge.[1] This solution scheme is not the only one possible and is not an essential feature of the Hartree–Fock method.
The Hartree–Fock method finds its typical application in the solution of the Schrödinger equation for atoms, molecules, nanostructures[2] and solids but it has also found widespread use in nuclear physics. (See Hartree–Fock–Bogoliubov method for a discussion of its application in nuclear structure theory). In atomic structure theory, calculations may be for a spectrum with many excited energy levels and consequently the Hartree–Fock method for atoms assumes the wave function is a single configuration state function with welldefined quantum numbers and that the energy level is not necessarily the ground state.
For both atoms and molecules, the Hartree–Fock solution is the central starting point for most methods that describe the manyelectron system more accurately.
The rest of this article will focus on applications in electronic structure theory suitable for molecules with the atom as a special case. The discussion here is only for the Restricted Hartree–Fock method, where the atom or molecule is a closedshell system with all orbitals (atomic or molecular) doubly occupied. Openshell systems, where some of the electrons are not paired, can be dealt with by either the restricted openshell or the unrestricted Hartree–Fock methods.
Brief history
Early semiempirical methods
The origin of the Hartree–Fock method dates back to the end of the 1920s, soon after the discovery of the Schrödinger equation in 1926. Douglas Hartree's methods were guided by some earlier, semiempirical methods of the early 1920s (by E. Fues, R. B. Lindsay, and himself) set in the old quantum theory of Bohr.
In the Bohr model of the atom, the energy of a state with principal quantum number n is given in atomic units as . It was observed from atomic spectra that the energy levels of manyelectron atoms are well described by applying a modified version of Bohr's formula. By introducing the quantum defect d as an empirical parameter, the energy levels of a generic atom were well approximated by the formula , in the sense that one could reproduce fairly well the observed transitions levels observed in the Xray region (for example, see the empirical discussion and derivation in Moseley's law). The existence of a nonzero quantum defect was attributed to electron–electron repulsion, which clearly does not exist in the isolated hydrogen atom. This repulsion resulted in partial screening of the bare nuclear charge. These early researchers later introduced other potentials containing additional empirical parameters with the hope of better reproducing the experimental data.
Hartree method
In 1927, D. R. Hartree introduced a procedure, which he called the selfconsistent field method, to calculate approximate wave functions and energies for atoms and ions.[3] Hartree sought to do away with empirical parameters and solve the manybody timeindependent Schrödinger equation from fundamental physical principles, i.e., ab initio. His first proposed method of solution became known as the Hartree method, or Hartree product. However, many of Hartree's contemporaries did not understand the physical reasoning behind the Hartree method: it appeared to many people to contain empirical elements, and its connection to the solution of the manybody Schrödinger equation was unclear. However, in 1928 J. C. Slater and J. A. Gaunt independently showed that the Hartree method could be couched on a sounder theoretical basis by applying the variational principle to an ansatz (trial wave function) as a product of singleparticle functions.[4][5]
In 1930, Slater and V. A. Fock independently pointed out that the Hartree method did not respect the principle of antisymmetry of the wave function.[6] [7] The Hartree method used the Pauli exclusion principle in its older formulation, forbidding the presence of two electrons in the same quantum state. However, this was shown to be fundamentally incomplete in its neglect of quantum statistics.
Hartree–Fock
A solution to the lack of antisymmetry in the Hartree method came when it was shown that a Slater determinant, a determinant of oneparticle orbitals first used by Heisenberg and Dirac in 1926, trivially satisfies the antisymmetric property of the exact solution and hence is a suitable ansatz for applying the variational principle. The original Hartree method can then be viewed as an approximation to the Hartree–Fock method by neglecting exchange. Fock's original method relied heavily on group theory and was too abstract for contemporary physicists to understand and implement. In 1935, Hartree reformulated the method to be more suitable for the purposes of calculation.[8]
The Hartree–Fock method, despite its physically more accurate picture, was little used until the advent of electronic computers in the 1950s due to the much greater computational demands over the early Hartree method and empirical models.[9] Initially, both the Hartree method and the Hartree–Fock method were applied exclusively to atoms, where the spherical symmetry of the system allowed one to greatly simplify the problem. These approximate methods were (and are) often used together with the central field approximation, to impose the condition that electrons in the same shell have the same radial part, and to restrict the variational solution to be a spin eigenfunction. Even so, calculating a solution by hand using the Hartree–Fock equations for a mediumsized atom was laborious; small molecules required computational resources far beyond what was available before 1950.
Hartree–Fock algorithm
The Hartree–Fock method is typically used to solve the timeindependent Schrödinger equation for a multielectron atom or molecule as described in the Born–Oppenheimer approximation. Since there are no known analytic solutions for manyelectron systems (there are solutions for oneelectron systems such as hydrogenic atoms and the diatomic hydrogen cation), the problem is solved numerically. Due to the nonlinearities introduced by the Hartree–Fock approximation, the equations are solved using a nonlinear method such as iteration, which gives rise to the name "selfconsistent field method".
Approximations
The Hartree–Fock method makes five major simplifications in order to deal with this task:
 The Born–Oppenheimer approximation is inherently assumed. The full molecular wave function is actually a function of the coordinates of each of the nuclei, in addition to those of the electrons.
 Typically, relativistic effects are completely neglected. The momentum operator is assumed to be completely nonrelativistic.
 The variational solution is assumed to be a linear combination of a finite number of basis functions, which are usually (but not always) chosen to be orthogonal. The finite basis set is assumed to be approximately complete.
 Each energy eigenfunction is assumed to be describable by a single Slater determinant, an antisymmetrized product of oneelectron wave functions (i.e., orbitals).
 The meanfield approximation is implied. Effects arising from deviations from this assumption are neglected. These effects are often collectively used as a definition of the term electron correlation. However, the label "electron correlation" strictly spoken encompasses both Coulomb correlation and Fermi correlation, and the latter is an effect of electron exchange, which is fully accounted for in the Hartree–Fock method.[10][11] Stated in this terminology, the method only neglects the Coulomb correlation. However, this is an important flaw, accounting for (among others) Hartree–Fock's inability to capture London dispersion.[12]
Relaxation of the last two approximations give rise to many socalled postHartree–Fock methods.
Variational optimization of orbitals
The variational theorem states that for a timeindependent Hamiltonian operator, any trial wave function will have an energy expectation value that is greater than or equal to the true groundstate wave function corresponding to the given Hamiltonian. Because of this, the Hartree–Fock energy is an upper bound to the true groundstate energy of a given molecule. In the context of the Hartree–Fock method, the best possible solution is at the Hartree–Fock limit; i.e., the limit of the Hartree–Fock energy as the basis set approaches completeness. (The other is the fullCI limit, where the last two approximations of the Hartree–Fock theory as described above are completely undone. It is only when both limits are attained that the exact solution, up to the Born–Oppenheimer approximation, is obtained.) The Hartree–Fock energy is the minimal energy for a single Slater determinant.
The starting point for the Hartree–Fock method is a set of approximate oneelectron wave functions known as spinorbitals. For an atomic orbital calculation, these are typically the orbitals for a hydrogenlike atom (an atom with only one electron, but the appropriate nuclear charge). For a molecular orbital or crystalline calculation, the initial approximate oneelectron wave functions are typically a linear combination of atomic orbitals (LCAO).
The orbitals above only account for the presence of other electrons in an average manner. In the Hartree–Fock method, the effect of other electrons are accounted for in a meanfield theory context. The orbitals are optimized by requiring them to minimize the energy of the respective Slater determinant. The resultant variational conditions on the orbitals lead to a new oneelectron operator, the Fock operator. At the minimum, the occupied orbitals are eigensolutions to the Fock operator via a unitary transformation between themselves. The Fock operator is an effective oneelectron Hamiltonian operator being the sum of two terms. The first is a sum of kineticenergy operators for each electron, the internuclear repulsion energy, and a sum of nuclear–electronic Coulombic attraction terms. The second are Coulombic repulsion terms between electrons in a meanfield theory description; a net repulsion energy for each electron in the system, which is calculated by treating all of the other electrons within the molecule as a smooth distribution of negative charge. This is the major simplification inherent in the Hartree–Fock method and is equivalent to the fifth simplification in the above list.
Since the Fock operator depends on the orbitals used to construct the corresponding Fock matrix, the eigenfunctions of the Fock operator are in turn new orbitals, which can be used to construct a new Fock operator. In this way, the Hartree–Fock orbitals are optimized iteratively until the change in total electronic energy falls below a predefined threshold. In this way, a set of selfconsistent oneelectron orbitals is calculated. The Hartree–Fock electronic wave function is then the Slater determinant constructed from these orbitals. Following the basic postulates of quantum mechanics, the Hartree–Fock wave function can then be used to compute any desired chemical or physical property within the framework of the Hartree–Fock method and the approximations employed.
Mathematical formulation
Derivation
To derive HartreeFock we minimize the Energy functional
where is the molecular Hamilton in the BornOppenheimer approximation, is one the one Slater determinant HartreeFock wave function and the second term is the sum over a Lagrange multiplier and the constraint that the spin orbitals of the Slater determinant
are orthonormal. Since we can choose the basis of , we choose a basis in which the Lagrange multiplier matrix becomes diagonal, i.e. . Performing the variation, we obtain
The factor 1/2 in the molecular Hamiltonian drops out before the double integrals due to symmetry and the product rule. We find the Fock equation
where the Coulomb operator and the exchange operator are defined as follows
The exchange operator has no classical analogue and can only be defined as an integral operator.
The Fock operator
Because the electron–electron repulsion term of the molecular Hamiltonian involves the coordinates of two different electrons, it is necessary to reformulate it in an approximate way. Under this approximation (outlined under Hartree–Fock algorithm), all of the terms of the exact Hamiltonian except the nuclear–nuclear repulsion term are reexpressed as the sum of oneelectron operators outlined below, for closedshell atoms or molecules (with two electrons in each spatial orbital).[13] The "(1)" following each operator symbol simply indicates that the operator is 1electron in nature.
where
is the oneelectron Fock operator generated by the orbitals , and
is the oneelectron core Hamiltonian. Also
is the Coulomb operator, defining the electron–electron repulsion energy due to each of the two electrons in the jth orbital.[13] Finally,
is the exchange operator, defining the electron exchange energy due to the antisymmetry of the total Nelectron wave function.[13] This "exchange energy" operator is simply an artifact of the Slater determinant. Finding the Hartree–Fock oneelectron wave functions is now equivalent to solving the eigenfunction equation
where are a set of oneelectron wave functions, called the Hartree–Fock molecular orbitals.
Linear combination of atomic orbitals
Typically, in modern Hartree–Fock calculations, the oneelectron wave functions are approximated by a linear combination of atomic orbitals. These atomic orbitals are called Slatertype orbitals. Furthermore, it is very common for the "atomic orbitals" in use to actually be composed of a linear combination of one or more Gaussiantype orbitals, rather than Slatertype orbitals, in the interests of saving large amounts of computation time.
Various basis sets are used in practice, most of which are composed of Gaussian functions. In some applications, an orthogonalization method such as the Gram–Schmidt process is performed in order to produce a set of orthogonal basis functions. This can in principle save computational time when the computer is solving the Roothaan–Hall equations by converting the overlap matrix effectively to an identity matrix. However, in most modern computer programs for molecular Hartree–Fock calculations this procedure is not followed due to the high numerical cost of orthogonalization and the advent of more efficient, often sparse, algorithms for solving the generalized eigenvalue problem, of which the Roothaan–Hall equations are an example.
Numerical stability
Numerical stability can be a problem with this procedure and there are various ways of combatting this instability. One of the most basic and generally applicable is called Fmixing or damping. With Fmixing, once a singleelectron wave function is calculated, it is not used directly. Instead, some combination of that calculated wave function and the previous wave functions for that electron is used, the most common being a simple linear combination of the calculated and immediately preceding wave function. A clever dodge, employed by Hartree, for atomic calculations was to increase the nuclear charge, thus pulling all the electrons closer together. As the system stabilised, this was gradually reduced to the correct charge. In molecular calculations a similar approach is sometimes used by first calculating the wave function for a positive ion and then to use these orbitals as the starting point for the neutral molecule. Modern molecular Hartree–Fock computer programs use a variety of methods to ensure convergence of the Roothaan–Hall equations.
Weaknesses, extensions, and alternatives
Of the five simplifications outlined in the section "Hartree–Fock algorithm", the fifth is typically the most important. Neglect of electron correlation can lead to large deviations from experimental results. A number of approaches to this weakness, collectively called postHartree–Fock methods, have been devised to include electron correlation to the multielectron wave function. One of these approaches, Møller–Plesset perturbation theory, treats correlation as a perturbation of the Fock operator. Others expand the true multielectron wave function in terms of a linear combination of Slater determinants—such as multiconfigurational selfconsistent field, configuration interaction, quadratic configuration interaction, and complete active space SCF (CASSCF). Still others (such as variational quantum Monte Carlo) modify the Hartree–Fock wave function by multiplying it by a correlation function ("Jastrow" factor), a term which is explicitly a function of multiple electrons that cannot be decomposed into independent singleparticle functions.
An alternative to Hartree–Fock calculations used in some cases is density functional theory, which treats both exchange and correlation energies, albeit approximately. Indeed, it is common to use calculations that are a hybrid of the two methods—the popular B3LYP scheme is one such hybrid functional method. Another option is to use modern valence bond methods.
Software packages
For a list of software packages known to handle Hartree–Fock calculations, particularly for molecules and solids, see the list of quantum chemistry and solid state physics software.
See also
Related fields 
Concepts

People

References
 Froese Fischer, Charlotte (1987). "General HartreeFock program". Computer Physics Communications. 43 (3): 355–365. Bibcode:1987CoPhC..43..355F. doi:10.1016/00104655(87)900531.
 Abdulsattar, Mudar A. (2012). "SiGe superlattice nanocrystal infrared and Raman spectra: A density functional theory study". J. Appl. Phys. 111 (4): 044306–044306–4. Bibcode:2012JAP...111d4306A. doi:10.1063/1.3686610.
 Hartree, D. R. (1928). "The Wave Mechanics of an Atom with a NonCoulomb Central Field". Math. Proc. Camb. Philos. Soc. 24 (1): 111. Bibcode:1928PCPS...24..111H. doi:10.1017/S0305004100011920. S2CID 121520012.
 Slater, J. C. (1928). "The Self Consistent Field and the Structure of Atoms". Phys. Rev. 32 (3): 339–348. Bibcode:1928PhRv...32..339S. doi:10.1103/PhysRev.32.339.
 Gaunt, J. A. (1928). "A Theory of Hartree's Atomic Fields". Math. Proc. Camb. Philos. Soc. 24 (2): 328–342. Bibcode:1928PCPS...24..328G. doi:10.1017/S0305004100015851. S2CID 119685329.
 Slater, J. C. (1930). "Note on Hartree's Method". Phys. Rev. 35 (2): 210–211. Bibcode:1930PhRv...35..210S. doi:10.1103/PhysRev.35.210.2.
 Fock, V. A. (1930). "Näherungsmethode zur Lösung des quantenmechanischen Mehrkörperproblems". Z. Phys. (in German). 61 (1): 126–148. Bibcode:1930ZPhy...61..126F. doi:10.1007/BF01340294. S2CID 125419115. Fock, V. A. (1930). ""Selfconsistent field" mit Austausch für Natrium". Z. Phys. (in German). 62 (11): 795–805. Bibcode:1930ZPhy...62..795F. doi:10.1007/BF01330439. S2CID 120921212.
 Hartree, D. R.; Hartree, W. (1935). "Selfconsistent field, with exchange, for beryllium". Proc. R. Soc. Lond. A. 150 (869): 9. Bibcode:1935RSPSA.150....9H. doi:10.1098/rspa.1935.0085.
 Slater, J. C. (1951). "A Simplification of the HartreeFock Method". Physical Review. 81 (3): 385–390. Bibcode:1951PhRv...81..385S. doi:10.1103/PhysRev.81.385.
 Hinchliffe, Alan (2000). Modelling Molecular Structures (2nd ed.). Baffins Lane, Chichester, West Sussex PO19 1UD, England: John Wiley & Sons Ltd. p. 186. ISBN 047148993X.
{{cite book}}
: CS1 maint: location (link)  Szabo, A.; Ostlund, N. S. (1996). Modern Quantum Chemistry. Mineola, New York: Dover Publishing. ISBN 0486691861.
 A. J. Stone (1996), The Theory of Intermolecular Forces, Oxford: Clarendon Press.
 Levine, Ira N. (1991). Quantum Chemistry (4th ed.). Englewood Cliffs, New Jersey: Prentice Hall. p. 403. ISBN 0205127703.
Sources
 Levine, Ira N. (1991). Quantum Chemistry (4th ed.). Englewood Cliffs, New Jersey: Prentice Hall. pp. 455–544. ISBN 0205127703.
 Cramer, Christopher J. (2002). Essentials of Computational Chemistry. Chichester: John Wiley & Sons, Ltd. pp. 153–189. ISBN 0471485527.
 Szabo, A.; Ostlund, N. S. (1996). Modern Quantum Chemistry. Mineola, New York: Dover Publishing. ISBN 0486691861.
External links
 The Wave Mechanics of an Atom with a NonCoulomb Central Field. Part II. Some Results and Discussion by D. R. Hartree, Mathematical Proceedings of the Cambridge Philosophical Society, Volume 24, 111–132, January 1928
 An Introduction to HartreeFock Molecular Orbital Theory by C. David Sherrill (June 2000)
 MeanField Theory: HartreeFock and BCS in E. Pavarini, E. Koch, J. van den Brink, and G. Sawatzky: Quantum materials: Experiments and Theory, Jülich 2016, ISBN 9783958061590