The Power of Hellmann–Feynman Theorem: Kohn–Sham DFT Energy Derivatives with Respect to the Parameters of the Exchange-Correlation Functional at Linear Cost
- 14 July 2025
- journal article
- Published by American Chemical Society (ACS) in The Journal of Physical Chemistry A
- Vol. 129 (29) , 6694-6702
Abstract
Efficient methods for computing derivatives with respect to the parameters of scientific models are crucial for applications in machine learning. These methods are important when training is done using gradient-based optimization algorithms or when the model is integrated with deep learning, as they help speed up calculations during the backpropagation pass. In the present work, we applied the Hellmann-Feynman theorem to calculate the derivatives of the Kohn-Sham DFT energies with respect to the parameters of the exchange-correlation functional. This approach was implemented in a prototype program on the basis of Python package PySCF. Using the LDA and GGA functionals as examples, we have shown that this approach scales approximately linear with the system size for a series of n-alkanes (CnH2n+2, n = 4...64) with a double-zeta basis set. We demonstrated a significant speedup in the derivative calculations in comparison with the widely used automatic differentiation approach such as PyTorch-based DQC, which has a computational complexity of .
Keywords
All Related Versions
Funding Information
- Russian Federal Ministry of Science and Higher Education (FWGF-2021-0002)
This publication has 67 references indexed in Scilit:
- Density functional theory and enzyme studies support interactions between angiotensin receptor blockers and angiotensin converting enzyme-2: Relevance to coronavirus 2019Bioorganic Chemistry, 2024
- The conceptual power of the Hellmann–Feynman theoremStructural Chemistry, 2022
- MCML: Combining physical constraints with experimental data for a multi‐purpose meta‐generalized gradient approximationJournal of Computational Chemistry, 2021
- PySCF: the Python‐based simulations of chemistry frameworkWIREs Computational Molecular Science, 2017
- Software update: the ORCA program system, version 4.0WIREs Computational Molecular Science, 2017
- Challenges in large scale quantum mechanical calculationsWIREs Computational Molecular Science, 2016
- Effect of the damping function in dispersion corrected density functional theoryJournal of Computational Chemistry, 2011
- Sensitivity analysis and uncertainty calculation for dispersion corrected density functional theoryJournal of Computational Chemistry, 2011
- Semiempirical GGA‐type density functional constructed with a long‐range dispersion correctionJournal of Computational Chemistry, 2006
- Kohn—Sham density-functional theory within a finite basis setChemical Physics Letters, 1992