DOE PAGES title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Quantum Perturbation Theory Using Tensor Cores and a Deep Neural Network

Journal Article · · Journal of Chemical Theory and Computation

In this work, time-independent quantum response calculations are performed using Tensor cores. This is achieved by mapping density matrix perturbation theory onto the computational structure of a deep neural network. The main computational cost of each deep layer is dominated by tensor contractions, i.e., dense matrix–matrix multiplications, in mixed-precision arithmetics, which achieves close to peak performance. Quantum response calculations are demonstrated and analyzed using self-consistent charge density-functional tight-binding theory as well as coupled-perturbed Hartree–Fock theory. For linear response calculations, a novel parameter-free convergence criterion is presented that is well-suited for numerically noisy low-precision floating point operations and we demonstrate a peak performance of almost 200 Tflops using the Tensor cores of two Nvidia A100 GPUs.

Research Organization:
Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)
Sponsoring Organization:
USDOE Laboratory Directed Research and Development (LDRD) Program; USDOE National Nuclear Security Administration (NNSA)
Grant/Contract Number:
89233218CNA000001
OSTI ID:
1883152
Report Number(s):
LA-UR-22-21647
Journal Information:
Journal of Chemical Theory and Computation, Journal Name: Journal of Chemical Theory and Computation Journal Issue: 7 Vol. 18; ISSN 1549-9618
Publisher:
American Chemical SocietyCopyright Statement
Country of Publication:
United States
Language:
English

References (67)

A Self-Consistent Charge Density-Functional Based Tight-Binding Method for Predictive Materials Simulations in Physics, Chemistry and Biology journal January 2000
Quantisierung als Eigenwertproblem journal January 1926
369 Tflop/s molecular dynamics simulations on the petaflop hybrid supercomputer ‘Roadrunner’
  • Germann, Timothy C.; Kadau, Kai; Swaminarayan, Sriram
  • Concurrency and Computation: Practice and Experience, Vol. 21, Issue 17 https://doi.org/10.1002/cpe.1483
journal December 2009
Accelerating VASP electronic structure calculations using graphic processing units journal August 2012
Derivative studies in hartree-fock and møller-plesset theories journal March 1979
Iterative Berechung der reziproken Matrix journal January 1933
Density Functional Theory book January 1990
N�herungsmethode zur L�sung des quantenmechanischen Mehrk�rperproblems journal January 1930
�ber den Grundterm der Zweielektronenprobleme von H?, He, Li+, Be++ usw. journal March 1930
A reformulation of the coupled perturbed self-consistent field equations entirely within a local atomic orbital density matrix-based scheme journal May 1997
GPU acceleration of all-electron electronic structure theory using localized numeric atom-centered basis functions journal September 2020
Efficient parallel linear scaling method to get the response density matrix in all-electron real-space density-functional perturbation theory journal January 2021
Many-core acceleration of the first-principles all-electron quantum perturbation calculations journal October 2021
GPU-accelerated molecular modeling coming of age journal September 2010
Ergo: An open-source program for linear-scaling electronic structure calculations journal January 2018
Editorial: Modern Architectures and Their Impact on Electronic Structure Theory journal September 2020
Graphics Processing Unit-Accelerated Semiempirical Born Oppenheimer Molecular Dynamics Using PyTorch journal July 2020
Mixed Precision Fermi-Operator Expansion on Tensor Cores from a Machine Learning Perspective journal April 2021
Quantum-Based Molecular Dynamics Simulations Using Tensor Cores journal October 2021
Quantum Chemistry for Solvated Molecules on Graphical Processing Units Using Polarizable Continuum Models journal June 2015
Recursive Factorization of the Inverse Overlap Matrix in Linear-Scaling Quantum Molecular Dynamics Simulations journal June 2016
Parameterless Stopping Criteria for Recursive Density Matrix Expansions journal November 2016
Dynamic Precision for Electron Repulsion Integral Evaluation on Graphical Processing Units (GPUs) journal March 2011
Nonmonotonic Recursive Polynomial Expansions for Linear Scaling Calculation of the Density Matrix journal April 2011
GPU Linear Algebra Libraries and GPGPU Programming for Accelerating MOPAC Semiempirical Quantum Chemistry Calculations
  • Maia, Julio Daniel Carvalho; Urquiza Carvalho, Gabriel Aires; Mangueira, Carlos Peixoto
  • Journal of Chemical Theory and Computation, Vol. 8, Issue 9 https://doi.org/10.1021/ct3004645
journal August 2012
Quantum Chemistry on Graphical Processing Units. 1. Strategies for Two-Electron Integral Evaluation journal January 2008
Quantum Chemistry on Graphical Processing Units. 2. Direct Self-Consistent-Field Implementation journal March 2009
Quantum Chemistry on Graphical Processing Units. 3. Analytical Energy Gradients, Geometry Optimization, and First Principles Molecular Dynamics journal August 2009
Perturbed Hartree—Fock Calculations. I. Magnetic Susceptibility and Shielding in the LiH Molecule journal January 1963
Higher-order response in O(N) by perturbed projection journal July 2005
Nonorthogonal density-matrix perturbation theory journal July 2005
Linear scaling density matrix perturbation theory for basis-set-dependent quantum response calculations: An orthogonal formulation journal August 2007
Recursive inverse factorization journal March 2008
Density functional theory calculation on many-cores hybrid central processing unit-graphic processing unit architectures journal July 2009
DFTB+, a software package for efficient approximate density functional theory based atomistic simulations journal March 2020
Notes on density matrix perturbation theory journal October 2020
Linear scaling electronic structure calculations with numerical atomic basis set journal September 2010
\mathcal{O}(N) methods in electronic structure calculations journal February 2012
Localized inverse factorization journal April 2020
The density matrix in self-consistent field theory I. Iterative construction of the density matrix journal June 1956
Mixed-precision iterative refinement using tensor cores on GPUs to accelerate solution of linear systems
  • Haidar, Azzam; Bayraktar, Harun; Tomov, Stanimire
  • Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, Vol. 476, Issue 2243 https://doi.org/10.1098/rspa.2020.0110
journal November 2020
Simulation of Quantum Many-Body Dynamics with Tensor Processing Units: Floquet Prethermalization journal May 2022
Perturbation Theory for the Fock-Dirac Density Matrix journal May 1962
Electronic Polarizabilities of Ions from the Hartree-Fock Wave Functions journal November 1954
Theory of polarization of crystalline solids journal January 1993
Construction of tight-binding-like potentials on the basis of density-functional theory: Application to carbon journal May 1995
Self-consistent-charge density-functional tight-binding method for simulations of complex materials properties journal September 1998
Expansion algorithm for the density matrix journal October 2002
Inhomogeneous Electron Gas journal March 1973
Iterative refinement method for the approximate factorization of a matrix inverse journal November 2004
Canonical density matrix perturbation theory journal December 2015
Green’s-function approach to linear response in solids journal May 1987
Crystal Structures of Zirconia from First Principles and Self-Consistent Tight Binding journal December 1998
Density Matrix Perturbation Theory journal May 2004
Ab Initio Linear Scaling Response Theory: Electric Polarizability by Perturbed Projection journal May 2004
New Developments in Molecular Orbital Theory journal April 1951
Weak Interactions in Molecular Quantum Mechanics journal April 1960
Phonons and related crystal properties from density-functional perturbation theory journal July 2001
Fast Batched Matrix Multiplication for Small Sizes Using Half-Precision Arithmetic on GPUs conference May 2019
NVIDIA Tensor Core Programmability, Performance & Precision conference May 2018
Functions of Matrices book January 2008
Interior Eigenvalues from Density Matrix Expansions in Quantum Mechanical Molecular Dynamics journal January 2014
A Chain Rule for Matrix Functions and Applications journal July 1996
A Sparse Approximate Inverse Preconditioner for the Conjugate Gradient Method journal September 1996
Extreme-scale ab initio quantum raman spectra simulations on the leadership HPC system in China conference November 2021
Macroscopic Electric Polarization as a Geometric Quantum Phase journal April 1993
Numerical behavior of NVIDIA tensor cores journal January 2021