exa-dmrg: Toward exascale quantum chemistry with open-source DMRG, from a single CPU core to hundreds of GPUs
Fabian Langkabel, Fabio Tarocco, Pi A. B. Haase, Fabijan Pavošević, Stefan Knecht, Roberto Di Remigio Eikås
Abstract
The density matrix renormalization group (DMRG) is the method of choice for large active spaces in strongly correlated molecules. We present exa-dmrg, an open-source DMRG program that scales to hundreds of GPUs or thousands of CPU cores. The accuracy of DMRG is set by the bond dimension , and on GPUs the largest affordable is usually limited by device memory. exa-dmrg is designed around this limit: the largest tensors are distributed across the GPUs, intermediates are formed on the fly rather than stored, and at every step the program decides which data reside on the GPUs, in host memory, or on disk. Nearly all computation is cast as batched matrix multiplications, which GPUs execute most efficiently. We demonstrate the scaling with ground-state calculations on both nitrogenase cofactors in established complete active space (CAS) models. The FeMo cofactor is treated in a (113,76) CAS with spin adaptation at SU(2) multiplets; on 256 GPUs a sweep takes about an hour even with tight thresholds, so a fully converged calculation completes in under a day. The P-cluster is treated in a (114,73) CAS with U(1) symmetry at on 512 GPUs, where exa-dmrg sustains 12.2 PFLOPS in the matrix-vector products and 9.6 PFLOPS over a full sweep, 12 and 40 the highest throughputs previously reported for DMRG (Xiang et al. 2024, https://doi.org/10.1021/acs.jctc.3c01228; Menczer et al. 2024, https://doi.org/10.1021/acs.jctc.4c00903). We also compute reactant and transition-state energies for the cytochrome P450 mediated hydroxylation of warfarin, a classic case of drug metabolism. Beyond ground states, exa-dmrg provides excited states, reduced density matrices, orbital entanglement measures, leading Slater determinants, and orbital optimization (DMRG-CASSCF), all accessible through a Python interface, directly or as an active-space solver in PySCF.
Create a lesson
Metadata
- Categories
- physics.chem-ph, cond-mat.str-el, physics.comp-ph, quant-ph
Related papers
Decoding Long-Time Open Quantum Dynamics from Short-Time Observations
Shared title terminologyphysics.chem-phMuhammad Atif, Ming Yang, Arif Ullah
TyxonQ: A Workflow Layer for Quantum Computing in Chemistry
Shared title terminologyphysics.chem-phXiaoran Li, Zhi Yin, Zhupeng Han et al.
Autonomous Multireference Quantum Chemistry with Artificial Intelligence Agents
Shared title terminologyphysics.chem-phYounghwan Kim, Ming-Hsiu Hsieh, Ankit Mathanker et al.
GenerativeQC: A Generative, GPU-Accelerated Quantum Chemistry Program
Shared title terminologyphysics.chem-phShengrui Xu, Longhan Shen, Wenxi Zhai et al.
Open Quantum System Embedded in an Optimized Reservoir of Molecules
Shared title terminologyphysics.chem-phSomayeh Ahmadkhani, Sara Panahian Jand, Luigi Delle Site
Pseudopotential localization errors in diffusion quantum Monte Carlo atomization energies
Shared title terminologyphysics.chem-phBenjamin X. Shi, Kousuke Nakano, Dario Alfè et al.