Skip to main content
QUICK REVIEW

[Paper Review] NQCDynamics.jl: A Julia Package for Nonadiabatic Quantum Classical Molecular Dynamics in the Condensed Phase

James Gardner, Oscar A. Douglas‐Gallardo|arXiv (Cornell University)|Feb 25, 2022
Quantum, superfluid, helium dynamicsPhysics and Astronomy153 references21 citations
TL;DR

NQCDynamics.jl is a high-performance, open-source Julia package for nonadiabatic quantum-classical molecular dynamics in condensed phases, enabling efficient simulation of complex quantum effects in large systems. It integrates diverse methods—including surface hopping, electronic friction, and mapping Hamiltonians—via modular interfaces to electronic structure codes and machine learning models, demonstrating accuracy on the spin-boson model and H2/Ag(111) reactive scattering with reproducible, production-ready workflows.

ABSTRACT

Accurate and efficient methods to simulate nonadiabatic and quantum nuclear effects in high-dimensional and dissipative systems are crucial for the prediction of chemical dynamics in condensed phase. To facilitate effective development, code sharing and uptake of newly developed dynamics methods, it is important that software implementations can be easily accessed and built upon. Using the Julia programming language, we have developed the NQCDynamics.jl package which provides a framework for established and emerging methods for performing semiclassical and mixed quantum-classical dynamics in condensed phase. The code provides several interfaces to existing atomistic simulation frameworks, electronic structure codes, and machine learning representations. In addition to the existing methods, the package provides infrastructure for developing and deploying new dynamics methods which we hope will benefit reproducibility and code sharing in the field of condensed phase quantum dynamics. Herein, we present our code design choices and the specific Julia programming features from which they benefit. We further demonstrate the capabilities of the package on two examples of chemical dynamics in condensed phase: the population dynamics of the spin-boson model as described by a wide variety of semi-classical and mixed quantum-classical nonadiabatic methods and the reactive scattering of H2 on Ag(111) using the Molecular Dynamics with Electronic Friction method. Together, they exemplify the broad scope of the package to study effective model Hamiltonians and realistic atomistic systems.

Motivation & Objective

  • Address the lack of open, reusable, and well-documented software implementations for emerging nonadiabatic and quantum-classical dynamics (NQCD) methods.
  • Enable seamless transition from prototype method development to high-performance production simulations in condensed-phase systems.
  • Facilitate benchmarking and reproducibility by providing standardized interfaces and open access to code and example applications.
  • Support integration with ab initio electronic structure codes, model Hamiltonians, and machine learning potentials for diverse chemical systems.
  • Promote community-driven development and code sharing through Julia’s package ecosystem and performance-optimized design.

Proposed method

  • Implement a modular software framework in the Julia programming language to unify multiple nonadiabatic dynamics methods under a single, extensible interface.
  • Leverage Julia’s just-in-time compilation and type inference to achieve C/Fortran-level performance while maintaining Python-like readability and productivity.
  • Provide standardized interfaces to external tools, including electronic structure codes (e.g., ORCA, Gaussian), machine learning models (e.g., high-dimensional neural networks), and model Hamiltonians.
  • Support multiple NQCD methods: surface hopping, molecular dynamics with electronic friction, and semiclassical mapping Hamiltonian approaches.
  • Integrate adaptive time-stepping solvers (e.g., Runge-Kutta pairs) for numerical stability and accuracy in solving the coupled classical and quantum equations of motion.
  • Use BinaryBuilder.jl to embed compiled binaries from other languages (e.g., C/C++ libraries) without requiring users to compile dependencies manually.

Experimental results

Research questions

  • RQ1Can a unified, open-source software framework in Julia effectively support both rapid prototyping and high-performance production simulations of nonadiabatic dynamics?
  • RQ2How well can NQCDynamics.jl reproduce known physical behavior in benchmark systems like the spin-boson model and H2/Ag(111) scattering?
  • RQ3To what extent does the package enable reproducible, modular, and extensible development of new nonadiabatic dynamics methods?
  • RQ4How does the integration of machine learning potentials and ab initio electronic structure codes enhance the accuracy and scope of condensed-phase simulations?
  • RQ5Can the package serve as a sustainable platform for community-driven development and benchmarking of emerging NQCD methods?

Key findings

  • NQCDynamics.jl successfully implements and benchmarks multiple nonadiabatic dynamics methods—including surface hopping and electronic friction—on the spin-boson model, showing good agreement with reference solutions.
  • The package accurately reproduces the reactive scattering dynamics of H2 on Ag(111), including mode-specific electronic friction effects, as validated against prior ab initio studies.
  • The use of Julia enables performance comparable to low-level languages while maintaining high-level code readability and rapid development cycles.
  • The modular design allows seamless integration with external electronic structure codes and machine learning models, enabling simulations on realistic atomistic systems.
  • The framework supports reproducible and transparent method comparison, with example workflows available for both model Hamiltonians and real materials.
  • The package demonstrates that open-source, high-performance software development is feasible and beneficial for advancing nonadiabatic dynamics research in condensed phases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.