High-order Equivariant Flow Matching for Density Functional Theory Hamiltonian Prediction
Seongsu Kim, Nayoung Kim, Dongwoo Kim, Sungsoo Ahn
TL;DR
QHFlow reframes Hamiltonian prediction for KS-DFT as learning a distribution over Hamiltonians conditioned on molecular geometry, using high-order SE(3)-equivariant flow matching to capture the structured, blockwise symmetry of RH-DFT Hamiltonians. It introduces symmetry-aware priors (GOE and tensor expansion) and a post hoc energy-alignment fine-tuning to ensure physically faithful orbital energies, achieving state-of-the-art Hamiltonian MAEs on MD17 and QH9 and enabling substantial acceleration of SCF convergence when used to initialize DFT calculations. The approach combines a CNF trajectory with SE(3)-equivariant vector fields and a graph neural architecture to preserve rotational symmetry across all trajectory steps, offering robust generalization across geometries and molecular sizes. This work demonstrates the practicality of flow-based, symmetry-aware Hamiltonian generation as a scalable surrogate for expensive DFT computations, with clear benefits for speed and reliability in quantum chemistry workflows.
Abstract
Density functional theory (DFT) is a fundamental method for simulating quantum chemical properties, but it remains expensive due to the iterative self-consistent field (SCF) process required to solve the Kohn-Sham equations. Recently, deep learning methods are gaining attention as a way to bypass this step by directly predicting the Hamiltonian. However, they rely on deterministic regression and do not consider the highly structured nature of Hamiltonians. In this work, we propose QHFlow, a high-order equivariant flow matching framework that generates Hamiltonian matrices conditioned on molecular geometry. Flow matching models continuous-time trajectories between simple priors and complex targets, learning the structured distributions over Hamiltonians instead of direct regression. To further incorporate symmetry, we use a neural architecture that predicts SE(3)-equivariant vector fields, improving accuracy and generalization across diverse geometries. To further enhance physical fidelity, we additionally introduce a fine-tuning scheme to align predicted orbital energies with the target. QHFlow achieves state-of-the-art performance, reducing Hamiltonian error by 71% on MD17 and 53% on QH9. Moreover, we further show that QHFlow accelerates the DFT process without trading off the solution quality when initializing SCF iterations with the predicted Hamiltonian, significantly reducing the number of iterations and runtime.
