English

AutoHF: a general Hartree-Fock solver utilizing direct energy minimization with automatic differentiation

Strongly Correlated Electrons 2026-07-15 v1 Computational Physics

Abstract

We present autohf, a general, easy-to-use mean-field solver for quantum many-fermion Hamiltonians. It allows the user to bypass the process of deciphering the mean-field form for each many-body Hamiltonian HH and thus avoid setting up a tailored program for each HH. Rather, autohf finds the optimal Slater determinant Ψ|\Psi\rangle, written in terms of orbital coefficients and subject to symmetry constraints, by directly minimizing the variational energy H\langle H \rangle. By embracing this variational approach, autohf makes use of the growing power of automatic differentiation and optimization tools developed by the machine learning community.

Cite

@article{arxiv.2607.14263,
  title  = {AutoHF: a general Hartree-Fock solver utilizing direct energy minimization with automatic differentiation},
  author = {Ryan Levy and Brandon Eskridge and Lukas Weber and Miguel A. Morales and Shiwei Zhang},
  journal= {arXiv preprint arXiv:2607.14263},
  year   = {2026}
}