Skip to main content
Chemistry LibreTexts

9.8: Numerical QM Methods

  • Page ID
    519091
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Introduction

    Quantum mechanical computations can be performed to estimate many properties of molecules: shape, charge distribution, dipole moments, spectroscopic properties, ionization energies, reactivity and much more. Realistic computations require significant computing power combined with sophisticated numerical methods that have been undergoing continuous development since the 1960s. The current state of the art ab initio (from first principles) methods come in two flavors Hartree-Fock self consistent field methods (HF-SCF) and Density functional theory methods (DFT). These methods are ab initio in the sense that they do not require any empirical (measured values) other than basic physical constants. This contrasts with semi-empirical methods, many of which are extensions of the Hückel method beyond \(\pi\) orbitals. In semi-empirical methods many of the necessary integrals are replaced with constants that have been adjusted to get results (e.g. molecular geometries) that match those of a particular set of molecules. Some of these semi-empirical methods (e.g. the extended Hückel) are used to make initial guesses at the electron distribution to begin an ab initio computation.

    Both methods utilize the Born-Oppenheimer approximation to separate the nuclear and electronic parts of the calculation. They also depend on the variational principle, the provable assertion that the best guess at the ground state wavefunction is the lowest energy that can be achieved by adjusting parameters in a guessed wavefunction. Thus an optimized wavefunction provides an upper bound to the energy of the actual wavefunction.

    Although it is now possible for anybody who can draw a Lewis structure to purchase or download software to do these types of computations, there are myriad pitfalls and ways to get results that are very far from what is observed experimentally. Care must be taken when doing these types of calculations and should generally be undertaken and interpreted with the assistance of an expert in quantum computations.

    Hartree-Fock self consistent field methods (HF-SCF)1

    This method is based on the molecular orbital approximation, where each electron is assumed to be represented by a single electron wavefunction consisting of a linear combination of atomic orbitals (LCAO). So a single electron wavefunction is of the form:

    \[\phi_j = c_{j1}\psi_1 + c_{j2}\psi_2 + c_{j3}\psi_3...\label{LCAO}\]

    where \(\phi_j\) is the single electron wavefunction, the \(\psi_k\) are the atomic orbitals on all the atoms and the cjk are the coefficients that scale the contribution of each of the atomic orbitals to the overall wavefunction. To make the computations numerically tractable, the \(\psi_k\) are built from sums of 3-D gaussians rather than using the functional forms of the s, p, d, etc. from the exact solution of the one electron atom. The overall wavefunction is then taken as a product of these wavefunctions in the same way as for a multi-electron atom.

    \[\Psi_{molec} = \phi_1 \phi_2 \phi_3 \phi_4 ...\label{psimolec}\]

    The Hartree-Fock method accounts for the interaction of the electrons in the different molecular orbitals, \(\phi_j\), by adding a potential term to the Hamiltonian that is the average electrostatic potential experienced by an electron in orbital j because of the probability distribution of the all the other electrons. This is then used to optimize the coefficients in equation \(\ref{LCAO}\). In order to start a calculation you must have an initial guess for the orbitals and their occupations. Most HF-SCF use an extended version of the Hückel method for this initial guess. Glossing over the details of setting up the complex secular equations for these large systems, the HF-SCF procedure can be outlined as follows:

    1. Guess an initial geometry.
    2. Choose a basis set (the \(\psi_q\) in equation \(\ref{LCAO}\)).
    3. Use a method such as extended Hückel to generate an initial set of orbital energies and occupations.
    4. Start the SCF process:
      1. Choose a wavefunction \(\phi_k\) to focus on.
      2. Calculate the average electrostatic potential experienced by an electron in orbital \(\phi_k\) using the current wavefunctions for all the other occupied orbitals and the nuclear positions.
      3. Adjust \(\phi_k\) to minimize its energy in the electrostatic field.
      4. Choose a new \(\phi_k\) to concentrate on and repeat (b) and (c) until the total energy has reached a minimum within the precision requested.
      5. This process may iterate through all the \(\phi\) multiple times.
    5. Move the nuclei and restart SCF (step 4) until the total energy is minimized within the precision requested.

    The SCF part of this process keeps adjusting the wavefunctions until they stop changing. This generally works, but there is no guarantee that the SCF process will converge to an optimal set of \(\phi_k\). In large systems and with large basis sets the SCF process can start oscillating. Significant effort has gone into developing techniques to improve convergence (a couple of common techniques are Damping and DIIS). Another issue with this method (and any simple MO calculation) is that it ignores electron correlation to the extent that the average electrostatic potential does not account for the fact that any chosen pair of electrons repels each other, so will have some correlation of their movement. The result is that HF-SCF energies are expected to be higher than the true energy, where electron correlation is taken into account. Extensions to the HF-SCF that include variable contributions from alternative (excited) electron configurations can correct for this but are computationally very expensive. There are many versions of these configuration interaction extensions (e.g. CI, MCSCF, CASSCF, CC). Some of these configuration interaction methods come in specialized flavors designed to calculate a specific molecular property such as ionization energies (IP-EOMCCSD), that are sensitive to electron correlations.

    Density functional theory methods (DFT)2

    The basic idea behind density functional theory methods is to calculate the electron density at a grid of points in the system rather than the quantum states (orbitals) of each of the electrons. Rather than having to account for 3 coordinates for each electron, you only have to account for the electron density at each point in 3-D space. It has been proven that describing the electron density is adequate to determine the overall system energy and in the exact form of DFT the variational principle applies (for a chosen basis set the minimum energy is the best estimate of the actual value). Because only the overall electron density is calculated rather than individual wavefunctions, this method is generally much less computationally intensive.

    DFT methods were originally developed for solid state computations where the number of nuclei and electrons are very large. All practical implementations require an empirical function (the "functionals") that is guessed at to perform the calculation. It was not until the early 1990s that people began to guess at functionals able to yield reasonable agreement with properties of small molecules. Since then a large amount of work has been directed at improving these guessed functionals. In theory these functionals have to account for electron correlations and the non-classical behavior of electrons, but as of yet only guesses as to the form of these functionals are available.

    The outline of the procedure for DFT calculations is similar to HF-SCF except that the SCF process optimizes the electron density rather than each orbital.

    DFT is rapidly evolving and can be a good method for calculating molecular parameters. However, the quality of the results is highly dependent on the choice of functional (an early popular one was B3YLP, which is no longer recommended for most computations). Different functionals give better results for different kinds of computations. Another issue with DFT computations is that they are sensitive to the spacing chosen between points on the 3-D grid at which the electron densities are computed.

    Examples of output from quantum computations

    Modern quantum software produces lots of information about a molecular species. The most obvious are the shapes of the molecules, their orbitals and the orbital energies. Combined with modern graphics software this can help chemists visualize what molecules look like and how they might interact. The figure  below shows some images for methyl fluoride.

    a)fluoromethan geom ACCD.png b)fluoromethane-elctrostatic, dipole, partchar.png c)fluromethane HOMO MO8.png d)flouromethane HOMO MO9.png

    Figure \(\PageIndex{1}\): HF-SCF calculations using an ACCD basis set on fluoromethane: a) geometry; b) electrostatic potential, partial charges and vector representing the dipole moment; c) & d) the two degenerate HOMO orbitals.

    We can compare the computed bond lengths in figure \(\PageIndex{1}\)a with experimental values listed in the NIST computational chemistry comparison database. The listed bond lengths are rCH = 0.1087 nm, rCF = 0.1383 nm and bond angles are aHCH = 110.2˚ and aHCF = 108.73˚. There are slight discrepencies from the experimental geometry, but they are very small, suggesting the ACCD basis set gives a reasonable approximation to the structure of the molecule. The dipole moment and electrostatic potential map (figure \(\PageIndex{1}\)b) are consistent with what we would expect from the much higher electronegativity of F compared to the other atoms in the molecule. In figure \(\PageIndex{1}\) c & d we can visually see that the two degenerate HOMO orbitals involve primarily p-type orbitals on the F atom, but on the methyl end the orbitals involve combinations of p-type orbitals on the C and s-type orbitals on the hydrogens. These fractional contributions to the MOs can be understood more quantitatively by examining the numerical coefficients multiplying the AO contributions to the MOs.

    The figure below is a calculation on a fragment of a cold virus showing where it is in close contact (bullseyes) with the cell surface receptor molecule it uses to enter the cell.

    RSV+ICAM1-comp.png

    Figure \(\PageIndex{2}\): The binding site on the rhinovirus capsid in contact with the receptor it uses to enter the cell.

    MO calculations can also be used to generate estimates of UV-Vis, NMR, IR and Raman spectra as well. Unless great care is taken the generated spectra will have peaks significantly shifted from the experimental values. Even with these shifts they can often be used to assign the origin of peaks in the spectra to particular spectroscopic transitions. See the figure below for a comparison of an experimental and simulated IR spectrum for methylfluoride.

     

    a)Methylfluoride IR -NIST Chemistry Webbook.png

    b)

    Methylfluoride simulated IR GAMESS ACCD.png

    Figure \(\PageIndex{3}\): a) Experimental IR spectrum (from NIST Chemistry Webbook); b) Simulated spectrum generated from a GAMESS computation on methylfluoride using the ACCD basis set. Notice that the C-H stretching wavenumbers seen at about 3000 cm-1 in the experimental spectrum are much too high in the simulated spectrum. This reflects the fact that the simulation assumes a harmonic vibrational potential, while the C-H bond stretch is extremely anharmonic leading to more closely spaced quantum states and a lower energy vibrational transition.

    References

    1. C. J. Cramer Essentials of Computational Chemistry, 2nd Ed. (John Wiley & Sons, Ltd, Hoboken, NJ, 2004) Ch. 4.

    2. C. J. Cramer Essentials of Computational Chemistry, 2nd Ed. (John Wiley & Sons, Ltd, Hoboken, NJ, 2004) Ch. 8.

    Contributors

    • Jonathan Gutow (UW Oshkosh)

    This page titled 9.8: Numerical QM Methods was last modified on Wed, 30 Jul 2025 18:00:54 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Jonathan Gutow.