the goal

Write down the energy operator

Fix the rules: in atomic units, a molecule’s energy operator has four terms — electron kinetic energy, electron–nucleus attraction, electron–electron repulsion, and (once nuclei are clamped) a constant nuclear repulsion. Find its lowest eigenvalue and you have the ground state.

term by term

Three easy terms, one hard one

The kinetic and attraction terms act on one electron at a time — if that were all, you could solve each electron separately and multiply. The repulsion sum is what ruins that: it ties every electron to every other.

the target

One equation, all of chemistry

Solve this eigenvalue problem and bonding, geometries, barriers, and spectra all follow. The entire field is a sequence of controlled approximations to a single equation we cannot solve exactly past one electron.

1 · The Hamiltonian 1 / 27
why it’s hard

The coupling is the enemy

Because each electron repels all the others, you can’t place them one at a time. The wavefunction depends on all electron coordinates at once — it lives in dimensions. Add one electron and the cost doesn’t add, it multiplies.

the scale

Exponential, not just big

Grid each coordinate into points and the exact wavefunction needs about values. For a handful of electrons that already exceeds the number of atoms in the universe. Brute force is off the table — forever.

2 · The wall 2 / 27
the move

Freeze the nuclei

Nuclei are thousands of times heavier than electrons, so they crawl while electrons fly. Clamp the nuclei; solve the electrons in that fixed frame. The nuclear repulsion becomes a constant you add at the end.

the payoff

A surface to roll on

Solve the electrons for each nuclear geometry and the energies trace a potential energy surface. Its minima are stable molecules, its passes are reaction barriers. Chemistry is the shape of that surface.

3 · Born–Oppenheimer 3 / 27
predict

What makes it unsolvable?

Think before you swipe. Of the four terms in the Hamiltonian, which single one blocks solving for each electron independently — and what would happen if you simply deleted it?

answer

The repulsion

Drop the electron–electron repulsion and the Hamiltonian separates into independent one-electron problems you could solve and multiply together. Keeping it (but replacing it with an average) is exactly the mean-field idea coming next.

Check yourself 4 / 27
the unit

One electron’s home

Build the many-electron wavefunction from one-electron pieces. A spin-orbital is a spatial orbital — where the electron is — times a spin function, up or down. It’s the smallest brick we’ll stack.

bookkeeping

Space and spin together

The combined coordinate x bundles position r and spin ω. Two electrons can share the same spatial orbital only if their spins differ — the seed of the Pauli principle, made precise in three cards.

4 · Spin-orbitals 5 / 27
first try

Just multiply them

The obvious many-electron guess: put electron 1 in orbital , electron 2 in , and multiply. This Hartree product treats electrons as independent and labeled — and it’s wrong for a deep reason.

what’s broken

Electrons aren’t labeled

A Hartree product says “electron 1 is here, electron 2 is there.” But electrons are identical and indistinguishable — there is no fact about which is which. The math must not let you tell them apart.

5 · The naive guess 6 / 27
the law

Swap two, flip the sign

Electrons are fermions, so the wavefunction must change sign whenever you exchange any two of them. Not “stay the same” — flip. This single rule carries all of Pauli exclusion inside it.

consequence

Two in one state → zero

Put two electrons in the very same spin-orbital and swapping them must both leave the function unchanged (same state) and flip its sign (antisymmetry). The only number equal to its own negative is zero. The state is forbidden.

6 · Antisymmetry 7 / 27
the trick

A determinant is antisymmetric

A determinant flips sign when you swap two rows and vanishes when two columns match. Put electrons in the rows and spin-orbitals in the columns and antisymmetry is automatic — for free.

read it

What the 2×2 says

Expand it: . Both ways of assigning the two electrons appear, with a minus sign — so you can’t say which electron is in which orbital. That’s the fix.

the approximation

One determinant — that’s the bet

Hartree–Fock’s entire ansatz is: approximate the true wavefunction by a single Slater determinant, then choose the best possible orbitals to fill it. Everything that follows is making “best” precise.

7 · Slater determinant 8 / 27
predict

Where does Pauli come from?

We never added “no two electrons in the same state” as a separate rule. Swipe only after you can say which property of the Slater determinant produces it.

