← Questions and Answers
Questions & Answers · LCAO-MO Subsystems & Surface Solvers

How Does an LCAO-MO GTO Wavefunction of H₂O Define the Oxygen Atom—Side by Side in Dyadic and Geometric Algebra 𝒢 Form—And Which of Its QTAIM Properties Can Be Computed without ODE Path Tracing?

Suppose an electronic-structure program hands us a standard Gaussian-type orbital LCAO-MO wavefunction ΨLCAO-MO for water (H2O). Three foundational questions arise immediately: (1) how do we state what the Oxygen atom actually is inside both classical Gibbs 3D vectors/dyadics and the full neutral super-Clifford algebra 𝒢=𝒢4+MF,4+MF,0|MB,MB; (2) what is the subsystem determination problem and the exact mathematical form of its solution; and (3) which properties of Oxygen can we obtain without integrating ordinary differential equation (𝐫˙=∇ρ) trajectories to an attractor? The answer to the third is: only some. libqtaim solves a patch of the interatomic surface algebraically and obtains the basin charge from its electric flux, with a result that depends slightly on the radius of the bounding ball. It has no trajectory-free integrator for general basin properties, and its per-atom Interacting Quantum Atoms energies are not converged. An earlier version of this page claimed more; section 3 says what was wrong.

Under audit (4 December 2026).An internal audit by an AI agent reports the problems below on this page. They are not yet corrected or independently confirmed. Please do not rely on these statements meanwhile.

The Molecular Graph of Water: Both Mirror Planes, and Their Places in Three Dimensions

The C2v symmetry of water gives two mirror planes through the oxygen nucleus and the two-fold axis z: the molecular plane x=0, and the perpendicular plane y=0, which exchanges the two hydrogens. A mirror plane is tangent to ∇ρ at every one of its points, so each plane is made of whole gradient paths and carries its own planar picture of the three-dimensional topology. The wavefunction is the RHF/6-31G* state of this page (spherical d functions, computed with PySCF and read by libqtaim 1.5.0 from a .wfn file).

O H1 H2 BCP 1 BCP 2 horizontal y, vertical z (bohr) 1 bohr
Molecular plane x=0. Grey: contours of ρ at 0.001, 0.002, 0.004, 0.008, 0.02, 0.04, 0.08, 0.2, 0.4, 0.8, 2, 4, 8, 20, 40, 80 and 200 a.u. (heavier line: 0.001). Blue: gradient paths, arrows pointing uphill. Black: the two bond paths. Green: the two bond critical points. Red: the traces of the two interatomic surfaces. Purple: the density maxima; the small open circles are the proton positions, 0.0643 bohr outside the hydrogen maxima in this basis.
O H1, H2 and bond paths: projections (out of plane) horizontal x, vertical z (bohr) 1 bohr
Perpendicular mirror plane y=0, same contour levels and height range. The only critical point of ρ lying in this plane is the oxygen maximum, so the plane holds no bond critical point, bond path or interatomic-surface trace: all 185 randomly chosen test points in it (inside the 0.001 contour) ascend to oxygen. The whole displayed region of the plane belongs to the oxygen basin and separates the two hydrogen basins. Dashed items are orthogonal projections of the out-of-plane hydrogen maxima, bond critical point and bond paths (the two hydrogens project onto each other).

Three-dimensional molecular graph. Drag to rotate, scroll to zoom, or use the arrow keys. The two planar graphs above are drawn in their true positions from the same coordinate arrays. Red sheets: the two O–H interatomic surfaces, each swept out by the gradient paths that end at its bond critical point and cut off where ρ=0.001 a.u.; their heavy red intersections with the molecular plane are the traces in the first panel. Black: bond paths. Neither surface reaches the perpendicular plane within the region shown.
Critical points from qtaim_find_critical_points (atomic units; counts (3, 2, 0, 0), Poincaré–Hopf sum 1; all five carry a Krawczyk certificate). The oxygen eigenvalues describe the Gaussian-basis core maximum.
critical pointposition (x, y, z) / bohrρHessian eigenvaluesKrawczyk radius
(3,−3) O(0.00000, 0.00000, −0.00001)291.104007−6.421e+05, −6.421e+05, −6.421e+055.6e-08
(3,−3) H1(0.00000, 1.37826, −1.06954)0.399932−5.653, −5.636, −4.2221.5e-07
(3,−3) H2(0.00000, −1.37826, −1.06954)0.399932−5.653, −5.636, −4.2221.5e-07
(3,−1) BCP 1 (O–H1)(0.00000, 1.14243, −0.89545)0.356010−1.772, −1.73, 1.5571.2e-07
(3,−1) BCP 2 (O–H2)(0.00000, −1.14243, −0.89545)0.356010−1.772, −1.73, 1.5571.2e-07
Atomic properties from the ray integrator qtaim_integrate_basins, raw and unforced (its radial rule is adaptive).
angular grid (θ, φ)N(O)N(H), eachΣN − 10L(O)L(H)
48, 969.1663690.416813−5.9e−6−4.6e−5+2.4e−5
72, 1449.1663760.416813+2.7e−6−4.6e−5+2.3e−5

