Designing quantum chemistry algorithms with just-in-time compilation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wu, Xiaojie, Sun, Qiming, Wang, Yuanheng
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911460482875392
author Wu, Xiaojie
Sun, Qiming
Wang, Yuanheng
author_facet Wu, Xiaojie
Sun, Qiming
Wang, Yuanheng
contents We introduce just-in-time (JIT) compilation to the integral kernels for Gaussian-type orbitals (GTOs) to enhance the efficiency of electron repulsion integral computations. For Coulomb and exchange (JK) matrices, JIT-based algorithms yield a 2x speedup for the small 6-31G* basis set over GPU4PySCF v1.4 on an NVIDIA A100-80G GPU. By incorporating a novel algorithm designed for orbitals with high angular momentum, the efficiency of JK evaluations with the large def2-TZVPP basis set is improved by up to 4x. The core CUDA implementation is compact, comprising only ~1,000 lines of code, including support for single-precision arithmetic. Furthermore, the single-precision implementation achieves a 3x speedup over the previous state-of-the-art.
format Preprint
id arxiv_https___arxiv_org_abs_2507_09772
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Designing quantum chemistry algorithms with just-in-time compilation
Wu, Xiaojie
Sun, Qiming
Wang, Yuanheng
Computational Physics
Numerical Analysis
We introduce just-in-time (JIT) compilation to the integral kernels for Gaussian-type orbitals (GTOs) to enhance the efficiency of electron repulsion integral computations. For Coulomb and exchange (JK) matrices, JIT-based algorithms yield a 2x speedup for the small 6-31G* basis set over GPU4PySCF v1.4 on an NVIDIA A100-80G GPU. By incorporating a novel algorithm designed for orbitals with high angular momentum, the efficiency of JK evaluations with the large def2-TZVPP basis set is improved by up to 4x. The core CUDA implementation is compact, comprising only ~1,000 lines of code, including support for single-precision arithmetic. Furthermore, the single-precision implementation achieves a 3x speedup over the previous state-of-the-art.
title Designing quantum chemistry algorithms with just-in-time compilation
topic Computational Physics
Numerical Analysis
url https://arxiv.org/abs/2507.09772