Source-linked AI summary

i-PI 2.0: A Universal Force Engine for Advanced Molecular Simulations

Venkat Kapil, Mariana Rossi, Ondrej Marsalek, Riccardo Petraglia, Yair Litman, Thomas Spura, Bingqing Cheng, Alice Cuzzocrea, Robert H. Meißner, David M. Wilkins, Przemyslaw Juda, Sébastien P. Bienvenue, Wei Fang, Jan Kessler, Igor Poltavsky, Steven Vandenbrande, Jelle Wieme, Clemence Corminboeuf, Thomas D. Kühne, David E. Manolopoulos, Thomas E. Markland, Jeremy O. Richardson, Alexandre Tkatchenko, Gareth A. Tribello, Veronique Van Speybroeck, Michele Ceriotti

arXiv:1808.03824v2physics.chem-ph

TL;DR

Advanced atomistic simulations are slowed by the effort of implementing new algorithms across electronic-structure and empirical-potential codes. i-PI 2.0 provides a modular framework that connects such codes to advanced sampling and simulation methods, broadening the original path-integral focus. Its architecture supports combined techniques, while ring-polymer instantons remain inapplicable to liquid systems because their harmonic approximation is invalid.

  • Problem

    Implementing advanced optimization and sampling techniques across existing electronic-structure and empirical-potential codes creates a recurring implementation barrier.

  • Method

    i-PI 2.0 refactors its core around modular system, force, motion, ensemble, and replica-compatible components connected to external driver codes.

  • Results

    The release includes advanced path-integral methods and other algorithm classes, and its modularity allows techniques such as Hamiltonian replica exchange, open path integrals, and multiple-time-step integration to be combined without new code.

  • Takeaways & Limitations

    i-PI is moving toward a universal force engine that can be used with electronic-structure, machine-learning, and empirical force-field drivers.

  • Takeaways & Limitations

    Ring-polymer instantons are not applicable to liquid systems because the required harmonic approximation is invalid there.

Abstract

from arXiv · show

Progress in the atomic-scale modelling of matter over the past decade has been tremendous. This progress has been brought about by improvements in methods for evaluating interatomic forces that work by either solving the electronic structure problem explicitly, or by computing accurate approximations of the solution and by the development of techniques that use the Born-Oppenheimer (BO) forces to move the atoms on the BO potential energy surface. As a consequence of these developments it is now possible to identify stable or metastable states, to sample configurations consistent with the appropriate thermodynamic ensemble, and to estimate the kinetics of reactions and phase transitions. All too often, however, progress is slowed down by the bottleneck associated with implementing new optimization algorithms and/or sampling techniques into the many existing electronic-structure and empirical-potential codes. To address this problem, we are thus releasing a new version of the i-PI software. This piece of software is an easily extensible framework for implementing advanced atomistic simulation techniques using interatomic potentials and forces calculated by an external driver code. While the original version of the code was developed with a focus on path integral molecular dynamics techniques, this second release of i-PI not only includes several new advanced path integral methods, but also offers other classes of algorithms. In other words, i-PI is moving towards becoming a universal force engine that is both modular and tightly coupled to the driver codes that evaluate the potential energy surface and its derivatives.

PROGRAM SUMMARY

i-PI is a Python framework that lowers the implementation barrier for advanced atomistic simulations by interfacing sampling methods with external force codes.

  • i-PI implements advanced sampling methods, including path-integral molecular dynamics techniques, through a Python interface.Electronic-structure codes can be patched to receive requests from the interface.
  • The program targets lower implementation overhead for state-of-the-art sampling and atomistic modelling with ab initio and empirical potentials.

1. Introduction

i-PI addresses the implementation overhead of increasingly sophisticated atomistic modelling by separating simulation techniques from external force-evaluation codes.

  • Improved force methods and sampling schemes now support stable-state identification, thermodynamic sampling, and reaction and phase-transition kinetics.
  • The first i-PI release provided a socket-based infrastructure connecting different electronic-structure and empirical force-field packages.
  • The second release adds new quantum-nuclei acceleration methods, a refactored core for multiple replicas, and demonstrations of broader molecular-simulation functionality.

2. Program overview