answer

Equal columns → determinant 0

Two electrons in the same spin-orbital means two identical columns, and a determinant with identical columns is exactly zero. Pauli exclusion isn’t an extra axiom — it’s a theorem about determinants.

Check yourself 9 / 27
the lever

Wrong guesses aim too high

Any normalized trial wavefunction has an energy that is never below the true ground state. So we don’t solve the equation — we minimize a number. Lower energy is provably a better wavefunction.

the plan

Turn the orbitals as knobs

Our trial function is one Slater determinant; the adjustable knobs are the orbitals inside it. Minimize the energy over all choices of orbitals and you’ve found the best single-determinant description allowed.

8 · Variational principle 10 / 27
the result

One- plus two-electron parts

Plug the determinant into the energy and it splits cleanly: a sum of one-electron energies (kinetic + nuclear attraction) plus, for every pair of electrons, a Coulomb term minus an exchange term.

why two pieces

The minus sign is the determinant

The Coulomb part is what you’d expect from charge clouds repelling. The subtracted exchange part has no classical analog — it’s the price the determinant’s minus sign extracts. Two cards from now it does real work.

9 · The energy 11 / 27
the classical part

Charge clouds repel

The Coulomb integral is the everyday electrostatic repulsion between two smeared-out electron densities. Two clouds of negative charge push apart; J is the energy cost of that. Nothing quantum here — yet.

10 · Coulomb J 12 / 27
the quantum part

A discount for parallel spins

Exchange has no classical picture. It lowers the energy of electrons with the same spin, as if antisymmetry carves a little “hole” around each electron that keeps like-spin neighbors away. It only acts between parallel spins.

the meaning

Same-spin electrons already avoid

Because the determinant forbids two same-spin electrons from coinciding, they naturally stay apart — the Fermi hole. Exchange is the energy bonus of that built-in avoidance. Opposite-spin avoidance is what HF will miss.

11 · Exchange K 13 / 27
predict

Who feels exchange?

Two electrons sit in a molecule. Predict: does the exchange term act between them if their spins are parallel? Antiparallel? Swipe when you’ve committed to an answer for both.

answer

Parallel spins only

Exchange couples only same-spin electrons — antiparallel pairs have zero exchange. That’s why it’s tied to the Fermi hole: antisymmetry keeps like spins apart, and exchange is the energy of that avoidance.

Check yourself 14 / 27
the derivation

Minimize, and an operator falls out

Demand that the energy be stationary as you vary the orbitals (keeping them orthonormal). The condition collapses into an eigenvalue equation for an effective one-electron operator — the Fock operator.

read it

Core, plus the averaged crowd

Each electron feels its own kinetic + nuclear core term, plus the summed Coulomb and exchange fields of all the other occupied orbitals. The many-body problem became a one-body problem — in an averaged field.

12 · The Fock operator 15 / 27
the eigenproblem

Orbitals are eigenfunctions of Fock

The best orbitals are the ones that diagonalize the Fock operator; their eigenvalues are orbital energies. Fill the lowest for the ground state. This is one tidy one-electron eigenvalue problem.

the catch

Fock depends on its own answer

Look back: the Fock operator is built from the occupied orbitals — the very things you’re solving for. The equation defines the orbitals in terms of themselves. That circularity is the whole story of the SCF loop.

13 · The HF equation 16 / 27
a free result

Orbital energies mean something

The orbital energies aren’t just bookkeeping. Minus the highest occupied one approximates the energy to rip an electron out — the ionization potential. A real, measurable number drops out of the math for free.

14 · Koopmans 17 / 27
the idea

Build orbitals from a fixed menu

Searching over “all functions” is infinite freedom. Instead, fix a small set of atom-centered basis functions and write each molecular orbital as a weighted sum. Now an orbital is just a column of coefficients.

what changed

From functions to numbers

The unknowns went from whole functions to a finite matrix of coefficients C. Solving Hartree–Fock now means solving for numbers — something a computer can actually do.

15 · LCAO 18 / 27
a tradeoff

The wrong shape, on purpose

True atomic orbitals decay like with a sharp cusp at the nucleus. We use Gaussians, , which have neither — because the integrals between Gaussians are fast to compute. STO-3G fakes each true orbital with three Gaussians.

