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

arXiv:2506.06661 · APL Computational Physics

Enhancing PySCF-based quantum chemistry simulations with modern hardware, algorithms, and Python tools

Zhichen Pu, Qiming Sun

Published Sep 1, 2025• 16 citations
arXivHTMLPDF

Abstract

The PySCF package has emerged as a powerful and flexible open-source platform for quantum chemistry simulations. However, the efficiency of electronic structure calculations can vary significantly depending on the choice of computational techniques and hardware utilization. In this paper, we explore strategies to enhance research productivity and computational performance in PySCF-based simulations. First, we discuss graphics processing unit acceleration for selected PySCF modules. Second, we demonstrate algorithmic optimizations for particular computational tasks, such as initial guess manipulation, second-order self-consistent field methods, multigrid integration, and density fitting approximation, to improve convergence rates and computational efficiency. Finally, we explore the use of modern Python tools, including just-in-time compilation and automatic differentiation, to accelerate code development and execution. These approaches present a practical guide for enhancing the use of PySCF’s capabilities in quantum chemistry research.

DOI
10.1063/5.0285025

Related papers

Python-Based Quantum Chemistry Software in the Era of Quantum Computing: Educational Tools, Platforms, and Research Integration for 2025

Cyprian Moyo

This presentation was given at the 45th SACI National Convention of the South African Chemical Institute, themed “Chemistry: A Window for Change.” It surveys Python-based quantum chemistry software in 2025 and asks how GPU acceleration, cloud access to quantum hardware, and interactive teaching platforms can be brought into chemistry education and research, especially in African institutions. Contents: Foundations. The quantum mechanical basis of computational chemistry and its main approximations: Born–Oppenheimer, Hartree–Fock, DFT, perturbation theory and coupled cluster. How method and basis set together define a “level of theory.” Where computational and data-driven chemistry sit among the paradigms of science, from empirical through computational to data-driven and AI. The software landscape. Quantum chemistry codes available through South Africa’s Centre for High Performance Computing (CHPC), and the Python ecosystem around MolSSI QCArchive (QCEngine, QCFractal, QCPortal). These give students one interface that works across many electronic-structure programs. Why quantum computing. The caffeine example shows how exact molecular simulation quickly outgrows classical resources, which motivates qubit-based approaches. The talk compares major quantum hardware and cloud providers on educational access and African partnerships, and gives an overview of Africa’s software-first quantum strategy. GPU-accelerated quantum chemistry. GPU4PySCF (v1.4.0, April 2025): reported speedups of up to about 1000× for density-fitting algorithms over single-core PySCF, and 20–50× for general DFT over a 32-core CPU node. CPU–GPU switching through to_gpu() / to_cpu(), and example applications. Educational platforms and pedagogy. Cloud quantum education programmes (IBM Quantum, Microsoft Azure Quantum, Google Quantum AI, QubitxQubit), interactive Jupyter-based teaching (eChem), and the main barriers to teaching quantum chemistry with matching technological fixes. A staged learning pathway runs from traditional theory through Python, interactive notebooks, GPU computing and real quantum hardware (e.g., VQE) to research integration. Applications and outlook. Industry case studies in drug discovery, energy and materials. Strategic recommendations for bringing GPU acceleration, quantum hardware access and proven educational platforms into quantum chemistry training. Author: Cyprian B. Moyo, Nelson Mandela University and National Institute for Theoretical and Computational Sciences (NITheCS), South Africa. Acknowledgements: CHPC/NICIS, NITheCS, the Wits Quantum Initiative (WitsQ), and IBM Quantum.

•Nov 12, 2026•0 citations

The Python Simulations of Chemistry Framework: 10 years of an open-source quantum chemistry project

Qiming Sun, Matthew R Hermes, Xiaojie Wu +100 more

Over the past decade, the Python-based Simulations of Chemistry Framework (PySCF) has developed into a widely used open-source platform for electronic structure theory and quantum chemical method development. This article reviews the major advances since the previous overview in 2020, covering new modules and methodology, infrastructure changes, and performance benchmarks.

