Automatic Differentiation for Orbital-Free Density Functional Theory

Chuin Wei Tan, Chris J. Pickard, William C. Witt
12/6/2022
physics.comp-phcond-mat.mtrl-sci

Official code: profess-dev/profess-ad (12 stars, Python, MIT, PyTorch, last commit 2026-08-07).

Abstract

Differentiable programming has facilitated numerous methodological advances in scientific computing. Physics engines supporting automatic differentiation have simpler code, accelerating the development process and reducing the maintenance burden.

Show full abstract

Furthermore, fully-differentiable simulation tools enable direct evaluation of challenging derivatives - including those directly related to properties measurable by experiment - that are conventionally computed with finite difference methods. Here, we investigate automatic differentiation in the context of orbital-free density functional theory (OFDFT) simulations of materials, introducing PROFESS-AD. Its automatic evaluation of properties derived from first derivatives, including functional potentials, forces, and stresses, facilitates the development and testing of new density functionals, while its direct evaluation of properties requiring higher-order derivatives, such as bulk moduli, elastic constants, and force constants, offers more concise implementations compared to conventional finite difference methods. For these reasons, PROFESS-AD serves as an excellent prototyping tool and provides new opportunities for OFDFT.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

PyTorch-based auto-differentiable orbital-free density functional theory package

120Python, CMakeJul 6, 20223 months agoMIT
automatic-differentiationdensity-functional-theorypytorch

Similar Papers

Cite this paper

@article{tan2022automatic,
  title  = {Automatic Differentiation for Orbital-Free Density Functional Theory},
  author = {Chuin Wei Tan and Chris J. Pickard and William C. Witt},
  year   = {2022},
  eprint = {2212.03231},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.03231}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.03231.svg)](https://codeofpaper.com/paper/2212.03231)

Discussion