fix pimd/langevin: An Efficient Implementation of Path Integral Molecular Dynamics in LAMMPS

Yifan Li, Axel Gomez, Kehan Cai, Chunyi Zhang, Li Fu, Weile Jia, Yotam M. Y. Feldman, Ofir Blumer, Jacob Higer, Barak Hirshberg, Shenzhen Xu, Axel Kohlmeyer, Roberto Car

arXiv:2602.13553·physics.chem-ph·Published 2026-02-14

Path integral molecular dynamics (PIMD), which maps a quantum particle onto a fictitious classical system of ring polymers and propagates the "beads" of this extended classical system using molecular dynamics, is widely used to capture nuclear quantum effects (NQEs) in molecular simulations. Accurate PIMD calculations typically require a large number of beads and are therefore computationally demanding. While software packages such as i-PI offer comprehensive PIMD functionality, the high efficiency of simulations driven by machine learning interatomic potentials, such as Deep Potential (DP), calls for more efficient PIMD implementations that fully exploit modern massively parallel supercomputers. Here we present fix pimd/langevin, an efficient PIMD implementation in LAMMPS that supports commonly used features and leverages the Message Passing Interface architecture of LAMMPS to achieve high computational efficiency. We demonstrate the usage and validate the correctness of our code using liquid water as a representative example, and provide a comprehensive overview of the supported features. Then we discuss several important technical aspects of the implementation. Using DP simulations of water as a benchmark, we show that our implementation achieves several-fold acceleration compared to i-PI. Finally, we report strong and weak scaling results that demonstrate the favorable parallel performance of our code.

TopicsMaterials Science & Condensed Matter

Tagsmachine-learning-interatomic-potentials

arXiv categoriesphysics.chem-ph

arXiv abstract pagePDF