184
Part Five · Convergence

From a molecule to a Hamiltonian: the step-by-step translation

A chemist draws a molecule as letters and lines. A quantum computer needs a Hamiltonian: a list of numbers multiplying operators. Between them lies a translation that every quantum chemistry calculation performs, classical or quantum, and that is usually hidden inside software. This chapter does it by hand for the hydrogen molecule, in six steps, computing every number exactly. The same steps, with bigger tables, give the Hamiltonian of any molecule.

On the plate: each translation step for H₂, with its numbers.

Six steps

(1) Geometry: fix the nuclei (Born–Oppenheimer, Chapter 158). (2) Basis set: choose atomic orbitals, here STO-3G, three Gaussians fitted to each hydrogen 1s orbital. (3) One-electron integrals: overlap SμνS_{\mu\nu}, kinetic energy TμνT_{\mu\nu} and nuclear attraction VμνV_{\mu\nu}, combined into the core Hamiltonian hμνh_{\mu\nu}. (4) Two-electron integrals (μν∣λσ)(\mu\nu|\lambda\sigma): the repulsion between electron densities. (5) Orbitals: transform to molecular orbitals, here σg\sigma_g and σu\sigma_u fixed by symmetry, usually from Hartree–Fock. (6) Hamiltonian: assemble the second-quantized Hamiltonian of Chapter 185, with these hpqh_{pq} and (pq∣rs)(pq|rs) as its coefficients. Established

Run the translation

Bond length R=R = 1.40 bohr. Show step . At 1.4 bohr the plate reproduces the textbook values of Attila Szabo and Neil Ostlund: overlap 0.6593, h11=−1.1204h_{11} = -1.1204, (11∣11)=0.7746(11|11) = 0.7746 hartree, and so on, computed live from the Gaussian formulas with the Boys function. For larger molecules, programs such as PySCF compute millions of such integrals the same way. LiH in STO-3G has 6 basis functions, so 12 spin orbitals and 12 qubits; water has 7 and 14 qubits. Established

Units and accuracy

Quantum chemistry works in atomic units: lengths in bohr (0.529 Å), energies in hartree (27.21 eV, or 627.5 kcal/mol). Chemistry cares about energy differences, reaction energies and barriers, to about 1 kcal/mol, called chemical accuracy: 1.6 millihartree. The total electronic energy of even a small drug is thousands of hartree, so chemical accuracy in a difference requires errors to cancel or to be controlled to a part in a million. And the basis set itself has an error: STO-3G is far too small for real chemistry, and larger basis sets add orbitals, and so qubits, quickly. Established

What you now have

The six-step translation from molecule to Hamiltonian, the exact STO-3G integrals for H₂, the molecular-orbital transformation, qubit counts for small molecules, atomic units, and the meaning of chemical accuracy.

· · ·

Three questions to carry with you.

What are the one-electron integrals?tap
Overlap, kinetic energy and nuclear attraction between basis functions.
How many qubits does LiH need in STO-3G?tap
12: six spatial orbitals, two spins each, before symmetry reductions.
What is chemical accuracy?tap
About 1 kcal/mol, or 1.6 millihartree, in energy differences.

And one to work out. With 1 hartree = 627.5 kcal/mol, what is 1.6 millihartree in kcal/mol?

≈

Sources: A. Szabo and N. S. Ostlund, Modern Quantum Chemistry (Dover, 1996), ch. 3. Q. Sun et al., J. Chem. Phys. 153, 024109 (2020) (PySCF). Checked by code: the shared Book.H2 engine reproduces Szabo and Ostlund’s Table 3.5 values (S = 0.6593, T₁₁ = 0.7600, h₁₁ = −1.1204, h₁₂ = −0.9584, (11|11) = 0.7746, (11|22) = 0.5697, (21|11) = 0.4441, (21|21) = 0.2970).

Next · Chapter 185
Second quantization and orbital choices (active spaces)

The answer depends on which orbitals you keep. Reiher's original FeMoco active space was later criticized for missing important electronic character.

Turn the page