Spin contamination
In computational chemistry, spin contamination is the artificial mixing of different electronic spin-states.[src] 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.[src] Approximate wave functions with a high degree of spin contamination are undesirable.[src] 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).[src]
In computational chemistry, spin contamination is the artificial mixing of different electronic spin-states.[src] 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.[src] Approximate wave functions with a high degree of spin contamination are undesirable.[src] 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).[src] \Psi^{\mathrm{HF}}(\mathbf{r}_{1}\sigma(1)\cdots\mathbf{r}_{N}\sigma(N)) = \mathcal{A}\left(\psi_{1}^{\alpha}(\mathbf{r}_{1}\alpha_{1})\cdots\psi_{N_{\alpha}}^{\alpha}(\mathbf{r}_{N_{\alpha}}\alpha_{N_{\alpha}}) \psi_{N_{\alpha}+1}^{\beta}(\mathbf{r}_{N_{\alpha}+1}\beta_{N_{\alpha}+1})\cdots\psi_{N}^{\beta}(\mathbf{r}_{N}\beta_{N})\right).[src] where \mathcal{A} is the antisymmetrization operator.[src] This wave function is an eigenfunction of the total spin projection operator, Ŝ z , with eigenvalue (N α − N β )/2 (assuming N α ≥ N β ).[src] For a ROHF wave function, the first 2N β spin-orbitals are forced to have the same spatial distribution: \psi^{\alpha}_{j}(\mathbf{r}_{j}) = \psi^{\beta}_{N_{\alpha}+j}(\mathbf{r}_{N_{\alpha}+j}),\ \ \ 1\leq j\leq N_{\beta}.[src] There is no such constraint in an UHF approach.[src] \hat{S}^2 = \hat{S}_z + \hat{S}^2_z + \hat{S}_- \hat{S}_+ Slater determinants have well-defined spin projections: \langle\hat{S}_z\rangle = m_s = \frac{N_\alpha - N_\beta}{2} \quad \quad \langle\hat{S}_z^2\rangle = m_s^2 = \left(\frac{N_\alpha - N_\beta}{2}\right)^2 \hat{S}_- \hat{S}_+ can be expressed in terms of individual electron operators: \hat{S}_- \hat{S}_+ = \sum_i \hat{s}_{-}(i) \sum_j \hat{s}_{+}(j) .[src] For an Unrestricted Hartree-Fock (UHF) wavefunction, the expectation value Ŝ 2 is \langle \Phi_{\mathrm{UHF}} | \hat{S}^2 | \Phi_{\mathrm{UHF}} \rangle = \frac{N_\alpha - N_\beta}{2} + \left(\frac{N_\alpha - N_\beta}{2}\right)^2 + N_\beta - \sum_{i}^{N_\alpha^{\mathrm{occupied}}}\sum_{j}^{N_\beta^{\mathrm{occupied}}}|\langle\psi_{i}^{\alpha}|\psi_{j}^{\beta}\rangle|^{2} where the first two terms follow directly from the decomposition of Ŝ², the third term corresponds to the diagonal contribution of \hat{S}_- \hat{S}_+ and the last term involves the overlap between the \alpha and \beta spin-orbitals with the negative sign arising from the antisymmetry of the Hartree-Fock wavefunction.[src] For Slater determinants constructed from restricted spin-orbitals, the spatial parts of corresponding \alpha and \beta orbitals are the same, thus the \alpha and \beta overlaps evaluate to 1 for i=j and 0 otherwise.[src] This simplifies to: \begin{align} \langle \Phi_{\mathrm{restricted}} | \hat{S}^2 | \Phi_{\mathrm{restricted}} \rangle &= \frac{N_\alpha - N_\beta}{2} + \left(\frac{N_\alpha - N_\beta}{2}\right)^2 + N_\beta - \sum_{i}^{N_\alpha^{\mathrm{occupied}}}\sum_{j}^{N_\beta^{\mathrm{occupied}}} \delta_{ij} \\ &= \frac{N_\alpha - N_\beta}{2} + \left(\frac{N_\alpha - N_\beta}{2}\right)^2 + N_\beta - N_\beta^{\mathrm{paired}} \\ &= \frac{N_\alpha - N_\beta}{2} + \left(\frac{N_\alpha - N_\beta}{2}\right)^2 + N_\beta^{\mathrm{unpaired}} \end{align} In Restricted open-shell Hartree-Fock (ROHF), all unpaired electrons have the same spin, yielding: \langle \Phi_{\mathrm{ROHF}} | \hat{S}^2 | \Phi_{\mathrm{ROHF}} \rangle = |m_s| + m^2_s = S(S+1) making ROHF wavefunctions eigenfunctions of Ŝ².[src] For multi-configurational wavefunctions expressed as |\Psi \rangle = \sum_{I} c_I |\Phi_I \rangle with \Phi_I being Slater determinants, ⟨Ŝ²⟩ is : \langle \Psi | \hat{S}^2 | \Psi \rangle = \sum_{I,J} c^*_I c_J \langle \Phi_I | \hat{S}^2 | \Phi_J \rangle .[src] The diagonal terms \langle \Phi_I | \hat{S}^2 | \Phi_I \rangle are calculated as above, while cross-terms \langle \Phi_J | \hat{S}^2 | \Phi_I \rangle (where I≠J) require computing \langle \Phi_J | \hat{S}_- \hat{S}_+ | \Phi_I \rangle using individual electron operators.[src] \langle \Phi_J | \hat{S}_z | \Phi_I \rangle and \langle \Phi_J | \hat{S}^2_z | \Phi_I \rangle vanish when I≠J.[src] 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.[src] Therefore, the benefits of using a restricted open-shell treatment over an unrestricted one is smaller in a DFT context than in HF.[src] In particular, the exact spin density of the S z =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.[src] 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.[src] when there is antiferromagnetic coupling in the system).[src] However, for moderate spin contamination, spin projection may actually be counterproductive, and create unphysical cusps (i.e.[src] derivative discontinuities) on potential energy curves.[src] 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.[src] even when the ground state itself is not spin contaminated).[src] 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.[src] 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.[src] 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.[src] To eliminate the excited state spin contamination in TDDFT, spin-adapted TDDFT methods must be used, which either explicitly or implicitly include some double excitations and thereby go beyond the adiabatic approximation of the TDDFT response kernel.[src] Spin-adapted TDDFT methods not only improve the prediction of absorption spectra, but also improve the prediction of the fluorescence spectra and excited state relaxation pathways of open-shell molecules.[src]
34 sentences · 34 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Spin contamination." encyclopegia.org, 2025, https://encyclopegia.org/wiki/spin-contamination. Accessed 04 December 2026.
Chicago
"Spin contamination." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/spin-contamination.
APA
encyclopegia.org. (2025). Spin contamination. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/spin-contamination
Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON