Skip to content

Variational Helium Notebook

This notebook asks how far one optimized orbital exponent can take the helium ground state, and makes every comparison use the same Hamiltonian. The calculation is analytically solvable, but it is still a useful computational benchmark because it distinguishes:

  • a different, noninteracting Hamiltonian from a trial state for full helium;
  • an unoptimized product from its variational optimum;
  • energy accuracy from parameter and wavefunction accuracy;
  • single-orbital restriction from electron correlation;
  • and printed digits from validated digits.

For a point nucleus of charge Z=2Z=2 and infinite nuclear mass, the retained program finds

ζ∗=2716=1.6875\zeta_*=\frac{27}{16}=1.6875

and

E(ζ∗)=−729256Eh=−2.847 656 25Eh.E(\zeta_*) = -\frac{729}{256}E_{\mathrm h} = -2.847\,656\,25E_{\mathrm h}.

This is a strict variational upper bound for the stated nonrelativistic Hamiltonian, but it remains

0.056 068 127 034 119Eh0.056\,068\,127\,034\,119E_{\mathrm h}

above a high-precision nonrelativistic clamped-nucleus reference. The gap is not all “correlation energy”: part comes from restricting the Hartree–Fock orbital itself to a one-parameter exponential.

Run the investigation. The program and retained results below support the stated experiment. Follow Running an Experiment for environment and output-directory guidance. The recorded evidence applies to its stated parameters and environment.

The complete analytic evaluation of the Coulomb integral and the effective charge derivation belong to Variational Estimate for the Helium Atom. The Helium Atom page owns helium’s spectrum, singlet–triplet structure, precision hierarchy, and role as an atomic benchmark. The Variational Principle owns the upper-bound theorem.

This page owns the reproducible notebook experiment:

  • encode the analytic energy decomposition;
  • separate two independent-particle baselines;
  • optimize ζ\zeta analytically and numerically;
  • compare machine-readable results with retained references;
  • verify upper-bound and virial statements;
  • expose optimizer conditioning at a stationary energy;
  • audit units and ionization conventions;
  • and identify which missing physics contributes to the remaining deficit.

It does not duplicate the full six-dimensional integral derivation or present the retained literature references as outputs of the notebook.

ItemNotebook choice
systemneutral helium, Z=2Z=2, two electrons
Hamiltoniannonrelativistic Coulomb, infinite-mass point nucleus
statespatially symmetric 1s21s^2 singlet ground-state trial
trial familytwo identical hydrogenic 1s1s orbitals with exponent ζ>0\zeta>0
targettotal electronic energy and its components
optimizeranalytic stationary point plus bracketed golden-section search
arithmeticIEEE 754 binary64 through Python float
dependenciesPython 3 standard library only
randomnessnone
validationanalytic agreement, upper bound, virial stationarity, finite-difference gradient, ordering
artifactsprogram, energy-curve CSV, summary CSV, metadata JSON

The numerical minimizer is intentionally redundant. It does not make the analytic problem more accurate; it tests the encoded objective and illustrates how a general optimizer behaves near a variational stationary point.

In Hartree atomic units,

ℏ=me=e=4πϵ0=1.\hbar=m_e=e=4\pi\epsilon_0=1.

The clamped-nucleus electronic Hamiltonian is

H=−12∇12−12∇22−Zr1−Zr2+1r12,H = -\frac12\nabla_1^2 -\frac12\nabla_2^2 -\frac{Z}{r_1} -\frac{Z}{r_2} +\frac{1}{r_{12}},

where

r12=∣r1−r2∣.r_{12}=|\mathbf r_1-\mathbf r_2|.

Distances are measured in Bohr radii a0a_0 and energies in Hartree EhE_{\mathrm h}. The zero is a bare nucleus plus two electrons at rest at infinite separation.

The normalized orbital is written in atomic-unit coordinates as

ϕζ(r)=(ζ3π)1/2e−ζr.\phi_\zeta(\mathbf r) = \left( \frac{\zeta^3}{\pi} \right)^{1/2} e^{-\zeta r}.

Here the numerical coordinate rr is measured in a0a_0, so ζ\zeta is numerically an inverse-Bohr scale. Restoring dimensions,

ϕζ(r)=[(ζ/a0)3π]1/2exp⁡(−ζra0).\phi_\zeta(\mathbf r) = \left[ \frac{(\zeta/a_0)^3}{\pi} \right]^{1/2} \exp\left(-\frac{\zeta r}{a_0}\right).

The dimensionless number ζ\zeta can also be interpreted as an effective nuclear charge for this hydrogenic shape. It is not a measured nuclear charge and need not be an integer.

QuantityAtomic-unit dimensionNotebook value
rra0a_0input coordinate
ζ\zetaa0−1a_0^{-1} numericallyoptimized as a dimensionless exponent
kinetic expectationEhE_{\mathrm h}ζ2\zeta^2
Coulomb expectationsEhE_{\mathrm h}linear in ζ\zeta
total energyEhE_{\mathrm h}sum of components
ionization energyEhE_{\mathrm h}difference of two total energies

Convert to electronvolts or inverse centimetres only after the Hartree result is established, using a stated constants release. Rounding a conversion factor early can obscure whether a discrepancy is numerical or metrological.

If the electron–electron interaction is removed, the Hamiltonian becomes

H0=∑i=12(−12∇i2−Zri).H_0 = \sum_{i=1}^{2} \left( -\frac12\nabla_i^2-\frac{Z}{r_i} \right).

Each electron occupies an exact hydrogenic 1s1s orbital with exponent ζ=Z\zeta=Z, so

E0=−Z2.E_0=-Z^2.

For helium,

E0=−4Eh.E_0=-4E_{\mathrm h}.

This is an exact result for H0H_0, but not a variational estimate for the full Hamiltonian HH. It lies below the exact helium energy because a positive interaction was deleted. The variational theorem compares trial states for one fixed Hamiltonian; it does not order different Hamiltonians.

This baseline answers a physical question: how large is the direct effect of electron repulsion relative to two independent Coulomb electrons? It cannot be inserted into the full-Hamiltonian upper-bound ladder.

Baseline 2: Bare Exponent in the Full Hamiltonian

Section titled “Baseline 2: Bare Exponent in the Full Hamiltonian”

Keep ζ=Z\zeta=Z, but now evaluate the full HH, including 1/r121/r_{12}. For Z=2Z=2,

⟨T⟩=4,⟨Vnuc⟩=−8,⟨Vee⟩=54.\begin{aligned} \langle T\rangle &=4,\\ \langle V_{\mathrm{nuc}}\rangle &=-8,\\ \langle V_{ee}\rangle &=\frac54. \end{aligned}

Therefore

E(ζ=2)=4−8+54=−114=−2.75Eh.E(\zeta=2) = 4-8+\frac54 = -\frac{11}{4} = -2.75E_{\mathrm h}.

This is a valid variational upper bound for the full Hamiltonian. It uses an admissible normalized trial state but has not yet allowed the orbital to expand in response to screening.

Keeping these two baselines separate prevents the common but severe mistake of calling −4Eh-4E_{\mathrm h} a variational helium energy.

Use the spatial product

Φζ(r1,r2)=ϕζ(r1)ϕζ(r2).\Phi_\zeta(\mathbf r_1,\mathbf r_2) = \phi_\zeta(\mathbf r_1) \phi_\zeta(\mathbf r_2).

It is symmetric under exchange of spatial coordinates. The full two-electron state is antisymmetric because it is multiplied by the spin singlet

χ00=∣↑↓⟩−∣↓↑⟩2.\chi_{00} = \frac{ |\uparrow\downarrow\rangle -|\downarrow\uparrow\rangle }{ \sqrt2 }.

Thus

Ψζ=Φζχ00\Psi_\zeta = \Phi_\zeta\chi_{00}

is a legal fermionic trial state for the helium ground-state symmetry.

Equivalently, it is the Slater determinant formed from ϕζα\phi_\zeta\alpha and ϕζβ\phi_\zeta\beta. For helium, the one-parameter family can therefore be viewed as a severely constrained restricted Hartree–Fock family: the spatial orbital is forced to remain a pure hydrogenic exponential.

For the normalized trial state,

T(ζ)=⟨−12∇12−12∇22⟩=ζ2,Vnuc(ζ)=⟨−Zr1−Zr2⟩=−2Zζ,Vee(ζ)=⟨1r12⟩=58ζ.\begin{aligned} T(\zeta) &= \left\langle -\frac12\nabla_1^2-\frac12\nabla_2^2 \right\rangle =\zeta^2, \\ V_{\mathrm{nuc}}(\zeta) &= \left\langle -\frac{Z}{r_1}-\frac{Z}{r_2} \right\rangle =-2Z\zeta, \\ V_{ee}(\zeta) &= \left\langle \frac1{r_{12}} \right\rangle =\frac58\zeta. \end{aligned}

The total is

E(ζ;Z)=ζ2−2Zζ+58ζ.E(\zeta;Z) = \zeta^2-2Z\zeta+\frac58\zeta.

The 5ζ/85\zeta/8 integral is the only genuinely two-electron integral in this trial family. Its analytic derivation remains at the canonical worked example linked above.

The retained program encodes the decomposition directly:

def energy_components(zeta: float, nuclear_charge: float = 2.0):
kinetic = zeta * zeta
nuclear = -2.0 * nuclear_charge * zeta
repulsion = 5.0 * zeta / 8.0
return kinetic, nuclear, repulsion

Keeping components separate supports unit checks, virial validation, and clear diagnosis of a sign error. An implementation that stores only the total can accidentally obtain a plausible minimum from compensating mistakes.

Differentiate:

dEdζ=2ζ−2Z+58.\frac{dE}{d\zeta} = 2\zeta-2Z+\frac58.

The stationary exponent is

ζ∗=Z−516.\zeta_* = Z-\frac5{16}.

Because

d2Edζ2=2>0,\frac{d^2E}{d\zeta^2}=2>0,

this is the unique minimum for ζ>0\zeta>0 whenever Z>5/16Z>5/16.

Completing the square gives

E(ζ;Z)=(ζ−Z+516)2−(Z−516)2.E(\zeta;Z) = \left( \zeta-Z+\frac5{16} \right)^2 - \left( Z-\frac5{16} \right)^2.

Hence

E∗(Z)=−(Z−516)2.E_*(Z) = - \left( Z-\frac5{16} \right)^2.

For helium,

