Spin contamination explained

In computational chemistry, spin contamination is the artificial mixing of different electronic spin-states. This can occur when an approximate orbital-based wave function is represented in an unrestricted form – that is, when the spatial parts of α and β spin-orbitals are permitted to differ. Approximate wave functions with a high degree of spin contamination are undesirable. In particular, they are not eigenfunctions of the total spin-squared operator, Ŝ2, but can formally be expanded in terms of pure spin states of higher multiplicities (the contaminants).

Open-shell wave functions

Within Hartree–Fock theory, the wave function is approximated as a Slater determinant of spin-orbitals. For an open-shell system, the mean-field approach of Hartree–Fock theory gives rise to different equations for the α and β orbitals. Consequently, there are two approaches that can be taken – either to force double occupation of the lowest orbitals by constraining the α and β spatial distributions to be the same (restricted open-shell Hartree–Fock, ROHF) or permit complete variational freedom (unrestricted Hartree–Fock UHF). In general, an N-electron Hartree–Fock wave function composed of Nα α-spin orbitals and Nβ β-spin orbitals can be written as[1]

\PsiHF(r1\sigma(1)rN\sigma(N))=

\alpha
l{A}\left(\psi
1

(r1\alpha1

\alpha
)\psi
N\alpha
(r
N\alpha
\alpha
N\alpha
\beta
) \psi
N\alpha+1
(r
N\alpha+1
\beta
N\alpha+1
\beta
)\psi
N

(rN\betaN)\right).

where

l{A}

is the antisymmetrization operator. This wave function is an eigenfunction of the total spin projection operator, Ŝz, with eigenvalue (Nα − Nβ)/2 (assuming Nα ≥ Nβ). For a ROHF wave function, the first 2Nβ spin-orbitals are forced to have the same spatial distribution:
\alpha
\psi
j

(rj)=

\beta
\psi
N\alpha+j
(r
N\alpha+j

),   1\leqj\leqN\beta.

There is no such constraint in an UHF approach.[2]

Contamination

The total spin-squared operator commutates with the nonrelativistic molecular Hamiltonian so it is desirable that any approximate wave function is an eigenfunction of Ŝ2. The eigenvalues of Ŝ2 are S(S + 1), where S is the spin quantum number of the system and can take the values 0 (singlet), 1/2 (doublet), 1 (triplet), 3/2 (quartet), and so forth. The Ŝ2 eigenvalues of the most common spin multiplicities are listed below.

Spin quantum numbers, spin multiplicities and Ŝ2 eigenvalues
Spin quantum number S Spin multiplicity 2S+1 Ŝ2 eigenvalue S(S+1)
0 1 (singlet) 0.00
1/2 2 (doublet) 0.75
1 3 (triplet) 2.00
3/2 4 (quartet) 3.75
2 5 (quintet) 6.00
5/2 6 (sextet) 8.75
3 7 (septet) 12.00
7/2 8 (octet) 15.75
4 9 (nonet) 20.00

The ROHF wave function is an eigenfunction of Ŝ2: the expectation value Ŝ2 for a high-spin ROHF wave function is[3]

\langleS2\rangleROHF=\langleS2\rangleexact=\left(

N\alpha-N\beta\right)\left(
2
N\alpha-N\beta
2

+1\right).

However, the UHF wave function is not: the expectation value of Ŝ2 for an UHF wave function is

\langleS2\rangleUHF=\langleS2\rangleexact+N\beta-

occupied
\sum
i,j
\alpha
|\langle\psi
i
\beta
|\psi
j

\rangle|2.

The sum of the last two terms is a measure of the extent of spin contamination in the unrestricted Hartree–Fock approach and is always non-negative – the wave function is usually contaminated to some extent by higher order spin eigenstates unless a ROHF approach is taken. Therefore, the deviation of the UHF expectation value of Ŝ2 from the exact Ŝ2 eigenvalue as would be expected from the spin multiplicity (see the table above) is usually taken as a measure of the severity of the spin contamination. Naturally, there is no contamination if all electrons are the same spin. Also, thereis often (but not always, as in open-shell singlets) no contamination if the number of α and β electrons is the same. A small basis set could also constrain thewavefunction sufficiently to prevent spin contamination.

Such contamination is a manifestation of the different treatment of α and β electrons that would otherwise occupy the same molecular orbital. It is also present in Møller–Plesset perturbation theory calculations that employ an unrestricted wave function as a reference state (and even some that employ a restricted wave function) and, to a much lesser extent, in the unrestricted Kohn–Sham approach to density functional theory using approximate exchange-correlation functionals.[4]

Elimination

