DOE OSTI · 3004686
Python Library for Monte Carlo Simulations with Ab Initio and Machine-Learned Interatomic Potentials
Abstract
There is a growing need in the simulation community for software that provides a transparent, reproducible, usable, and extensible (TRUE) Monte Carlo (MC) simulation framework employing energies from ab initio methods and machine-learning interatomic potentials (MLIPs). We introduce a Python library (ASE-MC) that adds Monte Carlo functionality to the Atomic Simulation Environment (ASE) package. Now, we can combine the powerful tools used to build systems and perform ab initio and MLIP in ASE with MC simulation algorithms to sample the configurational space with a concise Python script. After presenting the design philosophy, we demonstrate the flexibility of our approach using selected examples. These example simulations include liquid water described with a message-passing MLIP in the canonical and isothermal–isobaric ensembles, sampling the characteristic dihedral angle of biphenyl and comparing an MLIP to first-principles calculations, and a grand canonical Monte Carlo simulation of ammonia adsorption on Pt(111). These examples showcase the main features of the software, which include flexibility in the choice of ab initio or MLIP engine, ab initio or MLIP grand canonical MC with cavity bias insertions and deletions, the ability to add custom MC moves to the move set, and how users can condense complex MC workflows into a single Python script. Finally, this library serves as a framework for reproducible Monte Carlo simulations, facilitating easy reproduction of the work and application to new systems.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Wilson, Woodrow N. [Mississippi State University, MS (United States); The University of Alabama, Tuscaloosa, AL (United States)], Bharadwaj, Vivek S. [National Renewable Energy Laboratory (NREL), Golden, CO (United States)] (ORCID:0000000158519807), Rai, Neeraj [Mississippi State University, MS (United States)] (ORCID:0000000200589623). 2025-10-07. Python Library for Monte Carlo Simulations with Ab Initio and Machine-Learned Interatomic Potentials. https://doi.org/10.1021/acs.jctc.5c01148
Cite the original work for its findings. Save a collection to share your selection of sources.