Computational AMO and Quantum Chemistry
Computational AMO connects a physical model to quantities such as an atomic energy, a molecular vibration, or a photon-counting probability. The examples in this chapter show how to choose a representation and recognize whether a discrepancy comes from solving the equations, truncating their state space, or approximating the physics. Begin with a system whose answer you can calculate by hand, then change one assumption at a time.
Helpful background. Numerical mathematics explains matrix solvers and numerical integration. Computational quantum mechanics develops grids, basis sets, propagation, and convergence tests in detail. The examples below apply those ideas to AMO systems.
Enter this chapter
Section titled “Enter this chapter”Choose the calculation closest to your question:
| Lesson | What you will learn |
|---|---|
| Computational atomic structure | Separate radial, electron-correlation, and relativistic approximations. |
| Radial Schrödinger solvers | Turn origin and large-distance boundary conditions into a reliable bound-state calculation. |
| Electronic-structure methods | Choose a basis and a correlation method for the property you need. |
For a first calculation, try variational helium or molecular orbitals, then move to the helium Hartree–Fock or vibrational-spectra lab. For dynamics, follow the driven two-level system, optical Bloch equations, and cavity QED labs. The laser-cooling lab adds motion and recoil; AMO calculation benchmarks brings these examples together.
What does a converged calculation mean?
Section titled “What does a converged calculation mean?”Suppose a radial grid produces a matrix . An eigensolver returns and a normalized vector . The residual
tests how accurately that matrix equation was solved. For Hermitian , some matrix eigenvalue lies within of . A small residual alone does not identify which eigenvalue it is, guarantee an accurate eigenvector near a degeneracy, or show that the grid represents the continuum problem accurately. Eigenvector accuracy also depends on spectral separation; see Trefethen and Bau in the references.
Three distinct comparisons are therefore useful:
| Comparison | Question answered |
|---|---|
| Tighten the solver tolerance with the same matrix. | Have I solved the finite problem accurately? |
| Refine the grid or basis and enlarge its spatial extent. | Is the chosen observable stable as the representation improves? |
| Add finite-mass, relativistic, correlation, or environmental effects. | Does the physical model include effects relevant to this observable? |
For hydrogen, the infinite-nuclear-mass Coulomb energy is exact within its model. Agreement with that formula does not test a fine-structure or isotope-shift calculation. Likewise, full configuration interaction solves the electron problem within a specified finite orbital space; it does not remove that space’s incompleteness.
Check the quantity you intend to use. Energies can converge well before polarizabilities, weak transition amplitudes, or wave-function tails. An absolute error is more informative than a relative error near a selection-rule zero. If two large energies are subtracted to obtain a small binding energy, study convergence of the difference itself.
For a self-adjoint Hamiltonian bounded below, the Rayleigh–Ritz principle gives , with the expectation interpreted as a quadratic form when necessary. The nonzero trial state must lie in the form domain. This upper bound concerns the same Hamiltonian; inaccurate quadrature or a nonvariational approximation can spoil it. A small SCF energy change also need not mean self-consistency: check the orbital or density residual and stability of the solution.
Atomic Benchmarks
Section titled “Atomic Benchmarks”Atomic calculations provide a progression from analytic one-electron tests to correlated and relativistic many-electron structure. Johnson’s textbook develops this progression, including radial orbitals and transition amplitudes.
Hydrogenic radial equation
Section titled “Hydrogenic radial equation”For a central potential, write
In atomic units, the radial Coulomb equation is
with
A radial solver should test:
- the energy sequence;
- normalization ;
- node count ;
- near-origin behavior ;
- exponential tail behavior;
- degeneracy in for the pure Coulomb Hamiltonian;
- the Coulomb virial identity ;
- convergence with grid spacing, outer radius, and origin treatment.
Hydrogen reveals several common bugs at once: a missing radial Jacobian, an incorrect centrifugal factor, an origin singularity, a wrong sign in the potential, or normalization with Cartesian rather than radial weights.
Helium as a correlation benchmark
Section titled “Helium as a correlation benchmark”For an infinitely massive nucleus in atomic units,
Use a normalized product of hydrogenic spatial orbitals with variational effective charge , multiplied by the normalized spin singlet. Its energy is
Stationarity gives
This small calculation is useful because every integral is analytic and the variational inequality is known. Its error has two sources: restricting each orbital to a single exponential, and restricting the two-electron spatial state to a product. More flexible Hartree–Fock orbitals improve the energy before explicit electron correlation is introduced.
The explicitly correlated calculation of Sims and Hagstrom (2002) gives a nonrelativistic infinite-mass ground-state reference near
The value is a benchmark for that Hamiltonian, not a prediction including finite nuclear mass, relativity, or QED. Helium Atom explains the variational derivation and the meaning of correlation energy.
Central-field and many-electron checks
Section titled “Central-field and many-electron checks”For self-consistent atomic structure, useful checks include:
- one-electron ions, where electron–electron terms must vanish;
- two-electron closed shells, where restricted formulas are transparent;
- invariance under rotations within a fully occupied orbital subspace;
- orthonormality of orbitals;
- self-consistency residuals;
- total-energy stationarity;
- term, parity, and total-angular-momentum labels;
- agreement between length and velocity forms of transition amplitudes as a diagnostic, with due care about model consistency;
- convergence in radial grid, orbital set, configuration space, and partial waves.
Length–velocity agreement is not a theorem that the answer is physically exact. Two forms can agree because they share an approximation, and they can disagree when basis completeness or Hamiltonian consistency is insufficient.
Comparison with measured and evaluated spectra
Section titled “Comparison with measured and evaluated spectra”The NIST Atomic Spectra Database provides critically compiled atomic levels, wavelengths, and transition data. A responsible comparison records:
- database version or access date;
- species, ionization stage, isotope when relevant, and level labels;
- observed versus Ritz value;
- vacuum versus standard-air wavelength convention;
- uncertainty and accuracy code;
- whether the entry is experimental, theoretical, or derived;
- the original source cited by the database.
Evaluated data validate a physical prediction only when the calculation and entry refer to the same quantity. Agreement of a nonrelativistic energy with a measured line can be accidental if omitted corrections cancel.
Molecular Benchmarks
Section titled “Molecular Benchmarks”Molecular computation adds moving nuclei, geometry, nonorthogonal basis functions, multiple electronic structures, and observables obtained from derivatives of an energy surface.
Helgaker, Jørgensen, and Olsen develop the electronic-structure methods used here. The first difficulty is often the basis metric, even before electron correlation is considered.
The generalized eigenproblem
Section titled “The generalized eigenproblem”For basis functions that are not orthonormal,
Projection gives
where
The metric normalization is
A solver must not silently treat as the identity. Small eigenvalues of signal near-linear dependence and can amplify roundoff. Removing directions requires a documented threshold and a test of observable sensitivity.
Hydrogen molecular ion
Section titled “Hydrogen molecular ion”The one-electron ion is the molecular analogue of the hydrogen benchmark. For fixed internuclear separation ,
It tests:
- two-center integrals;
- overlap and generalized diagonalization;
- gerade and ungerade symmetry;
- bonding and antibonding combinations;
- the dissociation and united-atom limits;
- the shape and minimum of a potential-energy curve;
- interpolation and differentiation of that curve.
At large , the electronic state should approach a hydrogen atom plus a proton, with the chosen energy zero stated. At , the electronic part approaches the united-atom problem while the nuclear repulsion diverges. These limits help identify an incorrect energy zero or nuclear-repulsion term.
Basis and method are independent axes
Section titled “Basis and method are independent axes”A molecular result depends on both the electronic-structure approximation and finite basis :
A basis sequence at fixed method estimates
while a method sequence at a large basis probes a different error:
Increasing basis size does not turn Hartree–Fock into a correlated method. Increasing correlation rank in a poor basis does not reach the complete-basis result. Report both axes.
Size consistency and dissociation
Section titled “Size consistency and dissociation”For noninteracting fragments at infinite separation, a size-consistent method should satisfy
Truncated configuration interaction can violate this property even when its energy is variational. Restricted single-reference methods can also give a qualitatively wrong dissociation curve when one determinant ceases to describe the separated fragments.
The lesson is broader than one method: a near-equilibrium energy benchmark does not validate bond breaking, excited states, charge transfer, or multireference regions.
Basis-set superposition
Section titled “Basis-set superposition”In a dimer calculation, each fragment can borrow basis functions centered on the other fragment. The raw interaction energy
then compares calculations in unequal one-particle spaces. A counterpoise comparison instead evaluates monomers in the dimer basis:
The superscript specifies the basis and the subscript the electrons and nuclei actually present. Hold the fragment geometries fixed at their dimer values for this interaction energy; relaxation energies are separate. Boys and Bernardi (1970) introduced this counterpoise comparison. It helps estimate basis-set superposition, while a basis sequence still tests the remaining error.
Vibrational benchmarks
Section titled “Vibrational benchmarks”Near a stationary geometry, expand the potential:
The mass-weighted Hessian is
Its positive nonzero eigenvalues are in the harmonic approximation. A molecular-vibration implementation should check:
- three translational and three rotational zero modes for an isolated, unconstrained nonlinear molecule at a stationary geometry, or two rotational zero modes for a linear molecule;
- invariance under rigid translation and rotation;
- Hessian symmetry;
- finite-difference step convergence when derivatives are numerical;
- unit conversion from angular frequency to wavenumber;
- analytic oscillator cases;
- sensitivity to geometry and electronic-structure method.
Imaginary frequencies can identify a saddle point, but they can also result from an unconverged geometry, insufficient integration grid, noisy finite differences, or inconsistent constraints.
Quantum-Optical Simulations
Section titled “Quantum-Optical Simulations”Quantum optics supplies small models with strong analytic structure and large models where truncation and open-system dynamics become decisive.
Gardiner and Zoller explain the open-system models; Dalibard, Castin, and Mølmer give the quantum-trajectory construction. These equations can be implemented directly or with a toolbox such as QuTiP (Lambert et al., 2026).
Closed two-level dynamics
Section titled “Closed two-level dynamics”For a time-independent finite Hermitian Hamiltonian,
is unitary. A propagation benchmark should test:
The last identity applies only when is time independent. For a driven Hamiltonian, energy exchange with the drive is expected, while norm conservation remains.
For an atom initially in , a constant real Rabi frequency , constant detuning , and no decay, the rotating-wave model gives
This tests frequency, amplitude, and basis ordering. Useful cases include:
- zero coupling, where populations remain fixed;
- resonance, where a pulse inverts the ideal system;
- large detuning, where excitation is suppressed;
- a drive phase change, which rotates the Bloch-sphere axis;
- comparison of rotating-wave and full driven Hamiltonians.
Optical Bloch steady state
Section titled “Optical Bloch steady state”Let be decay from the excited state to the ground state and be coherence decay, with nonnegative pure dephasing rate . Take and a real, constant drive. With Rabi frequency convention
the steady excited-state population can be written
where
For pure radiative broadening, . This population tests factors of two in the drive, decay conventions, and the saturation limit
The population is even in , so it cannot detect a reversed detuning sign. Compare the complex optical coherence or a phase-sensitive transient to check that sign. Optical Bloch equations derives both population and coherence.
Master-equation structure
Section titled “Master-equation structure”A Lindblad-form model is
The represented evolution should preserve trace and Hermiticity and, for a valid implementation of the stated generator, positivity. Numerical checks include:
A tiny negative eigenvalue can be roundoff; a persistent negative population can indicate an integrator, generator, or approximation problem. Clipping negative eigenvalues hides the symptom and changes the dynamics.
Quantum trajectories
Section titled “Quantum trajectories”An unraveling estimates the density operator by an ensemble:
The ensemble mean should converge to the master-equation result for the same generator. This cross-method comparison is stronger than either solver alone. Report confidence intervals and compare multiple seeds; individual trajectories are not expected to match deterministic density-matrix curves.
Jaynes–Cummings blocks
Section titled “Jaynes–Cummings blocks”Choose the phase of the states so that , and define the cavity detuning . For
the excitation number
is conserved. In the manifold ,
At resonance, the splitting is
This gives an exact finite-block benchmark for matrix construction. A full-space simulation still needs a photon cutoff. Convergence should be checked through both observables and the occupation near the highest retained number state.
The finite photon ladder also changes an operator identity. On , with the raising operator set to zero at the top,
Demanding an identity matrix here would incorrectly reject the properly truncated operators. Instead, keep occupied states well away from the boundary and test the observables as the cutoff increases.
AMO Platform Simulations
Section titled “AMO Platform Simulations”Platform calculations combine internal quantum dynamics with motion, electromagnetic fields, geometry, feedback, and noise. Their outputs are often effective parameters or measured signals rather than bare eigenvalues.
Low-saturation Doppler force
Section titled “Low-saturation Doppler force”Take , angular detuning , population linewidth , and equal on-resonance saturation parameter for each beam. For two counterpropagating beams, the elementary two-level model in Metcalf and van der Straten gives
For red detuning , the small-velocity slope should oppose motion:
This benchmark catches beam-direction, Doppler-shift, detuning, and recoil sign errors. It does not validate a sub-Doppler, multilevel, polarization gradient, or high-saturation model.
Separate internal and motional approximations
Section titled “Separate internal and motional approximations”A semiclassical simulation may evolve
while a master equation evolves the internal state . The assumptions behind classical motion, local steady state, recoil diffusion, and white noise are independent. State them separately.
For a stochastic recoil model, checks include:
- zero mean recoil in an isotropic emission model;
- the expected momentum-diffusion growth;
- convergence in trajectory count and time step;
- detailed treatment of absorption and emission directions;
- consistency between friction and diffusion in the regime where an equilibrium temperature is inferred.
Traps and fields
Section titled “Traps and fields”Near a stable trap center,
A field or trajectory solver should test:
- Maxwell constraints appropriate to the field representation;
- symmetry points and known zero-field or zero-force locations;
- Hessian eigenvalues and trap frequencies;
- energy conservation for static conservative motion;
- secular-frequency limits for driven traps;
- convergence in mesh, multipole order, and integration step;
- sensitivity to electrode, beam, and alignment parameters.
The trap depth, harmonic frequency, scattering rate, and coherence time are different observables and need not converge at the same rate.
Pulse envelopes and phase
Section titled “Pulse envelopes and phase”For an exactly resonant isolated two-level system driven along a fixed Bloch sphere axis, a real signed envelope defines the rotation angle . If the atom starts in its ground state, the final excitation probability is .
A changing optical phase rotates the instantaneous drive axis. Hamiltonians at different times then generally do not commute: the integral of a complex is not a rotation angle. Retain the full envelope and phase and use time-ordered propagation. Detuning, Stark shifts, leakage, and decoherence can also make pulses with the same scalar area produce different results.
Exercises
Section titled “Exercises”1. Classify four exactness claims
Section titled “1. Classify four exactness claims”Classify each statement and give the missing qualification:
- “The hydrogen ground-state energy is exact.”
- “Dense diagonalization gives the exact molecular energy.”
- “The helium value is exact to fifteen digits.”
- “The Rabi curve is exact.”
Solution
- The value is analytically exact for the specified nonrelativistic Coulomb Hamiltonian, nuclear-mass convention, and energy zero. It is not the complete physical energy of a real hydrogenic atom.
- Dense diagonalization can solve a specified finite matrix to floating-point accuracy. The molecular model, one-particle basis, active space, and correlation approximation remain finite or approximate.
- A high-precision helium value is a numerically converged reference for a stated Hamiltonian. The digits require an uncertainty and convergence argument; finite-mass, relativistic, and QED terms are separate.
- The Rabi curve is exact for a declared effective two-level Hamiltonian and pulse convention. Level truncation, classical driving, rotating-wave treatment, and absence of decoherence are model assumptions.
The common repair is to say exact for what mathematical object and under which physical assumptions.
2. Reduce a generalized eigenproblem
Section titled “2. Reduce a generalized eigenproblem”Assume and . Show how to transform
into an ordinary Hermitian eigenproblem, and state the numerical warning when has a very small eigenvalue.
Solution
Because is positive definite, it has a Hermitian square root. Write
Set
Multiplying on the left by gives
The transformed matrix is Hermitian. If , then
A very small eigenvalue of makes large and amplifies roundoff and integral errors. Removing that direction changes the represented space, so the threshold and observable sensitivity must be reported.
3. Diagnose a photon cutoff
Section titled “3. Diagnose a photon cutoff”A cavity simulation with cutoff reports at the final time. Is cutoff convergence established? Design a stronger test.
Solution
No. Final-time boundary population can miss transient occupation, coherences with the boundary, or an observable that is sensitive to a small high-number tail.
A stronger test records the maximum boundary and near-boundary occupation over the full trajectory, then repeats the calculation for a sequence such as . Compare every claimed observable, trace, positivity, and conservation law where applicable. The cutoff is controlled only when the observables and diagnostics are stable within a predeclared tolerance.
4. Verify the Doppler-force sign
Section titled “4. Verify the Doppler-force sign”For the low-saturation force on this page, expand to first order in and show that red detuning produces damping.
Solution
Define
Then
For small ,
Hence
Since
for . Therefore
This verifies the sign in the low-saturation two-level model, not the validity of that model for multilevel or sub-Doppler cooling.
References
Section titled “References”- S. F. Boys and F. Bernardi, “The calculation of small molecular interactions by the differences of separate total energies. Some procedures with reduced errors,” Molecular Physics 19, 553–566 (1970), doi:10.1080/00268977000101561.
- J. Dalibard, Y. Castin, and K. Mølmer, “Wave-function approach to dissipative processes in quantum optics,” Physical Review Letters 68, 580–583 (1992), doi:10.1103/PhysRevLett.68.580.
- C. W. Gardiner and P. Zoller, Quantum Noise, 3rd ed., Springer, 2004, publisher record.
- T. Helgaker, P. Jørgensen, and J. Olsen, Molecular Electronic-Structure Theory, Wiley, 2000, doi:10.1002/9781119019572.
- W. R. Johnson, Atomic Structure Theory: Lectures on Atomic Physics, Springer, 2007, doi:10.1007/978-3-540-68013-0.
- A. Kramida, Yu. Ralchenko, J. Reader, and the NIST ASD Team, NIST Atomic Spectra Database, National Institute of Standards and Technology, version 5.12 (2024), accessed 2026-10-14.
- N. Lambert et al., “QuTiP 5: The Quantum Toolbox in Python,” Physics Reports 1153, 1–62 (2026), doi:10.1016/j.physrep.2025.10.001.
- H. J. Metcalf and P. van der Straten, Laser Cooling and Trapping, Springer, 1999, doi:10.1007/978-1-4612-1470-0.
- J. S. Sims and S. A. Hagstrom, “High precision Hy-CI variational calculations for the ground state of neutral helium and helium-like ions,” International Journal of Quantum Chemistry 90, 1600–1609 (2002), NIST publication record.
- L. N. Trefethen and D. Bau III, Numerical Linear Algebra, twenty-fifth anniversary ed., SIAM, 2022, doi:10.1137/1.9781611977165.