Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Concurrency and Computation Practice and Experience

Dynamic Schwarz Screening for GPU ‐Accelerated Fock Matrix Computation

Satoki Tsuji, Yasuaki Ito, Haruto Fujii, Nobuya Yokogawa, Kanta Suzuki, Koji Nakano, Victor Parque, Akihiko Kasagi

Published Apr 30, 2026• 0 citations
Publisher

Abstract

ABSTRACT In quantum chemistry, fundamental molecular orbital methods such as the Hartree–Fock theory are pragmatically constrained by the computational complexity behind two‐electron repulsion integrals (ERIs) encoding electron Coulomb interactions. Although the computational cost of ERIs roughly scales with the fourth power of the atom count in the target molecule, it can be reduced by screening techniques based on the Schwarz inequality. However, the Schwarz screening involves evaluating the necessity of computation for individual ERIs based on their upper bounds, which results in substantial overhead consuming most of the total computation time, especially for large‐sized molecules. To tackle this bottleneck, we propose a new dynamic screening algorithm and its efficient GPU implementation, which drastically reduces the number of upper bound evaluations. Our parallel algorithm can discard numerically insignificant ERIs without even evaluating their upper bounds by dynamic scheduling of thread blocks, allowing to traverse only the significant ERIs. The merits and performance of our GPU implementation has been evaluated through computational experiments using an NVIDIA A100/H200 GPU with a relevant set of low and medium molecular‐weight compounds. As a result, our dynamic screening reduces the Schwarz upper bound evaluations by up to and achieves a speedup of up to compared to examining the necessity of computation for all ERIs. Our work has the potential to further enhance the performance frontiers of GPU‐based large‐scale molecular quantum chemistry calculations.

DOI
10.1002/cpe.70583

Related papers

Dynamic Screening of Two-Electron Repulsion Integrals in GPU Parallelization

Satoki Tsuji, Yasuaki Ito, Haruto Fujii +4 more

Two-electron repulsion integrals (ERIs) are among the most foundational quantities for numerically solving the Schrödinger equation, accounting for the Coulomb interactions between electrons in a molecule. Calculating ERIs is a computationally intensive task of determining integral values for every combination of four atomic orbitals, which dominates the execution time of fundamental frameworks in quantum chemistry such as the Hartree-Fock method. It is known that the numerous ERI calculations can be significantly reduced using the Schwarz inequality. However, the Schwarz screening requires evaluating the upper bound for every integral value, leading to the time complexity comparable to the entire ERI calculations themselves. This paper proposes a dynamic screening algorithm that minimizes the number of the upper bound evaluations using the asynchronous parallelism of GPUs. Our parallel algorithm performed by dynamically scheduled CUDA blocks can discard most ERI calculations without even evaluating their upper bounds. Furthermore, by screening ERIs at the level of the finest integral units, primitive integrals, we reduce more integral calculations over coarse-grained screening. Experimental results for various molecules using an NVIDIA A100 GPU demonstrate that the proposed dynamic screening achieves up to an 18.0-fold speedup compared to the non-screening ERI computation while keeping the energy error below 1.0 × 10−7hartree.

International Symposium on Computing and Networking Workshops (CANDARW)•Nov 26, 2024•5 citations

Efficient GPU Implementation of the McMurchie–Davidson Method for Shell-Based ERI Computations

Haruto Fujii, Yasuaki Ito, Nobuya Yokogawa +5 more

Quantum chemistry offers the formal machinery to derive molecular and physical properties arising from (sub)atomic interactions. However, as molecules of practical interest are largely polyatomic, contemporary approximation schemes such as the Hartree–Fock scheme are computationally expensive due to the large number of electron repulsion integrals (ERIs). Central to the Hartree–Fock method is the efficient computation of ERIs over Gaussian functions (GTO-ERIs). Here, the well-known McMurchie–Davidson method (MD) offers an elegant formalism by incrementally extending Hermite Gaussian functions and auxiliary tabulated functions. Although the MD method offers a high degree of versatility to acceleration schemes through Graphics Processing Units (GPUs), the current GPU implementations limit the practical use of supported values of the azimuthal quantum number. In this paper, we propose a generalized framework capable of computing GTO-ERIs for arbitrary azimuthal quantum numbers, provided that the intermediate terms of the MD method can be stored. Our approach benefits from extending the MD recurrence relations through shells, batches, and triple-buffering of the shared memory, and ordering similar ERIs, thus enabling the effective parallelization and use of GPU resources. Furthermore, our approach proposes four GPU implementation schemes considering the suitable mappings between Gaussian basis and CUDA blocks and threads. Our computational experiments involving the GTO-ERI computations of molecules of interest on an NVIDIA A100 Tensor Core GPU (NVIDIA, Santa Clara, CA, USA) have revealed the merits of the proposed acceleration schemes in terms of computation time, including up to a 72× improvement over our previous GPU implementation and up to a 4500× speedup compared to a naive CPU implementation, highlighting the effectiveness of our method in accelerating ERI computations for both monatomic and polyatomic molecules. Our work has the potential to explore new parallelization schemes of distinct and complex computation paths involved in ERI computation.