ζ∗=2−516=2716,E∗=−(2716)2=−729256Eh.\begin{aligned} \zeta_* &= 2-\frac5{16} =\frac{27}{16}, \\ E_* &= -\left(\frac{27}{16}\right)^2 =-\frac{729}{256}E_{\mathrm h}. \end{aligned}

The screening parameter in this ansatz is

σ=Z−ζ∗=516.\sigma=Z-\zeta_*=\frac5{16}.

It is an optimized scale parameter, not a claim that one electron screens a fixed fraction of charge at every radius.

Variational helium energy as a function of the common orbital exponent, with the unoptimized point, optimized minimum, and exact nonrelativistic reference.

The full-Hamiltonian trial energy is a parabola. The optimized exponent lowers the bare-ZZ trial from −2.75Eh-2.75E_{\mathrm h} to −2.84765625Eh-2.84765625E_{\mathrm h}, but the entire one-parameter curve remains above the exact nonrelativistic clamped-nucleus energy. The noninteracting −4Eh-4E_{\mathrm h} result is absent because it belongs to a different Hamiltonian.

The program performs two numerical tasks:

  1. sample E(ζ)E(\zeta) at 501 equally spaced points on 0.5≤ζ≤30.5\le\zeta\le3 for the retained curve;
  2. minimize the objective independently with a bracketed golden-section search.

The scan visualizes the landscape and confirms that the analytic optimum lies inside the bracket. The scan spacing does not determine the final minimum. The golden-section search retains a bracket and assumes only that the objective is unimodal on the interval.

Run:

python variational-helium.py --output-dir variational-helium-output

The retained run prints:

analytic zeta = 1.687500000000000
numeric zeta = 1.687499999849360
optimized energy = -2.847656250000000 Eh
unoptimized energy = -2.750000000000000 Eh
no-repulsion model = -4.000000000000000 Eh
trial deficit = 0.056068127034119 Eh
HF correlation gap = 0.042044381422119 Eh
validation = all checks passed

The no-repulsion value is printed with an explicit model label so that it cannot be mistaken for a full-Hamiltonian trial energy.

The energy can be written exactly as

E(ζ)=E∗+(ζ−ζ∗)2.E(\zeta) = E_* +(\zeta-\zeta_*)^2.

An exponent error δζ\delta\zeta therefore changes the energy only by

δE=(δζ)2.\delta E=(\delta\zeta)^2.

Near the minimum, binary64 energy evaluations cannot distinguish changes much smaller than roughly machine precision times the energy scale. An energy-only optimizer therefore loses parameter resolution at approximately the square root of the energy floor.

The retained search gives

∣ζnum−ζ∗∣≈1.51×10−10,|\zeta_{\mathrm{num}}-\zeta_*| \approx 1.51\times10^{-10},

while both energies round to the same binary64 value. This is not optimizer failure. It is a concrete instance of a general variational fact: stationary energies can look much more accurate than nonlinear parameters or wavefunctions.

The validation threshold reflects this conditioning:

  • exponent agreement must be better than 5×10−95\times10^{-9};
  • energy agreement must be better than 2×10−13Eh2\times10^{-13}E_{\mathrm h}.

Demanding the same absolute tolerance for both would misrepresent the information contained in the objective.

For ζ=27/16\zeta=27/16, the exact component values within the trial family are

T=729256=2.847 656 25,Vnuc=−274=−6.75,Vee=135128=1.054 687 5,V=−729128=−5.695 312 5,E=−729256=−2.847 656 25.\begin{aligned} T &= \frac{729}{256} =2.847\,656\,25, \\ V_{\mathrm{nuc}} &= -\frac{27}{4} =-6.75, \\ V_{ee} &= \frac{135}{128} =1.054\,687\,5, \\ V &= -\frac{729}{128} =-5.695\,312\,5, \\ E &= -\frac{729}{256} =-2.847\,656\,25. \end{aligned}

All energies in this display are in EhE_{\mathrm h}.

Model or stateHamiltonianEnergy EhE_{\mathrm h}Status
independent electrons, no 1/r121/r_{12}H0H_0−4-4exact for a different Hamiltonian
product with ζ=Z=2\zeta=Z=2full HH−2.75-2.75valid unoptimized upper bound
product with ζ=27/16\zeta=27/16full HH−2.84765625-2.84765625optimized one-parameter upper bound
Hartree–Fock limitfull HHapproximately −2.861679995612-2.861679995612retained literature reference
nonrelativistic clamped-nucleus limitfull HHapproximately −2.903724377034119-2.903724377034119retained literature reference

The final two rows are not computed by this program. They are reference values used to interpret the trial family and are labeled as such in the summary CSV.

For the same full Hamiltonian,

Eexact≤EHF≤Eζ∗≤Eζ=Z.E_{\mathrm{exact}} \le E_{\mathrm{HF}} \le E_{\zeta_*} \le E_{\zeta=Z}.

Numerically,

−2.903724…<−2.861680…<−2.84765625<−2.75.-2.903724\ldots < -2.861680\ldots < -2.84765625 < -2.75.

Lower energy is better. The −4Eh-4E_{\mathrm h} no-repulsion value does not belong in this chain.

For a Coulomb Hamiltonian and a scale-stationary trial state, the virial condition is

2T+V=0.2T+V=0.

In this family,