physics.chem-phCross-listedarXiv:2603.14155•Mar 17, 2026

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•78 citations

Quantum computing library for quantum chemistry applications

Konstantin M. Makushin, Mariia D. Sapova, Aleksey K. Fedorov

Abstract Quantum computing is aimed to solve tasks, which are believed to be exponentially hard to existing computational devices and tools. A prominent example of such classically hard problems is simulating complex quantum many-body systems, in particular, for quantum chemistry. However, solving realistic quantum chemistry problems with quantum computers encounters various difficulties, which are related, first, to limited computational capabilities of existing quantum devices and, second, to the efficiency of algorithmic approaches. In the present work, we address the algorithmic side of quantum chemistry applications by introducing a Python 3 code library, whose primary objective is to speed up the development of variational quantum algorithms for electronic structure problems. We describe the various features and capabilities of this library, including its ease in constructing customized versions of variational quantum algorithms. We elucidate how the developed library allows one to design quantum circuits and enable for the efficient execution of quantum algorithms. Furthermore, the library facilitates the integration of classical and quantum algorithms for hybrid computations and helps to realize the cross-verification of data with traditional computational methods, thereby enhancing the overall reliability of quantum chemistry simulations.

Journal of Physics Conference Series•Feb 1, 2024•5 citations

DQC: A Python program package for differentiable quantum chemistry

Muhammad Kasim, Susi Lehtola, Sam M. Vinko

Automatic differentiation represents a paradigm shift in scientific programming, where evaluating both functions and their derivatives is required for most applications. By removing the need to explicitly derive expressions for gradients, development times can be shortened and calculations can be simplified. For these reasons, automatic differentiation has fueled the rapid growth of a variety of sophisticated machine learning techniques over the past decade, but is now also increasingly showing its value to support ab initio simulations of quantum systems and enhance computational quantum chemistry. Here, we present an open-source differentiable quantum chemistry simulation code and explore applications facilitated by automatic differentiation: (1) calculating molecular perturbation properties, (2) reoptimizing a basis set for hydrocarbons, (3) checking the stability of self-consistent field wave functions, and (4) predicting molecular properties via alchemical perturbations.

arXiv:2110.11678•The Journal of Chemical Physics•Feb 22, 2022•59 citations

PyQMC: An all-Python real-space quantum Monte Carlo module in PySCF

William A. Wheeler, Shivesh Pathak, Kevin G. Kleiner +11 more

We describe a new open-source Python-based package for high accuracy correlated electron calculations using quantum Monte Carlo (QMC) in real space: PyQMC. PyQMC implements modern versions of QMC algorithms in an accessible format, enabling algorithmic development and easy implementation of complex workflows. Tight integration with the PySCF environment allows for a simple comparison between QMC calculations and other many-body wave function techniques, as well as access to high accuracy trial wave functions.