Applied Sciences•Feb 27, 2025•6 citations

Efficient Evaluation of Coulomb Interactions for Large-Scale Quantum Chemistry

Rui Li

Evaluating the Coulomb interaction remains a fundamental computational bottleneck in electronic structure theory, dictating the scaling and efficiency of quantum chemical simulations. While recent advancements in graphics processing units (GPUs) offer immense theoretical peak performance, translating traditional, memory-intensive CPU algorithms for evaluating electron repulsion integrals to GPU architectures presents significant challenges due to memory bandwidth limitations and warp divergence. This thesis presents the development of algorithms to efficiently evaluate Coulomb interactions across diverse chemical systems. Chapter 2 describes the GPU implementation of Coulomb interaction for molecular systems at Hartree-Fock level of theory. Chapter 3 shows how multigrid Gaussian-Plane-Wave algorithm can better utilize GPU compute performance by a two-level parallelization scheme and grid-based screening of orbital pairs in the real space. Chapter 4 illustrates the issues of the original modified Coulomb potential from GFN-xTB in periodic systems, and the effectiveness of a new generalized Ewald summation scheme for the potential in X23 molecular crystal dataset and a range of prototypical bulk semiconductors.

•May 14, 2026•0 citations

GPU ‐Accelerated One‐Electron Integral Computation for Quantum Chemistry

Nobuya Yokogawa, Yasuaki Ito, Satoki Tsuji +5 more

ABSTRACT In Quantum chemical computation, numerical schemes such as the Hartree–Fock (HF) and density functional theory (DFT) are widely used to solve the Schrödinger equation numerically, to realize experiment‐free prediction and analysis of key molecular properties such as structure and energy. Computing one‐electron integrals, such as kinetic energy integrals and nuclear attraction integrals, is essential in both HF and DFT to characterize the molecular electronic states. However, as molecules of practical interest grow in size and angular momentum, computing one‐electron orbitals becomes computationally expensive in most cases. Although computing kinetic energy integrals on CPUs is straightforward, bottlenecks in CPU‐GPU data transfer have often been overlooked. In this study, we propose an efficient method to compute both the kinetic‐energy and nuclear‐attractive integrals on GPUs. First, we explicitly and symbolically expand recurrence relations based on the Obara–Saika and McMurchie–Davidson methods to eliminate redundant operations, thus improving computational efficiency. Second, we implemented a hybrid method that selects the best/fastest of both methods depending on the integration task. Third, we achieved further speedups by using CUDA streams to parallelize the execution of multiple kernels and efficiently utilize multiprocessor resources on the GPU. Computational experiments using NVIDIA A100 GPUs and Intel Xeon Gold 6338 CPU on relevant molecules of interest demonstrated the superiority of our one‐electron integral GPU implementations, achieving a speedup of 20.2 times over PySCF, and a speedup of 132.6 times over GPU4PySCF.

Concurrency and Computation Practice and Experience•Feb 20, 2026•0 citations

A Parallel Computation for McMurchie-Davidson Algorithm on the GPU

Haruto Fujii, Yasuaki Ito, Satoki Tsuji +4 more

The two-electron repulsion integral (ERI) is a fundamental component in quantum chemistry, involving the calculation of integrals over four basis functions. Quantum chemistry computations require O(M4) 4 ERI calculations for M basis functions, making ERI evaluations a significant bottleneck in these computations. In this paper, we propose an efficient GPU-based parallelization of the McMurchie-Davidson algorithm, which recursively computes ERI. Our method focuses on optimizing the computations by leveraging the shell parameter, which characterizes the shape of the basis functions. The results demonstrate that the shell-based optimization achieves a performance improvement of up to 15% compared to the nonoptimized approach.

Bulletin of Networking, Computing, Systems, and Software•Mar 14, 2025•0 citations

Introducing GPU Acceleration into the Python-Based Simulations of Chemistry Framework