the rule

Bigger basis, lower energy, higher bill

More basis functions hug the true orbitals better and, by the variational principle, push the energy down — but cost climbs steeply. Choosing a basis is buying accuracy by the pound.

16 · Why Gaussians 19 / 27
the matrix form

Hartree–Fock becomes linear algebra

Insert the LCAO expansion and the Fock equation turns into a matrix eigenvalue problem: the Fock matrix times the coefficients equals the overlap matrix times the coefficients times the orbital energies.

the pieces

S because the basis isn’t orthogonal

is the overlap matrix — atom-centered functions aren’t orthogonal, so it isn’t the identity. Orthogonalize the basis and this collapses to an ordinary eigenproblem you diagonalize directly.

17 · Roothaan–Hall 20 / 27
the carrier

Pack the occupied orbitals into P

The field each electron feels depends only on where all the electrons are — the density. Collect the occupied coefficients into a density matrix . It’s the single object the Fock matrix actually needs.

the loop, closed

Fock is a function of P

The Fock matrix is the core part plus a contraction of against the two-electron integrals. So depends on , and comes from diagonalizing . There it is again — the circle.

18 · Density matrix 21 / 27
the bottleneck

Four indices, the real cost

Every Coulomb and exchange contribution is a two-electron integral over four basis functions. With basis functions there are on the order of of them — the dominant cost and memory of the whole calculation.

19 · Two-electron integrals 22 / 27
the algorithm

Guess, build, solve, repeat

Guess a density . Build . Solve for new coefficients. Form a new . Repeat. When stops changing, the field is consistent with the orbitals that made it — self-consistent.

the picture

A fixed point

It’s a fixed-point iteration: feed the field back into itself until it reproduces itself. Like a seating chart where everyone wants to sit near everyone’s final seat — reshuffle until nobody moves.

20 · The SCF loop 23 / 27
the setup

Two atoms, two basis functions

Take H at its bond length, about bohr, in STO-3G: one function on each atom, so matrices throughout. Two electrons, opposite spins, both in the bonding combination of the two functions.

the numbers

Watch it converge

The two functions overlap strongly — off-diagonal near , far from orthogonal. Start from a guess density, run the loop a handful of times, and the energy settles to about hartree — the textbook minimal-basis result.

the point

Every earlier card, at work

That one number used all of it: the determinant, Coulomb minus exchange, the Fock matrix built from , , and the loop. The abstract machine produced a concrete energy you could compare to experiment.

21 · H₂, for real 24 / 27
predict

Why iterate at all?

You can diagonalize a matrix in one shot. So why does Hartree–Fock need a loop instead of a single solve? Swipe once you can name the dependency that forces it.

answer

F depends on its own solution

The Fock matrix is built from the density , but comes from diagonalizing . You can’t build the matrix until you know the answer — so you guess, solve, rebuild, and repeat until it’s consistent.

Check yourself 25 / 27
the gap

The energy mean field leaves behind

Each electron felt only the average of the others, so opposite-spin electrons never learned to dodge in real time. The exact energy minus the Hartree–Fock energy is, by definition, the correlation energy.

why it bites

Small number, real chemistry

Correlation is a percent or two of the total energy but a large share of the differences chemistry cares about — bond strengths, barriers. Stretch H₂ apart and restricted HF fails badly: it can’t break the bond correctly.

22 · Correlation 26 / 27
the ladder

Climbing back to exact

Once you can name what HF misses, you can chase it. MP2 adds correlation by perturbation; configuration interaction and coupled cluster mix in other determinants; full CI is exact in the basis. Hartree–Fock is the floor they all build on.

the through-line

Why this was worth it

Almost every method in quantum chemistry starts from a Hartree–Fock reference. Understand this one determinant — its orbitals, its Fock operator, its loop — and the rest of the field has a foundation to stand on.

23 · Beyond HF 27 / 27
end of deck

Hartree–Fock, by swipe

From the molecular Hamiltonian to a converged H₂ energy — the whole chain, no gaps.

Read the full version →
↔  swipe to re-explain ↕  scroll for the next idea