ArticleslgStudy

chemistry

Spin contamination

Spin contamination is a chemistry topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Spin contamination rather than just read about it. In short: 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.

Key takeaways

  • Spin contamination belongs to chemistry; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Spin contamination to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Spin contamination from memory before moving on to harder problems.

Reference excerpt

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.

Worked examples

Example 1 — a first encounter with Spin contamination

Start with the simplest possible case. Write down what Spin contamination claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In chemistry, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Spin contamination before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Spin contamination ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Spin contamination

In research
Spin contamination appears in chemistry research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Spin contamination in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Spin contamination is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational chemistry, Quantum chemistry, so understanding it makes those chapters shorter.
In everyday life
Look for Spin contamination outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Spin contamination” →

How to study Spin contamination in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Spin contamination means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Spin contamination out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Spin contamination in simple terms?

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.

Why does Spin contamination matter?

Because it connects several chemistry ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Spin contamination?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Spin contamination.

Tags

  • Computational chemistry
  • Quantum chemistry

Keep exploring