How the drawings were made. Critical points and bond paths come from qtaim_find_critical_points and qtaim_trace_bond_path (0.01 bohr steps; both branches end at a density maximum). The public library interface has no general gradient-path or surface tracer, so the other paths and the surfaces were integrated by a fourth-order Runge–Kutta script (0.02 bohr arc-length steps) on the analytic gradient returned by qtaim_eval_density_batch; each surface starts on a 0.01 bohr circle in the plane of the two negative-curvature eigenvectors at its bond critical point (96 paths; every second one is drawn). Contours are marching-squares lines through densities from the same call. Checks, none of them imposed: points displaced 0.03 bohr to either side of the computed surfaces ascend to the expected atom in 160 of 160 trials, and the two surfaces, integrated independently, mirror each other to 2e-14 bohr. These pictures use explicit path integration; they are not an output of the surface solver of section 3.

The two ray grids above agree with each other, but two other determinations in section 3, the surface solver at large ball radius and our separate quadrature over the zero-flux basin, give N(O)≈9.16622, about 1.5×10−4 electron lower. The origin of that gap is not established. This section and the revision of sections 1 to 3 were re-reviewed by an AI reviewer agent on 2026-12-04.

1. From ΨLCAO-MO of H2O to What the Oxygen Atom Is Side by Side in Dyadic and Geometric Algebra 𝒢 Form

Consider concretely a clamped-nucleus RHF/6-31G* wavefunction for H2O (C2v geometry in bohr: 𝐑O=(0,0,0) and 𝐑H1,2=(0,±1.430429,−1.107157), corresponding to rOH=0.9572Å=1.808846bohr and θHOH=104.52°). In spherical-harmonic Gaussians (cart = 0, Authoritative conventions), the basis comprises NAO=18 contracted atomic orbitals (1s,2s,3s,2p,3p,3d on O plus 1s,2s on each H), spanning five doubly occupied spatial molecular orbitals ψi(𝐫)=∑μ=118Cμiχμ(𝐫) (1a1,2a1,1b2,3a1,1b1, ERHF=−76.00913238Ha).

Inside 𝒢=𝒢4,4,0⊗𝒢MF,MF,0⊗WMB,MB (Quantum particles in 𝒢; Hestenes 1966; Doran and Lasenby 2003), this ten-electron Slater determinant is an explicit Grade-10 fermionic Witt blade acting on the vacuum idempotent Ωvac, while under West-Coast spatial squares 𝐑A2=−|𝐑A|2 the clamped oxygen and hydrogen nuclei enter as conformal null points PA=eo+𝐑A−12|𝐑A|2e∞∈𝒢4,1,0⊂𝒢4,4,0 (PA2=0):

Ten-electron LCAO-MO state in 𝒢_{10,10,0} and real-space open-system projection onto Oxygen Ω_O ΨLCAO-MO = (∏i=15fi↑fi↓) Ωvac ⟼ ρ(𝐫) = 2∑i=15|ψi(𝐫)|2 = ∑μ,ν=118Pμνχμ(𝐫)χν(𝐫) , 𝐀O = 𝒫ΩO[ΨLCAO-MO]

