This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · lib/hfref/oh_sto3g

The OH radical in STO-3G

Generated by tools/hf_reference.py from PySCF 2.5.0. Do not edit; rerun the generator. Settings: conv_tol 10−12, init_guess minao, symmetry off, and each molecule built with cart=False and with cart=True. Every stored density is then re-converged from itself at conv_tol_grad 10−10 or tighter, and its _SELF_STEP constant says how far one PySCF step moves it (below 10−10).

Conventions:

  • atoms[natm,4] = (Z, x, y, z) in Bohr; shells[nsh,8] = (atom, l, nprim, p0, cart0, sph0, ncart, nsph); prims[nprim,2] = (exponent, raw bas_ctr_coeff). General contractions are split into segmented shells, and primitives whose coefficient is exactly zero are dropped.
  • _unit matrices are unit-Cartesian: PySCF's Cartesian integrals divided by F_i F_j, so every component has self-overlap 1. _sph matrices are PySCF's spherical ones, and _m() is M with X_sph = M^T X_unit M.
  • Packed-8 ERIs in chemist's notation: ij = i(i+1)/2 + j for i >= j, and ijkl = ij(ij+1)/2 + kl for ij >= kl. Full when the basis has at most 19 functions; otherwise the pair diagonal and 256 seeded samples. Both carry _SUMSQ = sum Gp^2 and _WSUM = sum w_k Gp_k, where w_k = s_k / (2^31 - 1), s_k = 16807 s_(k-1) mod (2^31 - 1) and s_0 = the module's _SEED_WSUM (20260923).
  • Energies: _E_<CFG>_DEFAULT is the state PySCF reaches from the minao guess, _E_<CFG>_STABLE the lowest state reached by restarting from the stability-analysis orbitals until the energy stops dropping, and _E_<CFG> repeats the default. Densities (total for RHF, alpha and beta otherwise) are in the same basis convention as the matrices beside them: a unit-Cartesian density is F_i F_j times PySCF's. A _stable_ density appears only when the stable state differs from the default.
  • In a module with both bases, spherical names carry no suffix and Cartesian ones end in _cart / _CART.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 36–565