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

Quantum chemistry

The hydrogen molecule

demoAIQuantum chemistrywritten with an agent#635f66f63b

RHF, UHF and full CI for H₂ in STO-3G along the bond

Pull the two atoms of H₂ apart in the smallest basis there is, and compute its energy three ways. Restricted Hartree-Fock is off by Ha at the equilibrium bond length and heads for the wrong limit, 0.39 Ha too high. Unrestricted Hartree-Fock splits from it at bohr and reaches two hydrogen atoms. Full CI is exact in this basis. Every energy matches PySCF to Ha.

H2 in STO-3G: energy against bond length
RHFUHFfull CI
−1.2−1.0−0.8−0.62468bond length R (bohr)energy (hartree)
UHF spin contamination
UHF ⟨S2⟩
00.51.02468bond length R (bohr)⟨S2⟩ of the UHF state
✓ 10 tests passchecked when the site was built#hartree-fock#full-ci#correlation-energy#bond-breaking#sto-3g#pyscf
ReadOpen in the workbench

Look inside this program

  • Atlas

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

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

Excited states

demoAIQuantum chemistrywritten with an agent#002d1b455a

Excitation energies of water from the Casida equation, with and without de-excitations

Water in the 6-31G basis, from its Hartree-Fock ground state to all 40 singlet and 40 triplet excitation energies, two ways. Time-dependent Hartree-Fock (the random-phase approximation) keeps the coupling between excitations and de-excitations; the Tamm-Dancoff approximation drops it and diagonalizes alone. The lowest singlet is at 0.344074 Ha (9.363 eV) in TDHF and 0.346161 Ha in TDA, and every one of the 160 energies matches PySCF's to Ha.

Water, 6-31G: valence excitation energies
singlet, TDHFsinglet, TDAtriplet, TDHFtriplet, TDA
20406051015202530root, in order of energyexcitation energy (eV)
How far TDA lies above TDHF, root by root
singletstriplets
10⁻¹10⁰10¹10²51015202530root, in order of energyTDA - TDHF (millihartree)
✓ 11 tests passchecked when the site was built#quantum-chemistry#excited-states#tdhf#rpa#tamm-dancoff#cis#casida#pyscf
ReadOpen in the workbench

Look inside this program

  • Atlas

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

  • Explore

    Run it and step through what each part did, with the code, values and plots beside it.