Crucially, in QTAIM the Oxygen atom 𝐀O is never defined by slicing the AO index range μ∈{1,…,14} centered on 𝐑O: Mulliken basis-center tagging gives qMull(O)=−0.8975e− and loses its finite limit altogether once diffuse Gaussians on H overlap the oxygen core (Jensen GTO vs ETO benchmark). Instead, the Oxygen atom is a real-space open quantum subsystem ΩO⊂ℝ3 over which all AO pairs (μ,ν)—whether centered on O, H1, or H2—contribute honestly wherever their tails enter ΩO. Its walls satisfy ∇ρ⋅𝐧O=0, a condition that defines the atom, under which its regional Lagrangian L(ΩO)=K(ΩO)−G(ΩO) vanishes (regional action principle). Side by side in classical 3×3 dyadics and Geometric Algebra 𝒢, the resulting Oxygen atom is a structured regional observable bundle whose classical Gibbs pieces embed bijectively into 𝒢 while acquiring exact origin-covariant and Fock-space invariants that 3×3 dyadics alone lack:

What the Oxygen atom in RHF/6-31G* H2O is side by side in classical vector/dyadic form versus Geometric Algebra 𝒢 (libqtaim v1.5.0). Population, dipole and G are from the ray integrator at (72, 144) angles. The quadrupole, localization indices and overlap eigenvalues are not outputs of the library (its localization field returns the basin population). They come from our own quadrature with (144 polar, 144 azimuthal) rays from oxygen, the basin boundary found by our steepest-ascent script on library gradients; the quadrupole integrates library densities, and the indices and eigenvalues use PySCF orbital values that reproduce those densities to about 1e−9. That quadrature’s own population is 9.16621.
Subsystem Slot of Oxygen Vector / Dyadic Form (ℝ3⊕(ℝ3⊗ℝ3)) Geometric Algebra 𝒢 Form (𝒢4+MF,4+MF,0|MB,MB) RHF/6-31G* H2O Value
Nuclear attractor & boundaries (3,−3) Hessian maximum 𝐑O* + two (3,−1) saddles 𝐫b,1..2 Conformal null point PO + Witt Hessian bivectors BH(𝐫b)∈𝒢3,3,0+ (n,b,r,c)=(3,2,0,0), χ=1; ρ(𝐫b)=0.356010a.u.
Population & net charge Scalar N(ΩO)=∫ΩOρd3𝐫, Q(ΩO)=8−N(ΩO) Grade-0 rest-frame current integral ∫ΩO⟨γ0J⟩0d3𝐫 N(ΩO)=9.166376, Q(ΩO)=−1.166376e−
Charged-basin dipole Origin-dependent 3-vector 𝐝raw(ΩO) (|𝐝|2 drifts 90× under shift 𝐘0=(0,−0.9,1.4)) Origin-covariant Grade-1 DO=𝐝raw(ΩO)+Q(ΩO)eo∈𝒢4,1,0 dz(ΩO)=+0.225168a.u.; ⟨DO2⟩0=−0.050701 (change under the shift 1.1×10−15)
Atomic quadrupole Traceless symmetric 3×3 dyadic Qij(ΩO) Isomorphic Grade-2 Witt bivector BQ(ΩO)∈𝒢3,3,0+⊂𝒢4,4,0+ diag(−1.0264,+1.0247,+0.0017)a.u. for Qij=−∫(3xixj−r2δij)ρdV
Stress, virial & 3D IQA Bader stress σij(𝐫) + Maxwell TijEM; G(ΩO)=K(ΩO) Virial dilation Dvir=eo∧e∞ + Faraday sandwich −FregvFreg/(8π) G(ΩO)=75.2704Ha; per-atom EIQA not given: it is not converged (section 3)
Many-electron Fock bond structure External 5×5 domain overlap matrix SijO outside ℝ3 dyadics Internal 𝒢5,5,0 Witt contraction SijO=∫ΩOψiψjd3𝐫 λ(O)=8.4998, δ(O,H)=0.6664 (λ+δ=9.1662)

Inspecting the five eigenvalues of the regional Fock overlap SijO on ΩO—namely (0.999999,0.996100,0.992129,0.825344,0.769535)—reveals the physical chemistry of water directly from ΨLCAO-MO: one 1sO core pair (0.999999) and two lone pairs (0.996 and 0.992) remain over 99.2% localized inside ΩO, while the two polarized O–H bonding pairs share δ(O,H1)=δ(O,H2)=0.6664 delocalized electron pairs across the two interatomic surfaces, in McWeeny’s identity (McWeeny 1960) λ(O)+12[δ(O,H1)+δ(O,H2)]=N(ΩO), which holds identically for a single determinant on any one quadrature and so does not test the basin.