Although the ROHF approach does not suffer from spin contamination, it is less commonly available in quantum chemistry computer programs. Given this, several approaches to remove or minimize spin contamination from UHF wave functions have been proposed.

The annihilated UHF (AUHF) approach involves the annihilation of first spin contaminant of the density matrix at each step in the self-consistent solution of the Hartree–Fock equations using a state-specific Löwdin annihilator.[5] The resulting wave function, while not completely free of contamination, dramatically improves upon the UHF approach especially in the absence of high order contamination.[6] [7]

Projected UHF (PUHF) annihilates all spin contaminants from the self-consistent UHF wave function. The projected energy is evaluated as the expectation of the projected wave function.[8]

The spin-constrained UHF (SUHF) introduces a constraint into the Hartree–Fock equations of the form λ(Ŝ2 − S(S + 1)), which as λ tends to infinity reproduces the ROHF solution.[9]

All of these approaches are readily applicable to unrestricted Møller–Plesset perturbation theory.

Density functional theory

Although many density functional theory (DFT) codes simply calculate spin-contamination using the Kohn-Sham orbitals as if they were Hartree-Fock orbitals, this is not necessarily correct.[10] [11] [12] [13] The unrestricted Kohn-Sham (UKS) wavefunction of a spin-pure electronic state may have a Ŝ2 expectation value that is inconsistent with a spin-pure state, if it is calculated using the UHF formula. Therefore, the benefits of using a restricted open-shell treatment over an unrestricted one is smaller in a DFT context than in HF. In particular, the exact spin density of the Sz=S spin-component of an open-shell molecule generally adopts negative values in small parts of the real space due to spin polarization, but a restricted open-shell Kohn-Sham (ROKS) treatment necessarily gives non-negative spin density everywhere, which proves that, in general, only UKS can possibly give the exact spin density of a system.[14] In practical calculations, the energy error of an unrestricted DFT calculation due to spin contamination can sometimes be remedied by a spin projection approach, particularly if the spin contamination is large (e.g. when there is antiferromagnetic coupling in the system).[15] However, for moderate spin contamination, spin projection may actually be counterproductive, and create unphysical cusps (i.e. derivative discontinuities) on potential energy curves.

On the other hand, in TDDFT calculations, one frequently observes severe spin contamination in the excited states, even if the ground state is described by ROKS (i.e. even when the ground state itself is not spin contaminated). This is because the single excitations out of an open-shell reference state (usually the ground state) do not span a spin-complete manifold, i.e. it is impossible to unitarily transform the set of all single excitations of an open-shell reference state, such that all of the transformed states are eigenstates of the Ŝ2 operator.[16] The excited state 〈Ŝ2〉 values of a TDDFT calculation of an open-shell state can have a maximum error of 2 when the ground state is described by ROKS, and sometimes slightly larger than 2 when the ground state is described by UKS.[17] To eliminate the excited state spin contamination in TDDFT, spin-adapted TDDFT methods[18] must be used, which either explicitly or implicitly include some double excitations and thereby go beyond the adiabatic approximation of the TDDFT response kernel. Spin-adapted TDDFT methods not only improve the prediction of absorption spectra,[19] [20] but also improve the prediction of the fluorescence spectra[21] and excited state relaxation pathways of open-shell molecules.