2T+V=2ζ2−2Zζ+58ζ=ζdEdζ.\begin{aligned} 2T+V &= 2\zeta^2 -2Z\zeta +\frac58\zeta \\ &= \zeta \frac{dE}{d\zeta}. \end{aligned}

At ζ=ζ∗\zeta=\zeta_*,

2T+V=0.2T+V=0.

The retained analytic result satisfies this exactly in binary64 arithmetic:

2(2.84765625)−5.6953125=0.2(2.84765625)-5.6953125=0.

At the unoptimized bare exponent,

2T+V=8−8+54=54,2T+V = 8-8+\frac54 =\frac54,

so its nonzero virial residual correctly diagnoses unfinished scale optimization.

The virial check is independent of the known optimum but not independent of the encoded energy components. A sign mistake repeated in both the objective and residual could still pass; the exact benchmark values and component table provide additional checks.

The program evaluates

dEdζ∣ζ∗≈E(ζ∗+h)−E(ζ∗−h)2h\left. \frac{dE}{d\zeta} \right|_{\zeta_*} \approx \frac{ E(\zeta_*+h)-E(\zeta_*-h) }{ 2h }

with

h=10−5.h=10^{-5}.

For this quadratic objective the centered formula is exact in symbolic arithmetic, and the retained binary64 value is zero. In a general notebook, vary hh: a large step exposes truncation error while a very small step exposes cancellation.

This test would catch an optimizer that stopped away from stationarity even if its energy happened to round close to the reference value.

The trial state is normalized, has the correct singlet fermionic symmetry, and belongs to the form domain of the nonrelativistic Coulomb Hamiltonian. Therefore

E(ζ)≥EexactE(\zeta)\ge E_{\mathrm{exact}}

for every ζ>0\zeta>0.

The program checks

−2.84765625≥−2.9037243770341196.-2.84765625 \ge -2.9037243770341196.

This comparison is useful as a regression test, but the theorem does not derive from the stored decimal. If a future run falls below the reference, at least one of the following has happened:

  • the Hamiltonian changed;
  • the trial expectation was evaluated incorrectly;
  • the reference convention changed;
  • numerical integration or normalization failed;
  • or the output units were mislabeled.

Silently celebrating a lower “variational” energy would be the wrong response.

For the same infinite-mass nonrelativistic convention, the one-electron helium ion has

E(He+)=−Z22=−2Eh.E(\mathrm{He}^+)=-\frac{Z^2}{2}=-2E_{\mathrm h}.

The first ionization energy inferred from a neutral-helium approximation is

I1=E(He+)−E(He).I_1 = E(\mathrm{He}^+)-E(\mathrm{He}).

The optimized trial gives

I1(ζ)=−2−(−2.84765625)=0.84765625Eh.I_1^{(\zeta)} = -2-(-2.84765625) = 0.84765625E_{\mathrm h}.

The nonrelativistic reference gives

I1(NR)≈0.9037243770341196Eh.I_1^{(\mathrm{NR})} \approx 0.9037243770341196E_{\mathrm h}.

The equality of the ionization-energy deficit and total-energy deficit occurs because the one-electron ion is exact in this model. In a general comparison, errors in both charge states contribute and can cancel.

Do not compare the neutral total energy itself with an experimental ionization energy; they have different zeros and dimensions of interpretation even when both are quoted in Hartree.

The optimized orbital is more diffuse than the bare Z=2Z=2 hydrogenic orbital:

ζ∗=1.6875<2.\zeta_*=1.6875<2.

Its mean radius is

⟨r⟩=32ζ∗=89a0≈0.8889a0,\langle r\rangle = \frac{3}{2\zeta_*} = \frac89a_0 \approx0.8889a_0,

compared with

34a0\frac34a_0

for ζ=2\zeta=2. Variational optimization therefore captures an average expansion caused by electron repulsion.

It also balances kinetic, nuclear-attraction, and direct-repulsion energy rather than simply subtracting a guessed screening charge from ZZ.

The spatial probability factorizes:

∣Φζ(r1,r2)∣2=∣ϕζ(r1)∣2∣ϕζ(r2)∣2.|\Phi_\zeta(\mathbf r_1,\mathbf r_2)|^2 = |\phi_\zeta(\mathbf r_1)|^2 |\phi_\zeta(\mathbf r_2)|^2.

Conditional on one electron’s position, the other electron’s distribution does not move. The ansatz cannot create a correlation hole that favors large r12r_{12}.

For an opposite-spin electron pair, the exact Coulomb wavefunction satisfies the electron–electron cusp condition

1Ψ∂Ψ∂r12∣r12=0=12\left. \frac{1}{\Psi} \frac{\partial\Psi}{\partial r_{12}} \right|_{r_{12}=0} = \frac12

in atomic units. The product state has no explicit r12r_{12} dependence and gives zero for this derivative. Orbital screening improves the one-electron scale but cannot repair the two-electron cusp.

Define the positive trial deficit

Δtrial=Eζ∗−Eexact.\Delta_{\mathrm{trial}} = E_{\zeta_*}-E_{\mathrm{exact}}.

Using the retained references,

Δtrial≈0.056068127034119Eh.\Delta_{\mathrm{trial}} \approx 0.056068127034119E_{\mathrm h}.

Insert the Hartree–Fock limit:

Δtrial=(Eζ∗−EHF)+(EHF−Eexact).\begin{aligned} \Delta_{\mathrm{trial}} ={}& \left( E_{\zeta_*}-E_{\mathrm{HF}} \right) \\ &+ \left( E_{\mathrm{HF}}-E_{\mathrm{exact}} \right). \end{aligned}

The two positive pieces are approximately

Eζ∗−EHF=0.014023745612EhE_{\zeta_*}-E_{\mathrm{HF}} = 0.014023745612E_{\mathrm h}

and

EHF−Eexact=0.042044381422119Eh.E_{\mathrm{HF}}-E_{\mathrm{exact}} = 0.042044381422119E_{\mathrm h}.

The first measures restriction of the self-consistent one-orbital shape to a single exponential. The second is the magnitude of the conventional nonrelativistic clamped-nucleus correlation energy:

Ec=Eexact−EHF≈−0.042044381422119Eh.E_{\mathrm c} = E_{\mathrm{exact}}-E_{\mathrm{HF}} \approx -0.042044381422119E_{\mathrm h}.

Calling the entire 0.0561Eh0.0561E_{\mathrm h} gap “correlation energy” would conflate orbital-shape incompleteness with correlation beyond the Hartree–Fock determinant.

For a helium-like ion of nuclear charge ZZ,

E∗(Z)=−(Z−516)2=−Z2+58Z−25256.E_*(Z) = - \left( Z-\frac5{16} \right)^2 = -Z^2+\frac58Z-\frac{25}{256}.

The first two terms match the structure expected when electron repulsion is treated as a first-order correction to two hydrogenic electrons:

E(Z)=−Z2+58Z+O(Z0).E(Z) = -Z^2+\frac58Z+O(Z^0).

The one-parameter optimization adds a particular constant term −25/256-25/256, but it does not reproduce the exact full 1/Z1/Z expansion. This explains why the ansatz becomes relatively better as ZZ grows while remaining structurally incapable of exact correlation.

When changing ZZ in the program, the retained helium Hartree–Fock and exact reference checks are disabled. Reusing helium reference numbers for another ion would be a model error, not a numerical one.

The program requires only Python’s standard library. Run it with:

python variational-helium.py --output-dir variational-helium-output

Optional arguments expose the nuclear charge, exponent interval, and curve resolution:

python variational-helium.py \
--nuclear-charge 2 \
--zeta-min 0.5 \
--zeta-max 3.0 \
--points 501 \
--output-dir variational-helium-output

The source carries the SPDX identifier MIT; the program and generated data are released under the MIT License.

ArtifactPurpose
programauthoritative executable formulas, optimizer, checks, and writers
energy-curve CSVevery sampled component and virial residual versus ζ\zeta
summary CSVmodel-separated baselines, optimized results, and retained references
metadata JSONenvironment, parameters, validation outcomes, and output inventory

The summary deliberately includes a hamiltonian column and a variational_for_full_H field. These make it difficult for downstream plots to place the −4Eh-4E_{\mathrm h} noninteracting result in the full-helium variational ladder by accident.

ItemRetained run
operating systemWindows 11, x86-64
PythonCPython 3.12.13
scalar typeIEEE 754 binary64
external packagesnone
nuclear chargeZ=2Z=2
exponent scan0.5≤ζ≤3.00.5\le\zeta\le3.0
curve points501
optimizerbracketed golden-section search
optimizer iterations68
random seednone; deterministic
analytic exponent errorexactly zero by construction
numerical exponent error1.5064×10−101.5064\times10^{-10}
numerical energy errorzero at binary64 resolution
licenseMIT

The metadata JSON records the full platform string and all validation flags. For archival reruns, retain the console output and generated files together.

ClaimCheckRetained outcome
encoded objective matches derivationcompare analytic components at ζ∗\zeta_*exact rational values recovered
numerical optimizer finds same basingolden-section result versus analytic ζ∗\zeta_*difference 1.51×10−101.51\times10^{-10}
numerical energy reaches minimumanalytic versus numerical energyequal in binary64
optimum is stationarycentered finite-difference gradientzero in binary64
scale is optimizedanalytic virial residualzero
optimization helpscompare ζ∗\zeta_* with ζ=Z\zeta=Zenergy lowered by 0.09765625Eh0.09765625E_{\mathrm h}
result remains variationalcompare with nonrelativistic referenceupper bound passes
trial remains above HFcompare with HF-limit referenceordering passes
outputs are deterministicno random input and fixed formulasrepeatable

No one row is sufficient. The upper-bound comparison could pass despite a small algebraic error, while analytic agreement alone would not show that the program labels the no-repulsion model correctly.

The notebook does not recompute:

  • the analytic 5ζ/85\zeta/8 Coulomb integral by numerical quadrature;
  • the Hartree–Fock limit;
  • the high-precision nonrelativistic energy;
  • finite-mass, relativistic, or QED corrections;
  • experimental ionization energies.

Those are either canonical derivations or retained external references. A future numerical-integration extension should be validated against the analytic integral before it replaces any formula.

The optimized value has essentially no numerical uncertainty at the displayed precision because the objective is analytic and one dimensional. Its physical error is dominated by the ansatz:

SourcePresent?Consequence
optimizer errornegligible for energyexponent limited by stationary-point conditioning
arithmetic errorbelow displayed energy digitsvisible in numerical exponent and component virial residual
one-orbital shape restrictionyesabout 0.0140Eh0.0140E_{\mathrm h} relative to HF limit
correlation beyond one determinantyesabout 0.0420Eh0.0420E_{\mathrm h}
finite nuclear massomittedneeded for isotope-specific comparison
relativity and QEDomittedneeded beyond the nonrelativistic model
nuclear sizeomittednegligible at this scale but conceptually separate
external reference uncertaintynot represented by printed decimalsconsult source calculations

The word “exact” in the reference row means exact to the quoted numerical precision for the nonrelativistic clamped-nucleus Coulomb Hamiltonian. It does not mean exact physical helium.

Replace

Vee=58ζV_{ee}=\frac58\zeta

by a verified radial quadrature. For a spherical one-electron density ρζ(r)\rho_\zeta(r), angular averaging gives

⟨1r12⟩=∫0∞ ⁣ ⁣∫0∞4πr12ρζ(r1) 4πr22ρζ(r2)max⁡(r1,r2) dr1 dr2.\left\langle\frac1{r_{12}}\right\rangle = \int_0^\infty\!\!\int_0^\infty \frac{ 4\pi r_1^2\rho_\zeta(r_1) \,4\pi r_2^2\rho_\zeta(r_2) }{ \max(r_1,r_2) } \,dr_1\,dr_2.

Converge domain, radial quadrature, and singular diagonal treatment separately. Recovery of 5ζ/85\zeta/8 is then an implementation benchmark.

Expand the common spatial orbital in a radial basis and optimize its coefficients. This approaches the helium restricted Hartree–Fock limit and isolates the 0.0140Eh0.0140E_{\mathrm h} one-orbital-shape deficit. The later Hartree–Fock notebook owns that nonlinear workflow.

A symmetric form such as

Φαβ∝e−αr1−βr2+e−βr1−αr2\Phi_{\alpha\beta} \propto e^{-\alpha r_1-\beta r_2} + e^{-\beta r_1-\alpha r_2}

allows one electron to be compact while the other is diffuse without assigning permanent identities. It can improve radial correlation but still has no general explicit r12r_{12} structure.

The simplest correlation factor is

Ψ∝e−ζ(r1+r2)(1+c r12).\Psi \propto e^{-\zeta(r_1+r_2)} \left( 1+c\,r_{12} \right).

Choosing c=1/2c=1/2 reproduces the opposite-spin electron–electron cusp at coalescence for the leading factor. More systematic Hylleraas expansions use

r1ir2jr12ke−ζ(r1+r2)r_1^i r_2^j r_{12}^k e^{-\zeta(r_1+r_2)}

with symmetry-adapted combinations. These basis functions directly represent the coordinate missing from the product ansatz.

After removing center-of-mass motion, finite mass adds a mass-polarization operator coupling electron momenta. It cannot be represented solely by changing ζ\zeta. State the isotope and Hamiltonian before comparing with spectroscopy.

−4Eh-4E_{\mathrm h} is exact for the Hamiltonian without electron repulsion. It is not an upper bound for full helium.

The full-Hamiltonian expectation at ζ=2\zeta=2 is −2.75Eh-2.75E_{\mathrm h}, not −4Eh-4E_{\mathrm h}.

Treating effective charge as nuclear charge

Section titled “Treating effective charge as nuclear charge”

ζ∗=27/16\zeta_*=27/16 is a trial-orbital scale. The physical nucleus still has Z=2Z=2.

Calling the full trial deficit correlation energy

Section titled “Calling the full trial deficit correlation energy”

The simple exponential also lies above the Hartree–Fock limit. Conventional correlation energy is defined relative to that limit for the same Hamiltonian.

Assuming a precise energy fixes the exponent

Section titled “Assuming a precise energy fixes the exponent”

Near a stationary point, parameter error enters the energy quadratically. The energy can reach its floating-point floor while ζ\zeta retains many fewer reliable digits.

Total energy and ionization energy use different reference states. Compute the energy difference explicitly.

The symmetric spatial product is legal for two electrons only with the antisymmetric singlet spin state.

Each orbital is normalized in d3rd^3r, and the two-electron product in d3r1d3r2d^3r_1d^3r_2. Radial reductions require their own Jacobian conventions.

Reading literature decimals as notebook output

Section titled “Reading literature decimals as notebook output”

The Hartree–Fock and exact rows are retained references. The CSV labels them as not computed by this program.

Debug and compare in one unit system. Convert only the validated final quantity with a documented constants set.

Show that

ϕζ(r)=(ζ3π)1/2e−ζr\phi_\zeta(\mathbf r) = \left( \frac{\zeta^3}{\pi} \right)^{1/2} e^{-\zeta r}

is normalized in atomic units.

Solution

Spherical symmetry gives

∫∣ϕζ∣2 d3r=ζ3π4π∫0∞r2e−2ζr dr.\begin{aligned} \int|\phi_\zeta|^2\,d^3r &= \frac{\zeta^3}{\pi} 4\pi \int_0^\infty r^2e^{-2\zeta r}\,dr. \end{aligned}

Using

∫0∞r2e−ar dr=2a3,\int_0^\infty r^2e^{-ar}\,dr = \frac{2}{a^3},

