kUPS MD Tutorials
An executable introduction for readers who know Python and elementary calculus but may be new to molecular dynamics. Each lesson connects physical intuition, equations, a compact JAX implementation, the corresponding kUPS interface, and an interpreted simulation result.
Reading path Lessons 13
- Build the mental model behind MD: atomic state, potential energy, JAX forces, discrete trajectories, periodic cells, ensembles, and the corresponding kUPS objects.
- Build an atomic state, derive a Maxwell–Boltzmann momentum draw in JAX, remove box translation, and inspect the state returned by kUPS.
- Translate velocity Verlet from Newton's equations into JAX, map its kick–drift–force–kick structure to kUPS, and inspect a real atomic trajectory.
- Separate timestep, arithmetic, initial-condition, and force-model error with transparent JAX controls and matched kUPS trajectories.
- Derive BAOAB Langevin dynamics, implement it transparently in JAX, and compare real kUPS BAOAB and CSVR trajectories.
- Derive stochastic cell rescaling in JAX, then interpret isotropic and flexible-cell NPT trajectories run through kUPS.
- Derive autocorrelation and effective sample size in JAX, then apply them to independent kUPS trajectories and actual atom motion.
- Implement a periodic RDF and coordination estimator in JAX, then measure structure and velocity memory from real kUPS trajectories.
- Implement probability-to-free-energy conversion and bias reweighting in JAX, then transform a real kUPS RDF into a supported pair PMF.
- Derive FEP and BAR, implement both estimators in JAX, and diagnose whether sampled configurations actually support a free-energy difference.
- Apply a harmonic bias to atomic coordinates in JAX, reconstruct connected windows with WHAM, and interpret real kUPS Ar-pair trajectories.
- Separate adaptive metadynamics bias from nonequilibrium steering, implement both central updates in JAX, and interpret real kUPS Ar-pair paths.
- Build a differentiable atomic graph in JAX, map it to a pinned Tojax MACE potential in kUPS, and separate numerical stability from model accuracy.