The notebooks

Nine of them, in one direction. Each stands alone.

Every notebook installs its own dependencies in the first cell, so you can open any one of them cold. If you are running locally you only need the install once; the first cell then finds the packages already present and skips straight through.

Where a structure is the point, the notebooks draw it: an interactive three-dimensional view you can rotate and zoom. The first molecule, the charges printed on its atoms, an optimisation played as a film, anti and gauche butane side by side, the three lowest conformers, a molecular dynamics trajectory, a transition state moving along its imaginary mode, the strongest infrared mode, the Fukui indices on each atom, and six waters in their periodic box. The viewer is 3Dmol.js through py3Dmol; it needs a network connection, and every result is also printed as text.

  1. OrientationThe potential energy surface, and what a machine-learned potential replacesopen in colab
  2. Energy, forces and chargeTotal charge is an input to the network, not a correction applied afterwardsopen in colab
  3. Geometry optimisationWater to within 0.01 Å and 0.5° of experiment; an optimisation finds the nearest minimum, not the best oneopen in colab
  4. Conformational analysisWhich form is populated at room temperature, and by how much. Eight systems, one per seatopen in colab
  5. Molecular dynamicsWatching a molecule move, why a short trajectory resolves less than it seems to, and energy conservation as a testopen in colab
  6. Reactions and transition statesAn SN2 saddle point, confirmed by exactly one imaginary frequencyopen in colab
  7. Infrared spectraFrom the curvature of the surface to a predicted spectrum. Eight molecules, one per seatopen in colab
  8. Chemical reactivityElectrophilicity and Fukui functions from three charge states. Eight molecules, one per seatopen in colab
  9. Further directionsPeriodic systems, bond dissociation energies, palladium, OpenMM, pysisyphusopen in colab

Worked solutions

The three exercises each have a worked copy in solutions/, with seat 0 filled in, a table of the expected result for all eight seats, the points worth drawing out in discussion, and the difficulties students actually hit.

Reference numbers

What to expect when you run the material. Several of these double as sanity checks: if yours differ, something is wrong.

NbQuantityComputedReference
1acetic acid → acetate, C–O bond lengths 1.201 / 1.352 → 1.251 / 1.250 Å the two bonds equalise on deprotonation
1glycine zwitterion, gas phase collapses; O–H 1.702 → 0.979 Å no zwitterion exists in the gas phase
2water, O–H bond length0.9581 Å 0.958 Å, experiment
2water, H–O–H angle104.97° 104.5°, experiment
3butane, anti : gauche at 298 K 63.6 : 36.4, ΔE = 0.33 kcal/mol anti lower by 0.6–0.9 kcal/mol
31,4-butanediol, lowest conformer O–H···O at 2.22 Å every other conformer exceeds 4.6 Å
3butane gap, fmax 0.02 vs 0.005 0.33 vs 0.31 kcal/mol; population 63.6 vs 63.0% tightening changes nothing you report
4Langevin at 300 K, measured temperature 379 K at Δt = 0.5 fs; 305 K at 0.25 fs 300 K. The 0.5 fs bias is an integration artefact
5SN2 saddle point one imaginary mode, −193 cm⁻¹ exactly one, by definition of a transition state
6water, bend1597 cm⁻¹ 1595 cm⁻¹, experiment
6water, O–H stretches scaled ×0.96 3639 / 3785 cm⁻¹ 3657 / 3756 cm⁻¹, experiment
7methyl vinyl ketone, largest f⁺ β-carbon 0.232, carbonyl carbon 0.135 the β-carbon, site of conjugate addition
7electrophilicity index ω acetone 0.65 < MVK 1.06 < acrolein 1.18 < acrylonitrile 1.20 eV the accepted ordering
8bond dissociation energies, CH₃–H / PhCH₂–H / HO–H 105.2 / 92.8 / 116.8 kcal/mol 105 / 90 / 119 kcal/mol

Four limitations, kept deliberately

Each notebook says so where it happens. These are more useful to a class than results that all agree.

Fukui functions fail for deactivated arenes

Phenol, aniline and anisole give the correct ortho and para preference. Nitrobenzene puts meta above ortho, capturing part of the deactivation, but ranks para highest where experiment gives 93 percent meta. A condensed Fukui function describes how the ground-state density redistributes; regioselectivity is set by the relative energies of the σ-complex intermediates, a different quantity. For activated rings the two correlate. For deactivated rings they need not. That makes this a screening method, not an oracle.

X–H stretching frequencies come out 3 to 5 percent high

This is the harmonic approximation, not the model: a real X–H potential is shallower than a parabola at large displacement. Bending and skeletal modes below about 1800 cm⁻¹ need no scaling at all.

A short trajectory cannot measure what a long one can

Notebook 4 runs a few hundred femtoseconds at 300 K and at 500 K and finds the intramolecular hydrogen bond behaving the same at both. That is the correct result for that trajectory length, not a failure of the potential: breaking the bond costs several kT, so it is a rare event, and counting rare events takes picoseconds. The notebook uses this to introduce sampling error, which is the difficulty a fast potential does not remove.

Everything here is in the gas phase

Internal hydrogen bonds are therefore overstated, because in water a solvent molecule competes for the same donor. Notebook 1 shows the extreme case: the glycine zwitterion, the dominant form in solution, has no minimum at all in the gas phase and collapses to the neutral form during optimisation.