Notes and References

  1. Book: Springborg, Michael. Methods of Electronic-Structure Calculations. John Wiley & Sons . 978-0-471-97976-0. 2000.
  2. Glaesemann . Kurt R. . Schmidt . Michael W. . On the Ordering of Orbital Energies in High-Spin ROHF† . The Journal of Physical Chemistry A . 114 . 33 . 8772–8777 . 2010 . 20443582 . 10.1021/jp101758y. 2010JPCA..114.8772G .
  3. Book: Szabo, Attila. Ostlund, Neil S. . Modern Quantum Chemistry. Dover Publications. Mineola, New York. 978-0-486-69186-2. 1996.
  4. Book: Young, David. Computational Chemistry. Wiley-Interscience. 2001. 978-0-471-22065-7.
  5. Löwdin . Per-Olov. 1955. Quantum Theory of Many-Particle Systems. III. Extension of the Hartree–Fock Scheme to Include Degenerate Systems and Correlation Effects. Physical Review. 97. 1509–1520. 10.1103/PhysRev.97.1509. 6. 1955PhRv...97.1509L.
  6. Baker. J. 1988. Møller–Plesset perturbation theory with the AUHF wavefunction. Chemical Physics Letters. 152. 2–3. 227–232. 10.1016/0009-2614(88)87359-7. 1988CPL...152..227B .
  7. Baker. J. 1989 . An investigation of the annihilated unrestricted Hartree–Fock wave function and its use in second-order Møller–Plesset perturbation theory. Journal of Chemical Physics. 91. 3 . 1789–1795. 10.1063/1.457084 . 1989JChPh..91.1789B .
  8. Schlegel. H. Bernhard . 1986. Potential energy curves using unrestricted Møller–Plesset perturbation theory with spin annihilation. Journal of Chemical Physics. 84. 8 . 4530–4534. 10.1063/1.450026. 1986JChPh..84.4530S .
  9. Andrews. Jamie S.. Jayatilaka, Dylan . Bone, Richard G. A. . Handy, Nicholas C. . Amos, Roger D. . 1991. Spin contamination in single-determinant wavefunctions. Chemical Physics Letters. 183. 5. 423–431. 10.1016/0009-2614(91)90405-X. 1991CPL...183..423A .
  10. 10.1063/1.2737773 . Evaluation of〈Ŝ2〉in density functional theory . 2007 . Cohen . Aron J. . Tozer . David J. . Handy . Nicholas C. . The Journal of Chemical Physics . 126 . 214104 . 17567187 . 21. 2007JChPh.126u4104C .
  11. 10.1063/1.468585 . Evaluation of〈S2〉in restricted, unrestricted Hartree–Fock, and density functional based theories . 1995 . Wang . Jiahu . Becke . Axel D. . Smith . Vedene H. . The Journal of Chemical Physics . 102 . 8 . 3477. 1995JChPh.102.3477W .
  12. 10.1080/00268970110041191 . On the diagnostic value of〈Ŝ2〉in Kohn-Sham density functional theory . 2001 . Grafenstein . Jurgen . Cremer . Dieter . Molecular Physics . 99. 11 . 981–989. 2001MolPh..99..981G . 101554092 .
  13. 10.1063/1.472497 . Some reasons not to use spin projected density functional theory . 1996 . Wittbrodt . Joanne M. . Schlegel . H. Bernhard . The Journal of Chemical Physics . 105 . 15 . 6574. 1996JChPh.105.6574W .
  14. Spin-unrestricted character of Kohn-Sham orbitals for open-shell systems . 10.1002/qua.560560414 . 1995 . Pople . John A. . Gill . Peter M. W. . Handy . Nicholas C. . International Journal of Quantum Chemistry . 56 . 4 . 303–305 .
  15. Ab initio computations of effective exchange integrals for H–H, H–He–H and Mn2O2 complex: Comparison of broken-symmetry approaches . 10.1016/S0009-2614(00)00166-4 . 2000 . Soda . T. . Kitagawa . Y. . Onishi . T. . Takano . Y. . Shigeta . Y. . Nagao . H. . Yoshioka . Y. . Yamaguchi . K. . Chemical Physics Letters . 319 . 3–4 . 223–230 . 2000CPL...319..223S .
  16. Spin-adapted open-shell random phase approximation and time-dependent density functional theory. I. Theory . 10.1063/1.3463799 . 2010 . Li . Zhendong . Liu . Wenjian . The Journal of Chemical Physics . 133 . 6 . 064106 . 20707560 . 2010JChPh.133f4106L .
  17. Spin-adapted open-shell time-dependent density functional theory. II. Theory and pilot application . 10.1063/1.3573374 . 2011 . Li . Zhendong . Liu . Wenjian . Zhang . Yong . Suo . Bingbing . The Journal of Chemical Physics . 134 . 13 . 134101 . 21476737 . 2011JChPh.134m4101L .
  18. Analytic energy gradients of spin-adapted open-shell time-dependent density functional theory . 10.1063/5.0025428 . 2020 . Wang . Zikuan . Li . Zhendong . Zhang . Yong . Liu . Wenjian . The Journal of Chemical Physics . 153 . 16 . 164109 . 33138406 . 2020JChPh.153p4109W . 226241125 .
  19. Spin-adapted open-shell time-dependent density functional theory. III. An even better and simpler formulation . 10.1063/1.3660688 . 2011 . Li . Zhendong . Liu . Wenjian . The Journal of Chemical Physics . 135 . 19 . 194106 . 22112065 . 2011JChPh.135s4106L .
  20. Critical Assessment of TD-DFT for Excited States of Open-Shell Systems: I. Doublet–Doublet Transitions . 10.1021/acs.jctc.5b01158 . 2016 . Li . Zhendong . Liu . Wenjian . Journal of Chemical Theory and Computation . 12 . 1 . 238–260 . 26672389 .
  21. 2307.07886 . Wang . Xingwen . Wu . Chenyu . Wang . Zikuan . Liu . Wenjian . When do tripdoublet states fluoresce? A theoretical study of copper(II) porphyrin . 2023 . physics.chem-ph .