Structure-Preserving Hamiltonian Simulation on the GPU

18 Apr 2026

This project looks at a numerical-computing question: what changes when we parallelize Hamiltonian simulations on a GPU, and how can we preserve the structure that makes long-term trajectories meaningful?

The Hénon–Heiles system provides a nonlinear test case. A Python CPU implementation compares explicit Euler and RK4 with the symplectic leapfrog/velocity-Verlet method; CUDA kernels then parallelize independent trajectories, with one thread integrating each trajectory. The focus is not just short-term error, but how the integration method affects long-run energy behavior and phase-space structure.

When comparing integrators for chaotic systems, which long-term diagnostics do you find most informative: energy error, phase-space structure, or something else?


comments powered by Disqus