libterachem.py: Modular development of electronic structure methods with graphical processing units
Juncheng Harry Zhang, Ruiyan Wang, Andreas Erbs Hillers-Bendtsen, Todd J. Martínez
Abstract
We present libterachem.py, a Python interface and method framework that facilitates development and prototyping of electronic structure methods while leveraging TeraChem's optimized graphical processing unit (GPU) operations. Direct access to these building blocks and their intermediate quantities allows users to assemble and modify methods within Python while reusing the underlying GPU implementations. A layered architecture, programmable at both the operation level and the method level, supports numerical experimentation, composition of complete electronic structure methods with interchangeable components, and integration with external scientific libraries. We illustrate operation-level use with grid pruning for least-squares tensor hypercontraction and with exchange--correlation functionals supplied through LibXC and by the machine-learned Skala functional. We illustrate method-level use with dispersion corrections, periodic calculations, and geometry optimization with an external optimizer. Python-driven self-consistent-field calculations using libterachem.py incur no significant computational overhead compared to native TeraChem and preserve its multi-GPU scaling. A photoactive yellow protein QM/MM molecular dynamics application further demonstrates throughput comparable to native TeraChem in a workflow composed with external simulation libraries. These results establish libterachem.py as a platform for method development and interoperable molecular simulation that retains the performance of TeraChem's GPU operations.
Create a lesson
Related papers
Spin Migration in the Argon Dimer
Stefanos Carlström, Serguei Patchkovskii, Misha Yu Ivanov
Accuracy of Vibrational Properties of Machine-Learning Force Fields for Molecular Crystal Transformations
Natalia Goncharova, Oskar Schweighofer, Johannes Hoja
Electron-Density-Informed Molecular Property Prediction Using Surrogate Functionals
Manuel V. Klockow, Simon Wagner, Roman Remme et al.
Unveiling the Influence of Graphitic Nanocarbon Structures, Defects, and Surface Functional Groups on Supercapacitive Performance in LiTFSI Electrolyte
Phongphot Sakulaue, Bénédicte Réty, Takafumi Ishii et al.
Quantum dynamics of an ion in an RF quadrupole trap with weak octupolar anharmonicity
Sukanya Jana, Anushree Dey, Pintu Manadal et al.
Quantitative modeling of acid-base equilibria
Qianjun Xu, Simin Liu, Cesare Malosso et al.