with a=2ζa=2\zeta,

∫0∞r2e−2ζr dr=14ζ3.\int_0^\infty r^2e^{-2\zeta r}\,dr = \frac{1}{4\zeta^3}.

Therefore

ζ3π4π14ζ3=1.\frac{\zeta^3}{\pi} 4\pi \frac{1}{4\zeta^3} =1.

The two-electron product is normalized because it is the product of two normalized one-electron orbitals and a normalized spin state.

Explain why −4Eh-4E_{\mathrm h} is not a variational upper bound for helium, while −2.75Eh-2.75E_{\mathrm h} is.

Solution

−4Eh-4E_{\mathrm h} is the ground energy of

H0=H−1r12,H_0=H-\frac1{r_{12}},

so it belongs to a Hamiltonian different from full helium. The variational theorem cannot compare it with the ground energy of HH.

−2.75Eh-2.75E_{\mathrm h} is obtained by evaluating the full HH in the normalized ζ=2\zeta=2 product state:

−4+⟨1r12⟩=−4+54=−2.75.-4+\left\langle\frac1{r_{12}}\right\rangle = -4+\frac54 =-2.75.

It is therefore an admissible full-Hamiltonian expectation and must lie above the exact full-Hamiltonian ground energy.

Exercise 3: Optimize for general nuclear charge

Section titled “Exercise 3: Optimize for general nuclear charge”

Minimize

E(ζ;Z)=ζ2−2Zζ+58ζE(\zeta;Z) = \zeta^2-2Z\zeta+\frac58\zeta

and state the condition for a positive interior optimum.

Solution

Stationarity requires

2ζ−2Z+58=0,2\zeta-2Z+\frac58=0,

so

ζ∗=Z−516.\zeta_*=Z-\frac5{16}.

The second derivative is 2>02>0, hence this is a minimum. It lies in the admissible domain ζ>0\zeta>0 when

Z>516.Z>\frac5{16}.

Substitution gives

E∗=−(Z−516)2.E_*=-\left(Z-\frac5{16}\right)^2.

Exercise 4: Derive the virial identity in the trial family

Section titled “Exercise 4: Derive the virial identity in the trial family”

Show that

2T+V=ζdEdζ.2T+V = \zeta\frac{dE}{d\zeta}.

What does this imply at an interior optimum?

Solution

The component expressions give

2T+V=2ζ2−2Zζ+58ζ.2T+V = 2\zeta^2-2Z\zeta+\frac58\zeta.

Meanwhile,

ζdEdζ=ζ(2ζ−2Z+58),\zeta\frac{dE}{d\zeta} = \zeta \left( 2\zeta-2Z+\frac58 \right),

which is the same expression. At an interior stationary point,

dEdζ=0,\frac{dE}{d\zeta}=0,

and hence

2T+V=0.2T+V=0.

This is the Coulomb virial condition generated by scale optimization.

Use the optimized neutral energy and the exact one-electron He+\mathrm{He}^+ energy in this model to compute the first ionization energy. Why is the result still approximate?

Solution

The ionic energy is

E(He+)=−2Eh.E(\mathrm{He}^+)=-2E_{\mathrm h}.

Therefore

I1(ζ)=E(He+)−Eζ∗(He)=−2+729256=217256Eh=0.84765625Eh.\begin{aligned} I_1^{(\zeta)} &= E(\mathrm{He}^+)-E_{\zeta_*}(\mathrm{He}) \\ &= -2+\frac{729}{256} \\ &= \frac{217}{256}E_{\mathrm h} \\ &= 0.84765625E_{\mathrm h}. \end{aligned}

The ion is exact for the nonrelativistic infinite-mass Coulomb model, but the neutral trial omits orbital flexibility and correlation. Their error enters the energy difference directly.

Using

Eζ∗=−2.84765625,EHF=−2.861679995612,Eexact=−2.903724377034119,\begin{aligned} E_{\zeta_*}&=-2.84765625,\\ E_{\mathrm{HF}}&=-2.861679995612,\\ E_{\mathrm{exact}}&=-2.903724377034119, \end{aligned}

compute the orbital-restriction and correlation contributions to the positive trial deficit.

Solution

The restriction of the Hartree–Fock orbital to one exponential contributes

Eζ∗−EHF=0.014023745612Eh.E_{\zeta_*}-E_{\mathrm{HF}} = 0.014023745612E_{\mathrm h}.

The Hartree–Fock-to-exact gap contributes

EHF−Eexact≈0.042044381422119Eh.E_{\mathrm{HF}}-E_{\mathrm{exact}} \approx 0.042044381422119E_{\mathrm h}.

Their sum is

0.056068127034119Eh,0.056068127034119E_{\mathrm h},

equal to Eζ∗−EexactE_{\zeta_*}-E_{\mathrm{exact}}. The conventional correlation energy carries the opposite sign:

Ec=Eexact−EHF≈−0.042044381422119Eh.E_{\mathrm c} = E_{\mathrm{exact}}-E_{\mathrm{HF}} \approx -0.042044381422119E_{\mathrm h}.

For

Ψc=e−ζ(r1+r2)(1+c r12),\Psi_c = e^{-\zeta(r_1+r_2)} (1+c\,r_{12}),

choose cc to satisfy the opposite-spin electron–electron cusp condition at r12=0r_{12}=0.

