In paper, Exploring Entropy Landscapes Using Hard Particle Monte Carlo Metadynamics, we introduce a new algorithm that integrates the Hard Particle Monte Carlo scheme with Metadynamics, which we term "HPMC-MetaD".
To perform HPMC-MetaD simulations, we implemented the algorithm as a HOOMD-blue custom updater, and we provide a minimal example in this repository:
simulation.ipynb - HPMC-MetaD simulation of N = 50
colvar.py – Implementation of several commonly used order parameters, used in hpmetad.py. Modify this file to include custom collective variables.
hpmetad.py – Implementation of the HPMC-MetaD algorithm.
restart.ipynb - Restart and continue the HPMC-MetaD simulation.
analysis.ipynb - Analyze the simulation data for, e.g., checking the acceptance rate, collective variable/bia potential vs time, and plotting the free energy profile.
In the larger_system_data directory, we also provide a simulation trajectory with N = 500
If you have any questions, feel free to reach out to: zshiqi[at]umich.edu
If you find this repository helpful, please consider citing our paper:
C.S. Zhao, S.-T. Tsai, & S.C. Glotzer, Exploring entropy landscapes using hard particle Monte Carlo metadynamics, Proc. Natl. Acad. Sci. U.S.A. 123 (20) e2537764123, https://doi.org/10.1073/pnas.2537764123 (2026).