Pederson John P, McDaniel Jesse G
School of Chemistry and Biochemistry, Georgia Institute of Technology, Atlanta, Georgia 30332-0400, USA.
J Chem Phys. 2024 Jul 21;161(3). doi: 10.1063/5.0219851.
PyDFT-QMMM is a Python-based package for performing hybrid quantum mechanics/molecular mechanics (QM/MM) simulations at the density functional level of theory. The program is designed to treat short-range and long-range interactions through user-specified combinations of electrostatic and mechanical embedding procedures within periodic simulation domains, providing necessary interfaces to external quantum chemistry and molecular dynamics software. To enable direct embedding of long-range electrostatics in periodic systems, we have derived and implemented force terms for our previously described QM/MM/PME approach [Pederson and McDaniel, J. Chem. Phys. 156, 174105 (2022)]. Communication with external software packages Psi4 and OpenMM is facilitated through Python application programming interfaces (APIs). The core library contains basic utilities for running QM/MM molecular dynamics simulations, and plug-in entry-points are provided for users to implement custom energy/force calculation and integration routines, within an extensible architecture. The user interacts with PyDFT-QMMM primarily through its Python API, allowing for complex workflow development with Python scripting, for example, interfacing with PLUMED for free energy simulations. We provide benchmarks of forces and energy conservation for the QM/MM/PME and alternative QM/MM electrostatic embedding approaches. We further demonstrate a simple example use case for water solute in a water solvent system, for which radial distribution functions are computed from 100 ps QM/MM simulations; in this example, we highlight how the solvation structure is sensitive to different basis-set choices due to under- or over-polarization of the QM water molecule's electron density.
PyDFT-QMMM是一个基于Python的软件包,用于在密度泛函理论水平上进行混合量子力学/分子力学(QM/MM)模拟。该程序旨在通过周期性模拟域内用户指定的静电和机械嵌入程序组合来处理短程和长程相互作用,为外部量子化学和分子动力学软件提供必要的接口。为了在周期性系统中直接嵌入长程静电,我们已经为我们之前描述的QM/MM/PME方法[Pederson和McDaniel,《化学物理杂志》156,174105(2022)]推导并实现了力项。通过Python应用程序编程接口(API)促进了与外部软件包Psi4和OpenMM的通信。核心库包含运行QM/MM分子动力学模拟的基本实用程序,并提供插件入口点,以便用户在可扩展架构内实现自定义能量/力计算和积分例程。用户主要通过其Python API与PyDFT-QMMM进行交互,允许使用Python脚本进行复杂的工作流程开发,例如,与PLUMED接口进行自由能模拟。我们提供了QM/MM/PME和替代QM/MM静电嵌入方法的力和能量守恒基准。我们进一步展示了水溶剂系统中水溶性溶质的一个简单示例用例,从100 ps的QM/MM模拟中计算出径向分布函数;在这个例子中,我们强调了由于QM水分子电子密度的欠极化或过极化,溶剂化结构对不同基组选择的敏感性。