Data-Driven Optimization of Seminumerical Exchange for SIMD CPUs
Jesse DiCenso, Henryk Laqua, Martin Head-Gordon
Key points
From the paper's conclusion- We present a seminumerical exchange algorithm (SNK) based on the sn-LinK method [Laqua et al., J.
Abstract
We present a seminumerical exchange algorithm (SNK) based on the sn-LinK method [Laqua et al., J. Chem. Theory Comput. 16, 1456 (2020)], optimized for modern multi-core central processing units with single instruction multiple data vector instructions and report its implementation into the Q-Chem quantum chemistry program. Vectorization and memory management strategies for the Boys function and 3-center-1-electron (3c1e) integral kernels are given. Several new considerations are made in the computation of the 3c1e integrals: the Head-Gordon Pople horizontal recurrence relations, same-center optimizations, and multishell optimizations, all implemented symbolically employing the SymPy symbolic algebra library and exported as optimized C++ code leveraging common-sub-expression elimination (CSE) optimization techniques. A general scheme for choosing optimal integral kernels is developed through rigorous timing benchmarks. The resulting implementation is tested against traditional 4c2e exchange for several systems and basis sets, showing 1-2 orders of magnitude speedups for systems of practically relevant sizes (100-500 atoms, 2000-10000 basis functions). For smaller molecules, comparisons are also made against the more efficient occ-RI-K method showing a break-even point around 50-100 atoms beyond which SNK dramatically outperforms due to its superior sub-quadratic (between linear and quadratic) time complexity as well as its effectively negligible memory demand.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Portable GPU Acceleration of snMECP+COSx via Algorithm-Architecture Codesign.The journal of physical chemistry. A · 2026
- PyFock: A Just-In-Time Compiled Gaussian Basis DFT Python Code for CPU and GPU Architectures.The journal of physical chemistry. A · 2026
- AI-Assisted GPU optimization of the Stochastic Variational Method for Few-Body Boson SystemarXiv · 2026
- Compensated Grid-Based Hybrid Exchange - A Simple, Accurate, Efficient, and Differentiable Recipe for Large-Scale Molecular SystemsarXiv · 2026
- Low-Rank Inversion for Single-Node 10,000-Atom Plane-Wave GW Calculations.Physical review letters · 2026
- The $S$ and Double-Exponential Transformations with a Moment Expansion for Three-Centre Coulomb and Hybrid IntegralsarXiv · 2026