The fundamental equation of non-relativistic quantum chemistry is the time-independent Schrödinger equation,
(4.1) |
In quantum chemistry, this equation is solved as a function of the electronic variables (), for fixed values of the nuclear coordinates (). The Hamiltonian operator in Eq. eq400, in atomic units, is
(4.2) |
where
(4.3) |
In Eq. eq:Hamiltonian, is the nuclear charge, is the ratio of the mass of nucleus to the mass of an electron, is the distance between nuclei and , is the distance between the th and th electrons, is the distance between the th electron and the th nucleus, is the number of nuclei and is the number of electrons. The total energy is an eigenvalue of , with a corresponding eigenfunction (wave function) .
Separating the motions of the electrons from that of the nuclei, an idea originally due to Born and Oppenheimer [12], yields the electronic Hamiltonian operator:
(4.4) |
The solution of the corresponding electronic Schrödinger equation,
(4.5) |
affords the total electronic energy, , and electronic wave function, , which describes the distribution of the electrons for fixed nuclear positions. The total energy is obtained by simply adding the nuclear–nuclear repulsion energy [the fifth term in Eq. (4.2)] to the total electronic energy:
(4.6) |
Solving the eigenvalue problem in Eq. (4.5) yields a set of eigenfunctions (, , ) with corresponding eigenvalues .
Our interest lies in determining the lowest eigenvalue and associated eigenfunction which correspond to the ground state energy and wave function of the molecule. However, solving Eq. (4.5) for other than the most trivial systems is extremely difficult and the best we can do in practice is to find approximate solutions.
The first approximation used to solve Eq. eq404 is the independent-electron (mean-field) approximation, in which the wave function is approximated as an antisymmetrized product of one-electron functions, namely, the MOs. Each MO is determined by considering the electron as moving within an average field of all the other electrons. This affords the well-known Slater determinant wave function [13, 14]
(4.7) |
where , a spin orbital, is the product of a molecular orbital and a spin function ( or ).
One obtains the optimum set of MOs by variationally minimizing the energy in what is called a “self-consistent field” or SCF approximation to the many-electron problem. The archetypal SCF method is the Hartree-Fock (HF) approximation, but these SCF methods also include KS-DFT (Section 4.4). All SCF methods lead to equations of the form
(4.8) |
where the Fock operator for the th electron is
(4.9) |
Here are spin and spatial coordinates of the th electron, the functions are spin orbitals and is the effective potential “seen” by the th electron, which depends on the spin orbitals of the other electrons. The nature of the effective potential depends on the SCF methodology, i.e., on the choice of density-functional approximation.
The second approximation usually introduced when solving Eq. eq404 is the introduction of an AO basis linear combinations of which will then determine the MOs. There are many standardized, atom-centered Gaussian basis sets and details of these are discussed in Chapter 7.
After eliminating the spin components in Eq. (4.8) and introducing a finite basis,
(4.10) |
Eq. (4.8) reduces to the Roothaan-Hall matrix equation
(4.11) |
Here, is the Fock matrix, is a square matrix of molecular orbital coefficients, is the AO overlap matrix with elements
(4.12) |
and is a diagonal matrix containing the orbital energies. Generalizing to an unrestricted formalism by introducing separate spatial orbitals for and spin in Eq. eq406 yields the Pople-Nesbet equations [15]
(4.13) |
In SCF methods, an initial guess is for the MOs is first determined, and from this, an average field seen by each electron can be calculated. A new set of MOs can be obtained by solving the Roothaan-Hall or Pople-Nesbet eigenvalue equations, resulting in the restricted or unrestricted finite-basis SCF approximation. This procedure is repeated until the new MOs differ negligibly from those of the previous iteration. The Hartree-Fock approximation for the effective potential in Eq. eq408 inherently neglects the instantaneous electron-electron correlations that are averaged out by the SCF procedure, and while the chemistry resulting from HF calculations often offers valuable qualitative insight, quantitative energetics are often poor. In principle, the DFT methodologies are able to capture all the correlation energy, i.e., the difference in energy between the HF energy and the true energy. In practice, the best-available density functionals perform well but not perfectly, and conventional post-HF approaches to calculating the correlation energy (see Chapter 5) are often required.
That said, because SCF methods often yield acceptably accurate chemical predictions at low- to moderate computational cost, self-consistent field methods are the cornerstone of most quantum-chemical programs and calculations. The formal costs of many SCF algorithms is , that is, they grow with the fourth power of system size, . This is slower than the growth of the cheapest conventional correlated methods, which scale as or worse, algorithmic advances available in Q-Chem can reduce the SCF cost to in favorable cases, an improvement that allows SCF methods to be applied to molecules previously considered beyond the scope of ab initio quantum chemistry.
In order to carry out an SCF calculation using Q-Chem, two $rem variables need to be set:
BASIS |
to specify the basis set (see Chapter 7). |
METHOD |
SCF method: HF or a density functional (see Section 4.4). |
Types of ground-state energy calculations currently available in Q-Chem are summarized in Table 4.1.
Calculation |
$rem Variable JOBTYPE |
|
Single point energy (default) |
SINGLE_POINT or SP |
|
Force (energy + gradient) |
FORCE |
|
Equilibrium structure search |
OPTIMIZATION or OPT |
(Ch. 9) |
Transition structure search |
TS |
(Ch. 9) |
Intrinsic reaction pathway |
RPATH |
(Sect. 9.5) |
Potential energy scan |
PES_SCAN |
(Sect. 9.4) |
Vibrational frequency calculation |
FREQUENCY or FREQ |
|
NMR chemical shift |
NMR |
(Sect. 10.13 |
Indirect nuclear spin-spin coupling |
ISSC |
(Sect. 10.15 |
Ab initio molecular dynamics |
AIMD |
(Sect. 9.7 |
Ab initio path integrals |
PIMD, PIMC |
(Sect. 9.8) |
BSSE (counterpoise) correction |
BSSE |
(Sect. 12.4.3) |
Energy decomposition analysis |
EDA |
(Sect. 12.5) |
As with much of the theory underlying modern quantum chemistry, the HF approximation was developed shortly after publication of the Schrödinger equation, but remained a qualitative theory until the advent of the computer. Although the HF approximation tends to yield qualitative chemical accuracy, rather than quantitative information, and is generally inferior to many of the DFT approaches available, it remains as a useful tool in the quantum chemist’s toolkit. In particular, for organic chemistry, HF predictions of molecular structure are very useful.
Consider once more the Roothaan-Hall equations, Eq. eq:Roothaan-Hall, or the Pople-Nesbet equations, Eq. eq:Pople-Nesbet, which can be traced back to Eq. eq407, in which the effective potential depends on the SCF methodology. In a restricted HF (RHF) formalism, the effective potential can be written as
(4.16) |
where the Coulomb and exchange operators are defined as
(4.17) |
and
(4.18) |
respectively. By introducing an atomic orbital basis, we obtain Fock matrix elements
(4.19) |
where the core Hamiltonian matrix elements
(4.20) |
consist of kinetic energy elements
(4.21) |
and nuclear attraction elements
(4.22) |
The Coulomb and exchange elements are given by
(4.23) |
and
(4.24) |
respectively, where the density matrix elements are
(4.25) |
and the two electron integrals are
(4.26) |
Note: The formation and utilization of two-electron integrals is a topic central to the overall performance of SCF methodologies. The performance of the SCF methods in new quantum chemistry software programs can be quickly estimated simply by considering the quality of their atomic orbital integrals packages. See Appendix B for details of Q-Chem’s AOInts package.
Substituting the matrix element in Eq. (4.19) back into the Roothaan-Hall equations, Eq. eq:Roothaan-Hall, and iterating until self-consistency is achieved will yield the RHF energy and wave function. Alternatively, one could have adopted the unrestricted form of the wave function by defining separate and density matrices:
(4.27) |
The total electron density matrix . The unrestricted Fock matrix,
(4.30) |
differs from the restricted one only in the exchange contributions, where the exchange matrix elements are given by
(4.31) |
At convergence, the SCF energy will be at a stationary point with respect to changes in the MO coefficients. However, this stationary point is not guaranteed to be an energy minimum, and in cases where it is not, the wave function is said to be unstable. Even if the wave function is at a minimum, this minimum may be an artifact of the constraints placed on the form of the wave function. For example, an unrestricted calculation will usually give a lower energy than the corresponding restricted calculation, and this can give rise to a RHF UHF instability.
To understand what instabilities can occur, it is useful to consider the most general form possible for the spin orbitals:
(4.32) |
Here, and are complex-valued functions of the Cartesian coordinates , and and are spin eigenfunctions of the spin-variable . The first constraint that is almost universally applied is to assume the spin orbitals depend only on one or other of the spin-functions or . Thus, the spin-functions take the form
(4.33) |
In addition, most SCF programs, including Q-Chem’s, deal only with real functions, and this places an additional constraint on the form of the wave function. If there exists a complex solution to the SCF equations that has a lower energy, the wave function exhibits a real complex instability. The final constraint that is commonly placed on the spin-functions is that , i.e., that the spatial parts of the spin-up and spin-down orbitals are the same. This gives the familiar restricted formalism and can lead to a RHF UHF instability as mentioned above. Further details about the possible instabilities can be found in Ref. Seeger:1977.
Wave function instabilities can arise for several reasons, but frequently occur if
There exists a singlet diradical at a lower energy then the closed-shell singlet state.
There exists a triplet state at a lower energy than the lowest singlet state.
There are multiple solutions to the SCF equations, and the calculation has not found the lowest energy solution.
If a wave function exhibits an instability, the seriousness of it can be judged from the magnitude of the negative eigenvalues of the stability matrices. These matrices and eigenvalues are computed by Q-Chem’s Stability Analysis package, which was implemented by Dr Yihan Shao. The package is invoked by setting the STABILITY_ANALYSIS $rem variable equal to TRUE. In order to compute these stability matrices Q-Chem must first perform a CIS calculation. This will be performed automatically, and does not require any further input from the user. By default Q-Chem computes only the lowest eigenvalue of the stability matrix, which is usually sufficient to determine if there is a negative eigenvalue and thus an instability. To compute additional eigenvalues, set CIS_N_ROOTS $rem to a number larger than 1.
Q-Chem’s Stability Analysis package also seeks to correct internal instabilities (RHF RHF or UHF UHF). Then, if such an instability is detected, Q-Chem automatically performs a unitary transformation of the molecular orbitals following the directions of the lowest eigenvector, and writes a new set of MOs to disk. One can read in these MOs as an initial guess in a second SCF calculation (set the SCF_GUESS $rem variable to READ), it might also be desirable to set the SCF_ALGORITHM to GDM. In cases where the lowest-energy SCF solution breaks the molecular point-group symmetry, the SYM_IGNORE $rem should be set to TRUE.
Note: The stability analysis package can be used to analyze both DFT and HF wave functions.