Machine Learning Hamiltonians are Accurate Energy-Force Predictors
Abstract
Lay Summary
Predicting how molecules move and react is important for designing new medicines, batteries, and materials, but accurate quantum chemistry calculations can be very slow. Many machine learning models try to speed this up by directly predicting final quantities such as a molecule’s energy or the forces on its atoms. In this work, we take a different approach: we train AI to predict a key part of the molecule’s electronic structure, called the Hamiltonian, which describes how electrons behave in the molecule. Our model, QHFlow2, predicts Hamiltonians more accurately than previous methods. From this prediction, we can compute energies and forces, while also accessing electronic information such as molecular orbitals, electron density, and chemical reactivity trends. This makes the model useful not only for molecular simulation, but also for understanding why a molecule is stable or reactive. Our experiments show that QHFlow2 reaches force accuracy comparable to strong energy-force models, while giving much more accurate energies on several molecular benchmarks. It can also provide better starting points for conventional quantum chemistry software, reducing expensive iterative computation. Overall, our work suggests that teaching AI to predict electronic structure through Hamiltonians can lead to molecular modeling tools that are both accurate and more informative for chemical analysis.