Rui Li, Qiming Sun, Xing Zhang +1 more

High Resolution Image Download MS PowerPoint Slide We introduce the first version of GPU4PySCF, a module that provides GPU acceleration of methods in PySCF . As a core functionality, this provides a GPU implementation of two-electron repulsion integrals (ERIs) for contracted basis sets comprising up to g functions using the Rys quadrature. As an illustration of how this can accelerate a quantum chemistry workflow, we describe how to use the ERIs efficiently in the integral-direct Hartree–Fock build and nuclear gradient construction. Benchmark calculations show a significant speedup of 2 orders of magnitude with respect to the multithreaded CPU Hartree–Fock code of PySCF and the performance comparable to other open-source GPU-accelerated quantum chemical packages, including GAMESS and QUICK, on a single NVIDIA A100 GPU.

arXiv:2407.09700•The Journal of Physical Chemistry A•Jan 23, 2025•42 citations
ABSTRACT In quantum chemistry, fundamental molecular orbital methods such as the Hartree–Fock theory are pragmatically constrained by the computational complexity behind two‐electron repulsion integrals (ERIs) encoding electron Coulomb interactions. Although the computational cost of ERIs roughly scales with the fourth power of the atom count in the target molecule, it can be reduced by screening techniques based on the Schwarz inequality. However, the Schwarz screening involves evaluating the necessity of computation for individual ERIs based on their upper bounds, which results in substantial overhead consuming most of the total computation time, especially for large‐sized molecules. To tackle this bottleneck, we propose a new dynamic screening algorithm and its efficient GPU implementation, which drastically reduces the number of upper bound evaluations. Our parallel algorithm can discard numerically insignificant ERIs without even evaluating their upper bounds by dynamic scheduling of thread blocks, allowing to traverse only the significant ERIs. The merits and performance of our GPU implementation has been evaluated through computational experiments using an NVIDIA A100/H200 GPU with a relevant set of low and medium molecular‐weight compounds. As a result, our dynamic screening reduces the Schwarz upper bound evaluations by up to and achieves a speedup of up to compared to examining the necessity of computation for all ERIs. Our work has the potential to further enhance the performance frontiers of GPU‐based large‐scale molecular quantum chemistry calculations.
Two-electron repulsion integrals (ERIs) are among the most foundational quantities for numerically solving the Schrödinger equation, accounting for the Coulomb interactions between electrons in a molecule. Calculating ERIs is a computationally intensive task of determining integral values for every combination of four atomic orbitals, which dominates the execution time of fundamental frameworks in quantum chemistry such as the Hartree-Fock method. It is known that the numerous ERI calculations can be significantly reduced using the Schwarz inequality. However, the Schwarz screening requires evaluating the upper bound for every integral value, leading to the time complexity comparable to the entire ERI calculations themselves. This paper proposes a dynamic screening algorithm that minimizes the number of the upper bound evaluations using the asynchronous parallelism of GPUs. Our parallel algorithm performed by dynamically scheduled CUDA blocks can discard most ERI calculations without even evaluating their upper bounds. Furthermore, by screening ERIs at the level of the finest integral units, primitive integrals, we reduce more integral calculations over coarse-grained screening. Experimental results for various molecules using an NVIDIA A100 GPU demonstrate that the proposed dynamic screening achieves up to an 18.0-fold speedup compared to the non-screening ERI computation while keeping the energy error below 1.0 × 10−7hartree.
Quantum chemistry offers the formal machinery to derive molecular and physical properties arising from (sub)atomic interactions. However, as molecules of practical interest are largely polyatomic, contemporary approximation schemes such as the Hartree–Fock scheme are computationally expensive due to the large number of electron repulsion integrals (ERIs). Central to the Hartree–Fock method is the efficient computation of ERIs over Gaussian functions (GTO-ERIs). Here, the well-known McMurchie–Davidson method (MD) offers an elegant formalism by incrementally extending Hermite Gaussian functions and auxiliary tabulated functions. Although the MD method offers a high degree of versatility to acceleration schemes through Graphics Processing Units (GPUs), the current GPU implementations limit the practical use of supported values of the azimuthal quantum number. In this paper, we propose a generalized framework capable of computing GTO-ERIs for arbitrary azimuthal quantum numbers, provided that the intermediate terms of the MD method can be stored. Our approach benefits from extending the MD recurrence relations through shells, batches, and triple-buffering of the shared memory, and ordering similar ERIs, thus enabling the effective parallelization and use of GPU resources. Furthermore, our approach proposes four GPU implementation schemes considering the suitable mappings between Gaussian basis and CUDA blocks and threads. Our computational experiments involving the GTO-ERI computations of molecules of interest on an NVIDIA A100 Tensor Core GPU (NVIDIA, Santa Clara, CA, USA) have revealed the merits of the proposed acceleration schemes in terms of computation time, including up to a 72× improvement over our previous GPU implementation and up to a 4500× speedup compared to a naive CPU implementation, highlighting the effectiveness of our method in accelerating ERI computations for both monatomic and polyatomic molecules. Our work has the potential to explore new parallelization schemes of distinct and complex computation paths involved in ERI computation.
Evaluating the Coulomb interaction remains a fundamental computational bottleneck in electronic structure theory, dictating the scaling and efficiency of quantum chemical simulations. While recent advancements in graphics processing units (GPUs) offer immense theoretical peak performance, translating traditional, memory-intensive CPU algorithms for evaluating electron repulsion integrals to GPU architectures presents significant challenges due to memory bandwidth limitations and warp divergence. This thesis presents the development of algorithms to efficiently evaluate Coulomb interactions across diverse chemical systems. Chapter 2 describes the GPU implementation of Coulomb interaction for molecular systems at Hartree-Fock level of theory. Chapter 3 shows how multigrid Gaussian-Plane-Wave algorithm can better utilize GPU compute performance by a two-level parallelization scheme and grid-based screening of orbital pairs in the real space. Chapter 4 illustrates the issues of the original modified Coulomb potential from GFN-xTB in periodic systems, and the effectiveness of a new generalized Ewald summation scheme for the potential in X23 molecular crystal dataset and a range of prototypical bulk semiconductors.
ABSTRACT In Quantum chemical computation, numerical schemes such as the Hartree–Fock (HF) and density functional theory (DFT) are widely used to solve the Schrödinger equation numerically, to realize experiment‐free prediction and analysis of key molecular properties such as structure and energy. Computing one‐electron integrals, such as kinetic energy integrals and nuclear attraction integrals, is essential in both HF and DFT to characterize the molecular electronic states. However, as molecules of practical interest grow in size and angular momentum, computing one‐electron orbitals becomes computationally expensive in most cases. Although computing kinetic energy integrals on CPUs is straightforward, bottlenecks in CPU‐GPU data transfer have often been overlooked. In this study, we propose an efficient method to compute both the kinetic‐energy and nuclear‐attractive integrals on GPUs. First, we explicitly and symbolically expand recurrence relations based on the Obara–Saika and McMurchie–Davidson methods to eliminate redundant operations, thus improving computational efficiency. Second, we implemented a hybrid method that selects the best/fastest of both methods depending on the integration task. Third, we achieved further speedups by using CUDA streams to parallelize the execution of multiple kernels and efficiently utilize multiprocessor resources on the GPU. Computational experiments using NVIDIA A100 GPUs and Intel Xeon Gold 6338 CPU on relevant molecules of interest demonstrated the superiority of our one‐electron integral GPU implementations, achieving a speedup of 20.2 times over PySCF, and a speedup of 132.6 times over GPU4PySCF.
The two-electron repulsion integral (ERI) is a fundamental component in quantum chemistry, involving the calculation of integrals over four basis functions. Quantum chemistry computations require O(M4) 4 ERI calculations for M basis functions, making ERI evaluations a significant bottleneck in these computations. In this paper, we propose an efficient GPU-based parallelization of the McMurchie-Davidson algorithm, which recursively computes ERI. Our method focuses on optimizing the computations by leveraging the shell parameter, which characterizes the shape of the basis functions. The results demonstrate that the shell-based optimization achieves a performance improvement of up to 15% compared to the nonoptimized approach.
High Resolution Image Download MS PowerPoint Slide We introduce the first version of GPU4PySCF, a module that provides GPU acceleration of methods in PySCF . As a core functionality, this provides a GPU implementation of two-electron repulsion integrals (ERIs) for contracted basis sets comprising up to g functions using the Rys quadrature. As an illustration of how this can accelerate a quantum chemistry workflow, we describe how to use the ERIs efficiently in the integral-direct Hartree–Fock build and nuclear gradient construction. Benchmark calculations show a significant speedup of 2 orders of magnitude with respect to the multithreaded CPU Hartree–Fock code of PySCF and the performance comparable to other open-source GPU-accelerated quantum chemical packages, including GAMESS and QUICK, on a single NVIDIA A100 GPU.