For instructors

Running this as a ninety-minute session.

Run sheet

FromMinNotebookModeWhat it has to land
0:0050 Orientationtogether Everyone's first cell runs. Everything else follows from one function.
0:05101 Energydemo Charge is an input. The glycine zwitterion collapses.
0:1582 Geometrydemo Water to within 0.01 Å and 0.5°. An optimisation finds the nearest minimum.
0:23133 Conformersexercise 1 A molecule at 298 K is a population, not a structure.
0:3684 Dynamicsdemo Sampling, not speed, is the hard part of MD.
0:44105 Reactionsdemo Exactly one imaginary mode, and what it is.
0:54136 Infraredexercise 2 The same Hessian, at a minimum instead of a saddle, is a spectrum.
1:07137 Reactivityexercise 3 Where a molecule reacts, without a transition state.
1:2058 Further directionstogether Where to go next, and what this cannot do.

That totals eighty-five minutes and leaves five for the room. If you are running short, notebook 4 is the one to cut: it is the only demo nothing later depends on.

Before the session

The exercises

Each hands out eight systems by seat number, so neighbours cannot copy and the room can pool results into one table at the end. That pooling is the point: no individual seat sees the pattern.

Exercise 1, conformers

Put seat 5, 1,4-butanediol on the screen when the room reports back. Exactly one of its twenty-odd conformers folds far enough to close the O–H···O bond; that one is the global minimum and holds about a third of the population, and every other conformer leaves the oxygens more than 4.6 Å apart. Seats 0 and 4, butane and 1,2-dichloroethane, should compare their numbers directly: the same question, different substituent, larger gap for chlorine.

Exercise 2, infrared

Read the answer key before the session. For six of the eight molecules the strongest band is the one a chemist would name first: C=O, C≡N, C–Cl and C–O all dominate their spectra, because intensity is ∂μ/∂Q and polar bonds have the largest dipole derivative. The two alcohols are the exception. Methanol (seat 2) and ethanol (seat 7) show a very strong hydroxyl torsion at 205 and 282 cm−1, and for ethanol it is the strongest band in the spectrum. Seat 7 will report it as their answer. That is what the code returns, and the reason it is not a prediction of an observable band (a torsional potential is nowhere near quadratic) is the most useful thing in the exercise.

Exercise 3, reactivity

Seat 7, nitrobenzene, is the instructive failure and should be handled deliberately rather than apologised for. The descriptor puts meta above ortho, capturing part of the deactivation, but ranks para highest where experiment gives 93 percent meta. Say why: condensed Fukui functions describe the ground-state density, whereas regioselectivity is set by the relative energies of the σ-complex intermediates. For activated rings the two correlate; for deactivated rings they need not.

Also warn the room not to read the ω column as a single ranking across all eight seats. Seats 4 to 6 are activated arenes with lower ω than acetone, which is correct: they are nucleophiles.

What goes wrong in a room

SymptomCauseSay
Nothing happens for a minutefirst cell installing Expected. It prints nothing while it works.
Everything is slow on ColabCPU runtime Runtime → Change runtime type → T4 GPU, then restart.
"My conformer count is different"stochastic search Expected. Compare the ordering and the gaps, not the count.
"Nothing converged"fmax tightened 0.02 eV/Å is the floor for a float32 model.
An AssertionError about a complete answerthe blank That is the exercise. Write two sentences and re-run.
A red CUDA warning at importno NVIDIA card Harmless. It runs on the CPU.

Reusing the material

Everything is MIT licensed. The notebooks are generated from percent-format sources in source/, so if you would rather edit Python than JSON:

python build.py            # sources -> notebooks/ and solutions/
python check_notebooks.py  # static check

An answer notebook is its exercise with the answer-key markdown from keys/ prepended and the two blanks filled. Nothing else may differ, so a correction to an exercise reaches its answer key automatically.

The deck is a single HTML file in slides/. It renders offline from a local file; the typefaces fall back to system fonts without a network, which is worth knowing when the conference network fails. Press P to print it to PDF.