2. The Subsystem Determination Problem and the Exact Mathematical Form of Its Solution

Given ρ(𝐫) (or the non-negative body-frame osmotic scalar Γchem(𝐫)≥0 across relativistic ℒchem), what mathematical object determines the atomic partition of H2O? Equivalently, the solution has two dual, exact mathematical representations:

  1. Topological Morse–Smale CW cell complex (manifold form): Because ∇ρ is a gradient vector field on ℝ3 with certified critical points (n,b,r,c)=(3,2,0,0) (3−2+0−0=1, Certified critical points), ℝ3 decomposes up to measure zero into three open three-dimensional stable manifolds ΩO=Ws(𝐑O*), ΩH1=Ws(𝐑H1*), and ΩH2=Ws(𝐑H2*) (note that in finite 6-31G* Gaussians, each proton's (3,−3) maximum 𝐑Hk* sits 0.0643bohr inward along the H–O bond). Because H2O has no H–H bond critical point, the two hydrogen cups never touch: ΩO wedges continuously between them, and Oxygen's boundary is the disjoint union of two smooth two-dimensional stable saddle sheets 𝒮O|Hk=Ws(𝐫b,k) (k=1,2) together with its asymptotic solid-angle sector on the sphere at infinity S∞(ΩO).
  2. Stationary Liouville PDE & Lyapunov indicator form in 𝒢: Let ΘA(𝐫)∈{0,1} denote the characteristic indicator of basin ΩA (∑AΘA(𝐫)=1 a.e.). Requiring ΘA to be constant along the gradient field ∇ρ is equivalent to the linear first-order stationary Liouville advection PDE anchored solely by point values at the (3,−3) attractors:
Liouville PDE and the zero-flux wall condition for the basin indicator Θ_A(r) ⟨∇ρ(𝐫)∇ΘA(𝐫)⟩0 = 0 , ΘA(𝐑B*) = δAB , ∇ΘA(𝐫) = −𝐧A(𝐫)δ∂ΩA(𝐫) ⟺ ⟨∇ρ𝐧A⟩0|∂ΩA = 0

What does this reformulation permit? Because 𝐫˙(s)=∇ρ(𝐫(s)) is simply the method-of-characteristics ODE of the linear PDE ⟨∇ρ∇ΘA⟩0=0—and unlike a general hyperbolic flow with closed vortices, ρ(𝐫) itself is a strict global Lyapunov scalar (dρ/ds=|∇ρ|2>0 away from critical points). The dividing surface can therefore be posed as an algebraic zero-flux condition, which libqtaim solves for a surface patch near one bond (section 3). Posing the problem as a PDE does not by itself give a convergent discretisation of the indicator: the library has no trajectory-free solver for ΘA in three dimensions. A one-neighbour sweep in decreasing density, which this page presented as such a solver, did not converge and has been removed.

3. Which of Oxygen’s Properties Can Be Computed without Trajectory Tracing (libqtaim v1.5.0)

One solver in libqtaim is trajectory-free: the interatomic-surface patch with Gauss–Maxwell flux, qtaim_ias_gauss_maxwell_zero_ode (Conventions §6.5). In libqtaim 1.5.0, which computed the numbers below, an exact mirror plane exchanging the two atoms was a special case solved without iterations; since 1.7.1 the library takes no mirror plane from a wavefunction and solves every pair it accepts, symmetric diatomics included, by collocation. The entry point qtaim_integrate_basins_zero_ode keeps its historical name but traces trajectories.

  1. Pathway I — Exact Pin(4,4) reflection rotors (Principle 1, 0 ODEs, 0 iterations): Whenever a unit spatial plane normal 𝐧m generates a symmetry reflection 𝐫↦−𝐧m𝐫𝐧m of ΨLCAO-MO (cached automatically in qtaim_wfn_detect_mirror_planes), ⟨∇ρ𝐧m⟩0=0 holds identically on that plane. On homonuclear bonds (H2+,H2,B2−,O2), the entire interatomic surface inside BRball is the closed-form circular midplane disk of radius Rball2−r02 (mirror_exact = 1, 0 iterations); on H2O, the σv(y=0) reflection exchanges H1↔H2 exactly so only one hydrogen cup ever needs to be solved (Q(ΩO)=−2Q(ΩH1)). This paragraph describes libqtaim 1.5.0. The identity on a true mirror plane stands, but since 1.7.1 no mirror plane is recorded on a wavefunction and mirror_exact is always 0: earlier versions accepted a plane after the density agreed at two points, which does not show that the density has the symmetry.
  2. Pathway II — Bounded-ball 2D Chebyshev–Fourier IAS collocation + Gauss–Maxwell Boys electric flux (qtaim_ias_gauss_maxwell_zero_ode — 0 ODEs, 0 3D volume grid points): Center spherical coordinates (r,θ,φ) on 𝐑H1 with polar axis 𝐞z=(𝐫b,1−𝐑H1)/r0 (r0=0.357440bohr), map r(τ)=r0exp[τ2ln(Rball/r0)] for τ∈[0,1], and expand the polar sheet angle in Chebyshev–Fourier modes θ(τ,φ)=τ∑n,mcnmTn(2τ−1){1,cosmφ,sinmφ} (which pins 𝐏(0,φ)≡𝐫b,1 identically). Differentiating the weighted zero-flux cosine residual ρ0.15(𝐠^⋅𝐧^)=0 analytically via the exact density Hessian 𝐇ρ(𝐏) (Principle 2: zero finite differences) converges damped Gauss–Newton collocation (7 iterations here, with 14 Chebyshev and 3 Fourier orders). Closing 𝒮H1|O∩BRball with the analytical spherical cap θ∈[θ(1,φ),π] on SRball(𝐑H1) gives the charge of the part of the basin inside the ball. It is therefore not the whole-basin charge: it depends on how much density lies outside the ball, and also on the collocation orders, as the table below shows:
Bounded-ball Gauss–Maxwell 2D surface-flux reduction (0 ODEs, 0 3D grid points) Q(ΩH1∩BRball) = 14π ∫02π ∫01 𝐄tot⋅(∂τ𝐏×∂φ𝐏)dτdφ + Rball24π ∫02π ∫θ(1,φ)π (𝐄tot⋅𝐮^)sinθdθdφ

Because 𝐄tot(𝐫) is already known in closed Boys–Hermite form directly from ΨLCAO-MO (qtaim_eval_maxwell_fields_batch, Punctured-basin Green's theorem; Boys 1950; McMurchie and Davidson 1978), Gauss's law ∇⋅𝐄tot=4π[∑CZCδ(𝐫−𝐑C)−ρ(𝐫)] converts the entire 3D nuclear-cusp-plus-valence charge integral inside ΩH1 into a smooth 2D surface integral (compare Popelier 2001; at ball radius 4.8 bohr, ΦIAS=+0.547391 plus Φcap=+0.035737⟹Q(ΩH1)=+0.583128e− and Q(ΩO)=−2Q(ΩH1)=−1.166256e−, differing from the ray integrator’s −1.166376 by 1.20×10−4e−, while the 2D divergence defect L2D=−14∮∇ρ⋅𝐧outdS=+4.8×10−5a.u. measures the remaining flux through the computed boundary).

  1. General basin properties are not trajectory-free (qtaim_integrate_basins, and qtaim_integrate_basins_zero_ode despite its name): observables such as G(ΩO), atomic multipoles and VIQA are three-dimensional integrals. In the present library N, multipoles, volume, G, K and L returned by both entry points are those of the steepest-ascent ray integrator; with the potential energy requested, qtaim_integrate_basins_zero_ode integrates VIQA on a Becke grid (Becke 1988) whose points are each assigned by adaptive steepest ascent (compare grid-based classification in Rodríguez et al. 2009). According to the library’s documentation, per-atom VIQA and EIQA do not converge, because the field integrand decays only algebraically into the vacuum, where assignment falls back to the nearest attractor. The ray integrator’s own potential-energy option has a known gap in that tail (for this wavefunction its atomic energies sum to about −74.8 Ha against −76.009 Ha). Neither is presented here as a validated atomic energy. The documentation also states that the ray rule omits basin segments beyond a ray’s first exit from the basin.

What went wrong before. Earlier versions of qtaim_integrate_basins_zero_ode assigned grid points in one sweep of decreasing density, each point taking the owner of a single neighbour. Its atomic populations did not converge with grid refinement, although their sum closed. For the library’s water test wavefunction (a geometry slightly different from this page’s) it gave N(O) = 9.17366 on a (22, 40, 56) grid and 9.09832 on (48, 96, 100), against 9.1659 from the ray integrator; for this page’s wavefunction, 9.17314 and 9.09766 against 9.16638. The charge, populations and energy sums previously quoted here for that method are withdrawn. The sweep was replaced as described above.

Computed with libqtaim v1.5.0. Surface-solver rows use 14 Chebyshev and 3 Fourier orders unless noted; radii in bohr. The exact mirror disk of the H₂⁺ row is not taken since 1.7.1, which solves that pair by collocation.
molecule and methodresultcomparison
H₂⁺, R = 2.00, UHF/aug-cc-pVQZ: surface solver, exact mirror disk, no iterations (orders 8, 2); ball 4.5 / 5.2 / 6.0Q(H) = 0.500146
0.500033
0.500006
exact 0.5 for the whole basin; the solver returns the charge inside the ball, and 0.5 plus our quadrature of the density of that half-space outside the ball reproduces all three to 4e−9
H₂O, RHF/6-31G*: surface solver, hydrogen patch; ball 4.5 / 4.8 / 6 / 8Q(O) = −1.166309
−1.166256
−1.166218
−1.166221
ray integrator −1.166376; separate zero-flux quadrature −1.16621 to −1.16623; RMS zero-flux cosine 2e−3 to 1.4e−2
H₂O, RHF/6-31G*: surface solver at ball 4.8 with orders (8, 2) and (12, 2)Q(O) = −1.166391 and −1.166293dependence on collocation orders; the ball-radius test above was not repeated for water
LiH, R = 3.015, RHF/6-31G*: surface solver from the lithium side; ball 4.5 / 4.8 / 6 / 8 (orders 12, 2)Q(Li) = 0.905636
0.905591
0.905252
0.905114
ray integrator 0.905572; RMS zero-flux cosine 2e−4, 9e−4, 6e−2 and 0.3; the last two stop at the iteration limit of 35 and are not converged
LiH, same wavefunction: surface solver from the hydrogen side; same radii (orders 12, 2)charge magnitude 0.836487
0.855177
0.891257
0.903254
mostly truncation by the ball: subtracting a quadrature of the hydrogen-side density outside it gives −0.905623, −0.905615, −0.905616 at radii 4.5, 4.8 and 6 (−0.905348 at 8, where the collocation has not converged), consistent with the lithium side; the radius-8 solve is likewise unconverged (RMS zero-flux cosine 0.14)
LiH, same wavefunction: ray integrator, 48 and 96 polar anglesq(Li) = 0.905572;
q(H) = −0.907790 and −0.902791
charges sum to −2.2e−3 and +2.8e−3, not zero: hydrogen basin not converged
Summary takeaway

Viewed side by side in classical dyadics and Geometric Algebra 𝒢, receiving ΨLCAO-MO for H2O never reduces Oxygen to an arbitrary AO-basis tag: Oxygen is the open real-space Schwinger–Bader subsystem ΩO carrying both its 3×3 Gibbs/Witt stress and quadrupole bivectors in 𝒢3,3,0+ and its origin-covariant conformal ion bundle DO∈𝒢4,1,0 plus Fock bond overlaps SijO in 𝒢5,5,0. Which of these can be computed without trajectory tracing is narrower: in libqtaim today, the basin charge obtained from an algebraically solved surface patch and its electric flux, accurate in the version 1.5.0 runs above to roughly the spread between radii and methods shown. Exact mirror planes are trajectory-free as mathematics; since 1.7.1 the library takes none from a wavefunction. Multipoles, kinetic energies and overlaps are integrated over basins found with trajectories, and per-atom IQA energies are not yet converged by either library route.

References

Provenance tags indicate whether the primary text ([read]), publisher abstract ([abstract]), or DOI bibliographic record ([record]) was checked directly during preparation.

Comments, questions or contributions? Please open an issue or a pull request on GitHub.