The refactored i-PI architecture separates physical-system descriptions, evolution schemes, force computation, and ensemble conditions to support complex simulations.

  • The System class specifies initialization, energy and force computation, and the statistical ensemble sampled.
  • Motion classes evolve systems through molecular dynamics, Monte Carlo, energy optimization, or energy and force computations.
  • Multiple System classes can run in parallel, while SMotion combines collective moves that exchange information between systems.
  • ForceField classes obtain forces from external driver codes through sockets, while Forces combines multiple potential components into system energetics.
  • Separating thermodynamic boundary conditions into an Ensemble class simplifies advanced sampling schemes based on replica exchange.

3. Program features

i-PI 2.0 substantially broadens its feature set beyond path-integral molecular dynamics, covering quantum estimators, dynamics, optimization, enhanced sampling, and replica-based methods.

  • Thermostats and dynamics: Mixed PI-GLE methods reduce the number of path-integral replicas while allowing systematic convergence.
  • Quantum sampling and dynamics: The release provides RPMD and CMD infrastructure alongside estimators for heat capacity, isotope fractionation, momentum distributions, and standard structural properties.
  • Advanced path-integral methods: New quantum methods include higher-order path integrals, open paths, isotope transformations and fractionation estimators, and localized ring-polymer contraction.
  • Simulation algorithms: Existing capabilities include ring-polymer instantons, thermodynamic integration, geometry optimization, harmonic vibrations, metadynamics, and replica-exchange molecular dynamics.
  • Efficiency methods: Multiple time stepping separates slow and fast potential components, while ring-polymer contraction treats potential components with different costs and time scales separately.
  • Thermostats and dynamics: Thermostat and Langevin methods support canonical sampling, noisy or dissipative forces, accelerated convergence, and reduced dynamical artifacts.

4. Examples of New Features

i-PI 2.0 demonstrates a modular framework for advanced sampling and integration methods, including replica exchange, multiple time stepping, ring-polymer contraction, instantons, and quantum free-energy calculations.

  • Replica exchange molecular dynamics: Replica exchange supports parallel simulations across temperatures, pressures, biases, or Hamiltonians, with ensemble swaps accepted using Metropolis criteria.The implementation stores ensemble parameters centrally and updates derived quantities after swaps.
  • Replica exchange molecular dynamics: The water demonstration computes density and thermal expansion for 64 q-TIP4P/f molecules across 250–340 K at 1 bar and 100 bar.Classical and path integral simulations use LAMMPS forces, with 20 NpT ensembles spanning pressure–temperature combinations.
  • Multiple time step integrators: Multiple time stepping separates slow and fast potential components and supports arbitrarily complex nested time-step hierarchies.The outer time step and repetition counts for each level are controlled through the integrator configuration.
  • Spatially localized ring polymer contraction: Spatially localized ring-polymer contraction targets weakly adsorbed molecules by treating surface and adsorbate regions separately.For benzene on graphene, quantum kinetic energy was compared across contracted bead counts against a 32-bead full-system reference, including P′ = 1.
  • Ring-polymer instantons: Ring-polymer instantons represent tunneling pathways with imaginary-time replicas and provide reaction rates or tunneling splittings.The optimized pathway lies below the barrier top, accounting for tunneling enhancement, especially below the crossover temperature.
  • Ring-polymer instantons: Instanton methods are unsuitable for liquid systems because their harmonic approximation is invalid there; RPMD is recommended instead for such rates.This limitation defines an important boundary for selecting between instanton theory and RPMD.
  • PLUMED interface: Metadynamics of the Zundel cation: Quantum simulations of the Zundel cation enhance O–O distance fluctuations and stabilize the symmetric shared-proton state relative to dissociated configurations.At 150 K, classical and 64-bead PIMD free-energy surfaces were compared using centroid-based biasing.

Conclusions

i-PI 2.0 broadens the framework beyond its original path-integral focus, enabling diverse classical and quantum sampling methods with external force-field drivers. Its modular design supports combining advanced techniques and simplifies simulation analysis.

  • i-PI 2.0 supports classical and quantum sampling techniques with electronic-structure, machine-learning, and empirical force-field codes as drivers.
  • The aspirin example evaluates nuclear quantum effects with different bead counts, with and without the PPI correction.
  • The modular structure allows Hamiltonian replica exchange, open path integrals, and multiple-time-step integration to be combined without writing new code.
  • Direct communication with PLUMED provides tighter integration between i-PI and driver codes for high-performance computing.
  • Post-processing tools complement the engine by simplifying simulation analysis.
Loading 1808.03824v2…