Solution

Holding the remaining local coordinates fixed,

∂Ψc∂r12∣r12=0=c e−ζ(r1+r2).\left. \frac{\partial\Psi_c}{\partial r_{12}} \right|_{r_{12}=0} = c\,e^{-\zeta(r_1+r_2)}.

At coalescence,

Ψc=e−ζ(r1+r2).\Psi_c=e^{-\zeta(r_1+r_2)}.

Thus

1Ψc∂Ψc∂r12∣0=c.\left. \frac{1}{\Psi_c} \frac{\partial\Psi_c}{\partial r_{12}} \right|_{0} =c.

The opposite-spin cusp requires

c=12.c=\frac12.

This local condition does not by itself optimize the full correlated wavefunction.

If

E(ζ)−E∗=(ζ−ζ∗)2E(\zeta)-E_*=(\zeta-\zeta_*)^2

and energy differences below 5×10−16Eh5\times10^{-16}E_{\mathrm h} cannot be resolved, estimate the corresponding exponent resolution.

Solution

Set

(δζ)2∼5×10−16.(\delta\zeta)^2 \sim 5\times10^{-16}.

Then

∣δζ∣∼5×10−16≈2.2×10−8.|\delta\zeta| \sim \sqrt{5\times10^{-16}} \approx 2.2\times10^{-8}.

The precise optimizer outcome depends on rounding details, but the square-root scale explains why a near-machine-precision energy does not imply a machine-precision exponent.

Exercise 9: Restore the orbital length scale

Section titled “Exercise 9: Restore the orbital length scale”

For ζ=27/16\zeta=27/16, write the physical exponential decay constant and mean radius. State their units.

Solution

The physical orbital contains

exp⁡(−ζra0),\exp\left( -\frac{\zeta r}{a_0} \right),

so the decay constant is

ζa0=2716a0.\frac{\zeta}{a_0} = \frac{27}{16a_0}.

It has dimensions of inverse length. The hydrogenic 1s1s mean radius is

⟨r⟩=3a02ζ=89a0.\langle r\rangle = \frac{3a_0}{2\zeta} = \frac{8}{9}a_0.

The numerical value 8/98/9 is dimensionless only when radius is reported in Bohr units.

  • Keep the no-repulsion −4Eh-4E_{\mathrm h} model separate from full-Hamiltonian variational energies.
  • Evaluating the full Hamiltonian at ζ=2\zeta=2 gives −2.75Eh-2.75E_{\mathrm h}; optimizing gives −2.84765625Eh-2.84765625E_{\mathrm h}.
  • The optimized exponent 27/1627/16 represents average screening, not a changed nuclear charge.
  • Scale stationarity enforces the Coulomb virial condition within the trial family.
  • An energy-only optimizer determines the stationary energy more accurately than the nonlinear exponent.
  • The simple-trial deficit contains both restricted orbital-shape error and correlation beyond Hartree–Fock.
  • Explicit r12r_{12} dependence is needed to represent the electron–electron cusp and correlation hole.
  • Total energies, ionization energies, units, and Hamiltonian layers must be labeled before comparison.
  • Reproducibility requires executable formulas, retained outputs, provenance, and checks that can fail.
  1. E. A. Hylleraas, “Neue Berechnung der Energie des Heliums im Grundzustande, sowie des tiefsten Terms von Ortho-Helium,” Zeitschrift für Physik 54, 347–366 (1929), doi:10.1007/BF01375457.
  2. C. L. Pekeris, “Ground State of Two-Electron Atoms,” Physical Review 112, 1649–1658 (1958), doi:10.1103/PhysRev.112.1649.
  3. C. Schwartz, “Ground State of the Helium Atom,” Physical Review 128, 1146–1148 (1962), doi:10.1103/PhysRev.128.1146.
  4. J. S. Sims and S. A. Hagstrom, “Hylleraas-Configuration-Interaction Study of the 1 1S1\,{}^1S Ground State of Neutral Helium,” Physical Review A 83, 032518 (2011), doi:10.1103/PhysRevA.83.032518.
  5. T. Kato, “On the Eigenfunctions of Many-Particle Systems in Quantum Mechanics,” Communications on Pure and Applied Mathematics 10, 151–177 (1957), doi:10.1002/cpa.3160100201.
  6. H. A. Bethe and E. E. Salpeter, Quantum Mechanics of One- and Two-Electron Atoms, Springer (1957).
  7. A. Szabo and N. S. Ostlund, Modern Quantum Chemistry: Introduction to Advanced Electronic Structure Theory, Dover (1996).
  8. W. R. Johnson, Atomic Structure Theory: Lectures on Atomic Physics, Springer (2007), doi:10.1007/978-3-540-68013-0.
  9. P.-O. Löwdin, “Correlation Problem in Many-Electron Quantum Mechanics. I,” Advances in Chemical Physics 2, 207–322 (1959), doi:10.1002/9780470143599.ch2.
  10. NIST, Fundamental Physical Constants, National Institute of Standards and Technology, accessed 2026-07-26.

The next computational step is to release the common orbital from the one-parameter exponential restriction in the Hartree–Fock Notebook. Its self-consistent Gaussian calculation preserves the component ledger and separates SCF iteration error, orbital-basis error, and missing correlation.