arXiv:2212.01482•The Journal of Chemical Physics•Mar 17, 2023•21 citations
The PySCF package has emerged as a powerful and flexible open-source platform for quantum chemistry simulations. However, the efficiency of electronic structure calculations can vary significantly depending on the choice of computational techniques and hardware utilization. In this paper, we explore strategies to enhance research productivity and computational performance in PySCF-based simulations. First, we discuss graphics processing unit acceleration for selected PySCF modules. Second, we demonstrate algorithmic optimizations for particular computational tasks, such as initial guess manipulation, second-order self-consistent field methods, multigrid integration, and density fitting approximation, to improve convergence rates and computational efficiency. Finally, we explore the use of modern Python tools, including just-in-time compilation and automatic differentiation, to accelerate code development and execution. These approaches present a practical guide for enhancing the use of PySCF’s capabilities in quantum chemistry research.
This presentation was given at the 45th SACI National Convention of the South African Chemical Institute, themed “Chemistry: A Window for Change.” It surveys Python-based quantum chemistry software in 2025 and asks how GPU acceleration, cloud access to quantum hardware, and interactive teaching platforms can be brought into chemistry education and research, especially in African institutions. Contents: Foundations. The quantum mechanical basis of computational chemistry and its main approximations: Born–Oppenheimer, Hartree–Fock, DFT, perturbation theory and coupled cluster. How method and basis set together define a “level of theory.” Where computational and data-driven chemistry sit among the paradigms of science, from empirical through computational to data-driven and AI. The software landscape. Quantum chemistry codes available through South Africa’s Centre for High Performance Computing (CHPC), and the Python ecosystem around MolSSI QCArchive (QCEngine, QCFractal, QCPortal). These give students one interface that works across many electronic-structure programs. Why quantum computing. The caffeine example shows how exact molecular simulation quickly outgrows classical resources, which motivates qubit-based approaches. The talk compares major quantum hardware and cloud providers on educational access and African partnerships, and gives an overview of Africa’s software-first quantum strategy. GPU-accelerated quantum chemistry. GPU4PySCF (v1.4.0, April 2025): reported speedups of up to about 1000× for density-fitting algorithms over single-core PySCF, and 20–50× for general DFT over a 32-core CPU node. CPU–GPU switching through to_gpu() / to_cpu(), and example applications. Educational platforms and pedagogy. Cloud quantum education programmes (IBM Quantum, Microsoft Azure Quantum, Google Quantum AI, QubitxQubit), interactive Jupyter-based teaching (eChem), and the main barriers to teaching quantum chemistry with matching technological fixes. A staged learning pathway runs from traditional theory through Python, interactive notebooks, GPU computing and real quantum hardware (e.g., VQE) to research integration. Applications and outlook. Industry case studies in drug discovery, energy and materials. Strategic recommendations for bringing GPU acceleration, quantum hardware access and proven educational platforms into quantum chemistry training. Author: Cyprian B. Moyo, Nelson Mandela University and National Institute for Theoretical and Computational Sciences (NITheCS), South Africa. Acknowledgements: CHPC/NICIS, NITheCS, the Wits Quantum Initiative (WitsQ), and IBM Quantum.
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.
Abstract Quantum computing is aimed to solve tasks, which are believed to be exponentially hard to existing computational devices and tools. A prominent example of such classically hard problems is simulating complex quantum many-body systems, in particular, for quantum chemistry. However, solving realistic quantum chemistry problems with quantum computers encounters various difficulties, which are related, first, to limited computational capabilities of existing quantum devices and, second, to the efficiency of algorithmic approaches. In the present work, we address the algorithmic side of quantum chemistry applications by introducing a Python 3 code library, whose primary objective is to speed up the development of variational quantum algorithms for electronic structure problems. We describe the various features and capabilities of this library, including its ease in constructing customized versions of variational quantum algorithms. We elucidate how the developed library allows one to design quantum circuits and enable for the efficient execution of quantum algorithms. Furthermore, the library facilitates the integration of classical and quantum algorithms for hybrid computations and helps to realize the cross-verification of data with traditional computational methods, thereby enhancing the overall reliability of quantum chemistry simulations.
Automatic differentiation represents a paradigm shift in scientific programming, where evaluating both functions and their derivatives is required for most applications. By removing the need to explicitly derive expressions for gradients, development times can be shortened and calculations can be simplified. For these reasons, automatic differentiation has fueled the rapid growth of a variety of sophisticated machine learning techniques over the past decade, but is now also increasingly showing its value to support ab initio simulations of quantum systems and enhance computational quantum chemistry. Here, we present an open-source differentiable quantum chemistry simulation code and explore applications facilitated by automatic differentiation: (1) calculating molecular perturbation properties, (2) reoptimizing a basis set for hydrocarbons, (3) checking the stability of self-consistent field wave functions, and (4) predicting molecular properties via alchemical perturbations.
We describe a new open-source Python-based package for high accuracy correlated electron calculations using quantum Monte Carlo (QMC) in real space: PyQMC. PyQMC implements modern versions of QMC algorithms in an accessible format, enabling algorithmic development and easy implementation of complex workflows. Tight integration with the PySCF environment allows for a simple comparison between QMC calculations and other many-body wave function techniques, as well as access to high accuracy trial wave functions.