Solution (source code)

= Solution

The <Hartree-Fock method> minimizes the expectation of an interacting-electron <Hamiltonian> over normalized <Slater determinants> of orthonormal one-particle <spin> orbitals. It is a variational, self-consistent mean-field approximation. The determinant enforces fermionic antisymmetry exactly within that class, while each orbital responds to the mean charge <density> and a nonlocal exchange operator generated by the occupied orbitals.

For an <electron gas>, this accounts for kinetic pressure, the average electrostatic field, same-spin exchange and the associated exchange <hole>, and possible <spin polarization>. It does not account for general dynamical <electron correlation>, such as the correlated avoidance of opposite-spin <electrons>, and cannot capture all screening or collective fluctuations merely by optimizing one determinant. Uniform plane waves are an additional restriction, not the definition of Hartree-Fock itself.

In the <energy> functional, the one-body term is the sum of <electron> <kinetic energy> and ionic-potential <energy>. The direct two-body term is the <Hartree energy>: the classical interaction of the mean <electron> <density> with itself. Its factor $1/2$ avoids counting every pair twice. The negative Fock term comes from exchanging the two indistinguishable <electron> labels in the antisymmetric state. For a spin-independent interaction, <spin> <orthogonality> makes this exchange act only between equal <spin> components. For an orbital interacting with itself, direct and exchange contributions cancel exactly; the exchange term removes the spurious one-electron self-interaction. Ionic background terms and their prescribed cancellation must be included consistently with the direct term.