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
ΨHF(𝐫1σ(1)⋯𝐫Nσ(N))=𝒜(ψ1α(𝐫1α1)⋯ψNαα(𝐫NααNα)ψNα+1β(𝐫Nα+1βNα+1)⋯ψNβ(𝐫NβN)). where 𝒜 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:
ψjα(𝐫j)=ψNα+jβ(𝐫Nα+j), 1≤j≤Nβ. There is no such constraint in an UHF approach.
Contamination The total spin-squared operator commutes 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.
Calculating ⟨Ŝ²⟩ for arbitrary Slater determinants The Ŝ² operator can be decomposed as:
Ŝ2=Ŝz+Ŝz2+Ŝ−Ŝ+ Slater determinants have well-defined spin projections: ⟨Ŝz⟩=ms=Nα−Nβ2 ⟨Ŝz2⟩=ms2=(Nα−Nβ2)2 Ŝ−Ŝ+ can be expressed in terms of individual electron operators: Ŝ−Ŝ+=∑iŝ−(i)∑jŝ+(j). For an Unrestricted Hartree-Fock (UHF) wavefunction, the expectation value Ŝ2 is
⟨ΦUHF|Ŝ2|ΦUHF⟩=Nα−Nβ2+(Nα−Nβ2)2+Nβ−∑iNαoccupied∑jNβoccupied|⟨ψiα|ψjβ⟩|2 where the first two terms follow directly from the decomposition of Ŝ², the third term corresponds to the diagonal contribution of Ŝ−Ŝ+ and the last term involves the overlap between the α and β spin-orbitals with the negative sign arising from the antisymmetry of the Hartree-Fock wavefunction. For Slater determinants constructed from restricted spin-orbitals, the spatial parts of corresponding α and β orbitals are the same, thus the α and β overlaps evaluate to 1 for i=j and 0 otherwise. This simplifies to:
⟨Φrestricted|Ŝ2|Φrestricted⟩=Nα−Nβ2+(Nα−Nβ2)2+Nβ−∑iNαoccupied∑jNβoccupiedδij=Nα−Nβ2+(Nα−Nβ2)2+Nβ−Nβpaired=Nα−Nβ2+(Nα−Nβ2)2+Nβunpaired In Restricted open-shell Hartree-Fock (ROHF), all unpaired electrons have the same spin, yielding:
⟨ΦROHF|Ŝ2|ΦROHF⟩=|ms|+ms2=S(S+1) making ROHF wavefunctions eigenfunctions of Ŝ².
Multi-configurational wavefunctions For multi-configurational wavefunctions expressed as |Ψ⟩=∑IcI|ΦI⟩ with ΦI being Slater determinants, ⟨Ŝ²⟩ is : ⟨Ψ|Ŝ2|Ψ⟩=∑I,JcI∗cJ⟨ΦI|Ŝ2|ΦJ⟩. The diagonal terms ⟨ΦI|Ŝ2|ΦI⟩ are calculated as above, while cross-terms ⟨ΦJ|Ŝ2|ΦI⟩ (where I≠J) require computing ⟨ΦJ|Ŝ−Ŝ+|ΦI⟩ using individual electron operators. ⟨ΦJ|Ŝz|ΦI⟩ and ⟨ΦJ|Ŝz2|ΦI⟩ vanish when I≠J.
Measuring spin contamination The sum of the last two terms in the UHF equation 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, there is 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 the wavefunction 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.
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. The resulting wave function, while not completely free of contamination, dramatically improves upon the UHF approach especially in the absence of high order contamination. 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. 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. All of these approaches are readily applicable to unrestricted Møller–Plesset perturbation theory.
… excerpt ends here. Continue reading the full article.