arXiv Science⌕ Search

arXiv · 2610.21075

Data-Driven Optimization of Seminumerical Exchange for SIMD CPUs

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jesse DiCenso, Henryk Laqua, Martin Head-Gordon. 2026-10-15. Data-Driven Optimization of Seminumerical Exchange for SIMD CPUs. https://arxiv.org/abs/2610.21075

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Constrained Nuclear-Electronic Orbital Time-Dependent Density Functional Theory for Excited-State Dynamics with Nuclear Quantum Effects

Nuclear quantum effects can strongly influence excited-state processes involving light nuclei, yet their inclusion in practical molecular dynamics remains challenging. We develop constrained nuclear-electronic orbital time-dependent density functional theory (CNEO-TDDFT), which incorporates quantum-nuclear delocalization into full-dimensional effective excited-state potential energy surfaces while retaining the formal structure and computational scaling of conventional TDDFT. Analytic gradients are also developed, enabling efficient on-the-fly excited-state dynamics. CNEO-TDDFT substantially improves excited-state vibrational frequencies involving hydrogen motion and reduces the root-mean-square deviation from experiment from 113 cm$^{-1}$ to 26 cm$^{-1}$. For excited-state proton transfer in 10-hydroxybenzo[h]quinoline (HBQ), CNEO-TDDFT yields a characteristic transfer time of 14.0 fs, compared with 25.5 fs from conventional TDDFT, consistent with the experimentally inferred ultrafast timescale of 12$\pm$6 fs. These results establish CNEO-TDDFT as an accurate and efficient framework for excited-state dynamics with nuclear quantum effects.

physics.chem-ph↗

Energy Flow Shapes the Decomposition Dynamics of a Reactive Atmospheric Intermediate

The unimolecular dynamics of Criegee intermediates depend strongly on their internal energy, which can differ substantially between nascent atmospheric species and laboratory-prepared reactants. Here, the decomposition dynamics of {\it anti-}CH$_3$CHOO are investigated using molecular dynamics simulations on a neural network-based potential energy surface under thermal and mode-selective vibrational excitation. Simulations were performed at internal energies representative of those released during ozonolysis (chemical/thermal preparation, TP) or following vibrational excitation (VibEx) along the CH-stretching mode with two or three quanta, as can be done in laboratory studies. These excitation conditions strongly affect reaction yields and kinetics, with VibEx promoting passage across the initial cyclization barrier. For TP, 35 kcal/mol of internal energy are required to form molecular products, whereas for VibEx, 27 kcal/mol are sufficient. Although TP and VibEx ensembles access largely the same fragmentation pathways with comparable relative yields, the absolute product yields, characteristic timescales, and kinetic behavior differ substantially. Methyldioxirane is found to be a kinetic trap along the pathway. The resulting molecular-level description of {\it anti-}CH$_3$CHOO decomposition provides guidance for interpreting experiments and contributes to a broader understanding of energy-dependent Criegee-intermediate dynamics.

physics.chem-ph↗

$GW$ reduced density matrix from iterated linearized Dyson equation

Iterating the Dyson equation with the static part of the self-energy leads to a concise and possibly improved expression of the one-body reduced density matrix from any self-energy approximation. Here we apply the procedure to Hedin's $GW$ approximation. The non-iterated $GW$ based density matrix was already known to yield accurate density matrices for molecular systems. We show that the Dyson-equation-based procedure is equivalent to the so-called variational Z-vector approach applied to the Random-Phase approximation energy functional, but only in the case of a Hartree-Fock mean-field starting point. When a generalized Kohn-Sham scheme is employed instead, the two approaches differ. By comparing the density matrix for a benchmark set of 34 small molecules to coupled-cluster reference values, we conclude that the iterated Dyson equation indeed produces improved density matrices for molecular systems. Interestingly, we observe that the excitation rank of the reference coupled-cluster matters much and that the inclusion of triple excitations (CCSDT) quantitatively changes the conclusions of the benchmark as compared to single and double excitations coupled-cluster (CCSD).

physics.chem-ph↗