-
i-PI 3.0: a flexible and efficient framework for advanced atomistic simulations
Authors:
Yair Litman,
Venkat Kapil,
Yotam M. Y. Feldman,
Davide Tisi,
Tomislav Begušić,
Karen Fidanyan,
Guillaume Fraux,
Jacob Higer,
Matthias Kellner,
Tao E. Li,
Eszter S. Pós,
Elia Stocco,
George Trenins,
Barak Hirshberg,
Mariana Rossi,
Michele Ceriotti
Abstract:
Atomic-scale simulations have progressed tremendously over the past decade, largely due to the availability of machine-learning interatomic potentials. These potentials combine the accuracy of electronic structure calculations with the ability to reach extensive length and time scales. The i-PI package facilitates integrating the latest developments in this field with advanced modeling techniques,…
▽ More
Atomic-scale simulations have progressed tremendously over the past decade, largely due to the availability of machine-learning interatomic potentials. These potentials combine the accuracy of electronic structure calculations with the ability to reach extensive length and time scales. The i-PI package facilitates integrating the latest developments in this field with advanced modeling techniques, thanks to a modular software architecture based on inter-process communication through a socket interface. The choice of Python for implementation facilitates rapid prototy** but can add computational overhead. In this new release, we carefully benchmarked and optimized i-PI for several common simulation scenarios, making such overhead negligible when i-PI is used to model systems up to tens of thousands of atoms using widely adopted machine learning interatomic potentials, such as Behler-Parinello, DeePMD and MACE neural networks. We also present the implementation of several new features, including an efficient algorithm to model bosonic and fermionic exchange, a framework for uncertainty quantification to be used in conjunction with machine-learning potentials, a communication infrastructure that allows deeper integration with electronic-driven simulations, and an approach to simulate coupled photon-nuclear dynamics in optical or plasmonic cavities.
△ Less
Submitted 10 July, 2024; v1 submitted 24 May, 2024;
originally announced May 2024.
-
Unveiling a crystal's entropy of disorder via electron diffraction. A statistical mechanics approach
Authors:
Dongxin Liu,
Oren Elishav,
Jiarui Fu,
Masaya Sakakibara,
Kaoru Yamanouchi,
Barak Hirshberg,
Takayuki Nakamuro,
Eiichi Nakamura
Abstract:
Upon melting, the molecules in the crystal explore numerous configurations, reflecting an increase in disorder. The molar entropy of disorder can be defined by Bolzmann's formula dSd = Rln(Wd) where Wd is the increase in the number of microscopic states, so far inaccessible experimentally. We found that the Arrhenius frequency factor A of the electron diffraction signal decay provides Wd via an ex…
▽ More
Upon melting, the molecules in the crystal explore numerous configurations, reflecting an increase in disorder. The molar entropy of disorder can be defined by Bolzmann's formula dSd = Rln(Wd) where Wd is the increase in the number of microscopic states, so far inaccessible experimentally. We found that the Arrhenius frequency factor A of the electron diffraction signal decay provides Wd via an experimental equation A = AINTWd where AINT is an inelastic scattering cross-section. The method connects Clausius and Boltzmann experimentally and supplements the Clausius approach, being applicable to a femtogram quantity of thermally unstable and biomolecular crystals. The data also showed that crystal disordering and crystallization of melt are reciprocal, both governed by the entropy change, but manifesting in opposite directions.
△ Less
Submitted 8 February, 2024; v1 submitted 7 February, 2024;
originally announced February 2024.
-
The effect of ligands on the size distribution of copper nanoclusters: insights from molecular dynamics simulations
Authors:
Oren Elishav,
Ofir Blumer,
T. Kyle Vanderlick,
Barak Hirshberg
Abstract:
Controlling the size distribution in the nucleation of copper particles is crucial for achieving nanocrystals with desired physical and chemical properties. However, their synthesis involves a complex system of solvents, ligands, and copper precursors with intertwining effects on the size of the nanoclusters. We combine molecular dynamics simulations and DFT calculations to provide insight into th…
▽ More
Controlling the size distribution in the nucleation of copper particles is crucial for achieving nanocrystals with desired physical and chemical properties. However, their synthesis involves a complex system of solvents, ligands, and copper precursors with intertwining effects on the size of the nanoclusters. We combine molecular dynamics simulations and DFT calculations to provide insight into the nucleation mechanism in the presence of a triphenylphosphite ligand. We identify the crucial role of the strength of the metal-phosphine bond in inhibiting the cluster's growth. We demonstrate computationally several practical routes to fine-tune the bond strength by modifying the side groups of the additive. Our work provides molecular insight into the complex nucleation process of protected copper nanocrystals, which can assist in controlling their size distribution and, eventually, their morphology.
△ Less
Submitted 4 February, 2024;
originally announced February 2024.
-
Short-Time Infrequent Metadynamics for Improved Kinetics Inference
Authors:
Ofir Blumer,
Shlomi Reuveni,
Barak Hirshberg
Abstract:
Infrequent Metadynamics is a popular method to obtain the rate of long timescale processes from accelerated simulations. The inference procedure is based on rescaling the first-passage times of Metadynamics trajectories using a bias-dependent acceleration factor. While useful in many cases, it is limited to Poisson kinetics, and a reliable estimation of the unbiased rate requires slow bias deposit…
▽ More
Infrequent Metadynamics is a popular method to obtain the rate of long timescale processes from accelerated simulations. The inference procedure is based on rescaling the first-passage times of Metadynamics trajectories using a bias-dependent acceleration factor. While useful in many cases, it is limited to Poisson kinetics, and a reliable estimation of the unbiased rate requires slow bias deposition and prior knowledge of efficient collective variables. Here, we propose an improved inference scheme, which is based on two key observations: 1) The time-independent rate of Poisson processes can be estimated using short trajectories only. 2) Short trajectories experience minimal bias, and their rescaled first-passage times follow the unbiased distribution even for relatively high deposition rates and suboptimal collective variables. Therefore, by limiting the inference procedure to short timescales, we obtain an improved tradeoff between speedup and accuracy at no additional computational cost, especially when employing suboptimal collective variables. We demonstrate the improved inference scheme for a model system and two molecular systems.
△ Less
Submitted 28 January, 2024; v1 submitted 25 January, 2024;
originally announced January 2024.
-
Fermionic physics from ab initio path integral Monte Carlo simulations of fictitious identical particles
Authors:
Tobias Dornheim,
Panagiotis Tolias,
Simon Groth,
Zhandos Moldabekov,
Jan Vorberger,
Barak Hirshberg
Abstract:
The \emph{ab initio} path integral Monte Carlo (PIMC) method is one of the most successful methods in statistical physics, quantum chemistry and related fields, but its application to quantum degenerate Fermi systems is severely hampered by an exponential computational bottleneck: the notorious fermion sign problem. Very recently, Xiong and Xiong [J. Chem. Phys. 157, 094112 (2022)] have suggested…
▽ More
The \emph{ab initio} path integral Monte Carlo (PIMC) method is one of the most successful methods in statistical physics, quantum chemistry and related fields, but its application to quantum degenerate Fermi systems is severely hampered by an exponential computational bottleneck: the notorious fermion sign problem. Very recently, Xiong and Xiong [J. Chem. Phys. 157, 094112 (2022)] have suggested to partially circumvent the sign problem by carrying out PIMC simulations of fictitious systems which contain an interpolating continuous variable $ξ\in[-1,1]$ in their partition function, with the physical Fermi- and Bose-statistics corresponding to the endpoint limits $ξ=-1$ and $ξ=1$. It has been proposed that thermodynamic information about the fermionic limit might be obtained by path integral calculations within the bosonic sector $ξ>0$ combined with a quadratic $ξ$ extrapolation throughout the fermionic sector $ξ<0$, essentially bypassing the sign problem. In this work, we show how the inclusion of the artificial parameter $ξ$ can be interpreted as an effective penalty on the formation of permutation cycles in the PIMC simulation. We empirically demonstrate that the proposed extrapolation method breaks down for moderate to high quantum degeneracy. Instead, the method constitutes a valuable tool for the description of large Fermi-systems of weak quantum degeneracy. This is demonstrated for electrons in a 2D harmonic trap and for the archetypal uniform electron gas (UEG), where we find excellent agreement ($\sim0.5\%$) with exact configuration PIMC results in the high-density regime while attaining a speed-up exceeding eleven orders of magnitude. Finally, we extend the idea beyond the energy and analyze the radial density distribution (2D trap), as well as the static structure factor and imaginary-time density-density correlation function (UEG).
△ Less
Submitted 11 August, 2023;
originally announced August 2023.
-
Resetting Metadynamics
Authors:
Ofir Blumer,
Shlomi Reuveni,
Barak Hirshberg
Abstract:
Metadynamics is a powerful method to accelerate molecular dynamics simulations, but its efficiency critically depends on the identification of collective variables that capture the slow modes of the process. Unfortunately, collective variables are usually not known a priori, and finding them can be very challenging. We recently presented a collective variables-free approach to enhanced sampling us…
▽ More
Metadynamics is a powerful method to accelerate molecular dynamics simulations, but its efficiency critically depends on the identification of collective variables that capture the slow modes of the process. Unfortunately, collective variables are usually not known a priori, and finding them can be very challenging. We recently presented a collective variables-free approach to enhanced sampling using stochastic resetting. Here, we combine the two methods for the first time, showing that it can lead to greater acceleration than either of them separately. We also demonstrate that resetting Metadynamics simulations performed with suboptimal collective variables can lead to speedups comparable with those obtained with optimal collective variables. Therefore, the application of stochastic resetting can be an alternative to the challenging task of improving suboptimal collective variables, at almost no additional computational cost. Finally, we propose a method to extract unbiased mean first-passage times from Metadynamics simulations with resetting, resulting in an improved tradeoff between speedup and accuracy. This work opens the way for combining stochastic resetting with other enhanced sampling methods to accelerate a broad range of molecular simulations.
△ Less
Submitted 12 July, 2023;
originally announced July 2023.
-
Quadratic Scaling Bosonic Path Integral Molecular Dynamics
Authors:
Yotam M. Y. Feldman,
Barak Hirshberg
Abstract:
Bosonic exchange symmetry leads to fascinating quantum phenomena, from exciton condensation in quantum materials to the superfluidity of liquid Helium-4. Unfortunately, path integral molecular dynamics (PIMD) simulations of bosons are computationally prohibitive beyond $\mathord{\sim} 100$ particles, due to a cubic scaling with the system size. We present an algorithm that reduces the complexity f…
▽ More
Bosonic exchange symmetry leads to fascinating quantum phenomena, from exciton condensation in quantum materials to the superfluidity of liquid Helium-4. Unfortunately, path integral molecular dynamics (PIMD) simulations of bosons are computationally prohibitive beyond $\mathord{\sim} 100$ particles, due to a cubic scaling with the system size. We present an algorithm that reduces the complexity from cubic to quadratic, allowing the first simulations of thousands of bosons using PIMD. Our method is orders of magnitude faster, with a speedup that scales linearly with the number of particles and the number of imaginary time slices (beads). Simulations that would have otherwise taken decades can now be done in days. In practice, the new algorithm eliminates most of the added computational cost of including bosonic exchange effects, making them almost as accessible as PIMD simulations of distinguishable particles.
△ Less
Submitted 28 November, 2023; v1 submitted 29 May, 2023;
originally announced May 2023.
-
Collective Variables for Conformational Polymorphism in Molecular Crystals
Authors:
Oren Elishav,
Roy Podgaetsky,
Olga Meikler,
Barak Hirshberg
Abstract:
Controlling polymorphism in molecular crystals is crucial in the pharmaceutical, dye, and pesticide industries. However, its theoretical description is extremely challenging, due to the associated long timescales ($ > 1 \, μs$). We present an efficient procedure for identifying collective variables that promote transitions between conformational polymorphs in molecular dynamics simulations. It inv…
▽ More
Controlling polymorphism in molecular crystals is crucial in the pharmaceutical, dye, and pesticide industries. However, its theoretical description is extremely challenging, due to the associated long timescales ($ > 1 \, μs$). We present an efficient procedure for identifying collective variables that promote transitions between conformational polymorphs in molecular dynamics simulations. It involves applying a simple dimensionality reduction algorithm to data from short ($\sim ps$) simulations of the isolated conformers that correspond to each polymorph. We demonstrate the utility of our method in the challenging case of the important energetic material, CL-20, which has three anhydrous conformational polymorphs at ambient pressure. Using these collective variables in Metadynamics simulations, we observe transitions between all solid polymorphs in the biased trajectories. We reconstruct the free energy surface and identify previously unknown defect and intermediate forms in the transition from one known polymorph to another. Our method provides insights into complex conformational polymorphic transitions of flexible molecular crystals.
△ Less
Submitted 14 November, 2022;
originally announced November 2022.
-
Stochastic Resetting for Enhanced Sampling
Authors:
Ofir Blumer,
Shlomi Reuveni,
Barak Hirshberg
Abstract:
We present a method for enhanced sampling of molecular dynamics simulations using stochastic resetting. Various phenomena, ranging from crystal nucleation to protein folding, occur on timescales that are unreachable in standard simulations. This is often caused by broad transition time distributions in which extremely slow events have a non-negligible probability. Stochastic resetting, i.e., resta…
▽ More
We present a method for enhanced sampling of molecular dynamics simulations using stochastic resetting. Various phenomena, ranging from crystal nucleation to protein folding, occur on timescales that are unreachable in standard simulations. This is often caused by broad transition time distributions in which extremely slow events have a non-negligible probability. Stochastic resetting, i.e., restarting simulations at random times, was recently shown to significantly expedite processes that follow such distributions. Here, we employ resetting for enhanced sampling of molecular simulations for the first time. We show that it accelerates long-timescale processes by up to an order of magnitude in examples ranging from simple models to molecular systems. Most importantly, we recover the mean transition time without resetting - typically too long to be sampled directly - from accelerated simulations at a single restart rate. Stochastic resetting can be used as a standalone method or combined with other sampling algorithms to further accelerate simulations.
△ Less
Submitted 2 October, 2022;
originally announced October 2022.
-
Prediction of a supersolid phase in high-pressure deuterium
Authors:
Chang Woo Myung,
Barak Hirshberg,
Michele Parrinello
Abstract:
Supersolid is a mysterious and puzzling state of matter whose possible existence has stirred a vigorous debate among physicists for over 60 years. Its elusive nature stems from the coexistence of two seemingly contradicting properties, long-range order and superfluidity. We report computational evidence of a supersolid phase of deuterium under high pressure ($p >800$ GPa) and low temperature (T…
▽ More
Supersolid is a mysterious and puzzling state of matter whose possible existence has stirred a vigorous debate among physicists for over 60 years. Its elusive nature stems from the coexistence of two seemingly contradicting properties, long-range order and superfluidity. We report computational evidence of a supersolid phase of deuterium under high pressure ($p >800$ GPa) and low temperature (T $<$ 1.0 K). In our simulations, that are based on bosonic path integral molecular dynamics, we observe a highly concerted exchange of atoms while the system preserves its crystalline order. The exchange processes are favoured by the soft core interactions between deuterium atoms that form a densely packed metallic solid. At the zero temperature limit, Bose-Einstein condensation is observed as the permutation probability of $N$ deuterium atoms approaches $1/N$ with a finite superfluid fraction. Our study provides concrete evidence for the existence of a supersolid phase in high-pressure deuterium and could provide insights on the future investigation of supersolid phases in real materials.
△ Less
Submitted 19 November, 2021; v1 submitted 25 March, 2021;
originally announced March 2021.
-
Attenuating the fermion sign problem in path integral Monte Carlo simulations using the Bogoliubov inequality and thermodynamic integration
Authors:
Tobias Dornheim,
Michele Invernizzi,
Jan Vorberger,
Barak Hirshberg
Abstract:
Accurate thermodynamic simulations of correlated fermions using path integral Monte Carlo (PIMC) methods are of paramount importance for many applications such as the description of ultracold atoms, electrons in quantum dots, and warm-dense matter. The main obstacle is the fermion sign problem (FSP), which leads to an exponential increase in computation time both with increasing the system-size an…
▽ More
Accurate thermodynamic simulations of correlated fermions using path integral Monte Carlo (PIMC) methods are of paramount importance for many applications such as the description of ultracold atoms, electrons in quantum dots, and warm-dense matter. The main obstacle is the fermion sign problem (FSP), which leads to an exponential increase in computation time both with increasing the system-size and with decreasing temperature. Very recently, Hirshberg et al. [J. Chem. Phys. 152, 171102 (2020)] have proposed to alleviate the FSP based on the Bogoliubov inequality. In the present work, we extend this approach by adding a parameter that controls the perturbation, allowing for an extrapolation to the exact result. In this way, we can also use thermodynamic integration to obtain an improved estimate of the fermionic energy. As a test system, we choose electrons in 2D and 3D quantum dots and find in some cases a speed-up exceeding 10^6 , as compared to standard PIMC, while retaining a relative accuracy of $\sim0.1\%$. Our approach is quite general and can readily be adapted to other simulation methods.
△ Less
Submitted 23 September, 2020;
originally announced September 2020.
-
Path Integral Molecular Dynamics for Fermions: Alleviating the Sign Problem with the Bogoliubov Inequality
Authors:
Barak Hirshberg,
Michele Invernizzi,
Michele Parrinello
Abstract:
We present a method for performing path integral molecular dynamics (PIMD) simulations for fermions and address its sign problem. PIMD simulations are widely used for studying many-body quantum systems at thermal equilibrium. However, they assume that the particles are distinguishable and neglect bosonic and fermionic exchange effects. Interacting fermions play a key role in many chemical and phys…
▽ More
We present a method for performing path integral molecular dynamics (PIMD) simulations for fermions and address its sign problem. PIMD simulations are widely used for studying many-body quantum systems at thermal equilibrium. However, they assume that the particles are distinguishable and neglect bosonic and fermionic exchange effects. Interacting fermions play a key role in many chemical and physical systems, such as electrons in quantum dots and ultracold trapped atoms. A direct sampling of the fermionic partition function is impossible using PIMD since its integrand is not positive definite. We show that PIMD simulations for fermions are feasible by employing our recently developed method for bosonic PIMD and reweighting the results to obtain fermionic expectation values. The approach is tested against path integral Monte Carlo (PIMC) simulations for up to 7 electrons in a two-dimensional quantum dot for a range of interaction strengths. However, like PIMC, the method suffers from the sign problem at low temperatures. We propose a simple approach for alleviating it by simulating an auxiliary system with a larger average sign and obtaining an upper bound to the energy of the original system using the Bogoliubov inequality. This allows fermions to be studied at temperatures lower than would otherwise have been feasible using PIMD, as demonstrated in the case of a three-electron quantum dot. Our results extend the boundaries of PIMD simulations of fermions and will hopefully stimulate the development of new approaches for tackling the sign problem.
△ Less
Submitted 23 March, 2020;
originally announced March 2020.
-
Metadynamics of paths
Authors:
Davide Mandelli,
Barak Hirshberg,
Michele Parrinello
Abstract:
We present a method to sample reactive pathways via biased molecular dynamics simulations in trajectory space. We show that the use of enhanced sampling techniques enables unconstrained exploration of multiple reaction routes. Time correlation functions are conveniently computed via reweighted averages along a single trajectory and kinetic rates are accessed at no additional cost. These abilities…
▽ More
We present a method to sample reactive pathways via biased molecular dynamics simulations in trajectory space. We show that the use of enhanced sampling techniques enables unconstrained exploration of multiple reaction routes. Time correlation functions are conveniently computed via reweighted averages along a single trajectory and kinetic rates are accessed at no additional cost. These abilities are illustrated analyzing a model potential and the umbrella inversion of NH$_3$ in water. The algorithm allows a parallel implementation and promises to be a powerful tool for the study of rare events.
△ Less
Submitted 11 May, 2020; v1 submitted 21 February, 2020;
originally announced February 2020.
-
Path Integral Molecular Dynamics for Bosons
Authors:
Barak Hirshberg,
Valerio Rizzi,
Michele Parrinello
Abstract:
Trapped Bosons exhibit fundamental physical phenomena and are potentially useful for quantum technologies. We present a method for simulating Bosons using path integral molecular dynamics. A main challenge for simulations is including all permutations due to exchange symmetry. We show that evaluation of the potential can be done recursively, avoiding explicit enumeration of permutations, and scale…
▽ More
Trapped Bosons exhibit fundamental physical phenomena and are potentially useful for quantum technologies. We present a method for simulating Bosons using path integral molecular dynamics. A main challenge for simulations is including all permutations due to exchange symmetry. We show that evaluation of the potential can be done recursively, avoiding explicit enumeration of permutations, and scales cubically with system size. The method is applied to Bosons in a 2D trap and agrees with essentially exact results. An analysis of the role of exchange with decreasing temperature is also presented.
△ Less
Submitted 22 May, 2019;
originally announced May 2019.