A Fixed-Point Neural Operator for Size- and Functional-Transferable Hamiltonian Prediction

Yunhong Lou, Xihang Yue, Xinran Wei, Tianqi Deng, Linchao ZhuarXiv 2026

TL;DR

HamEvo is a novel machine learning framework that accelerates quantum chemistry calculations by mimicking the iterative self-consistent field (SCF) loop of Density Functional Theory (DFT). By learning step-by-step update dynamics rather than predicting the final Hamiltonian matrix all at once, it achieves superior accuracy, seamlessly generalizes to larger molecules, and runs up to 242 times faster than traditional DFT.

What Problem Does This Paper Address?

In computational chemistry and materials science, Kohn-Sham Density Functional Theory (KS-DFT) is the gold standard for resolving electronic structures, including molecular orbitals, energy levels, and electron densities. However, KS-DFT scales cubically ($O(N^3)$) with molecular size, creating a massive computational bottleneck for large systems or high-throughput screening.

While machine learning models can predict molecular energies directly, they miss the underlying electronic wavefunctions. Recent attempts to predict the Hamiltonian matrix directly usually treat the problem as a single-step mapping from geometry to the final state. This approach struggles because the true Hamiltonian is an implicit fixed point of an iterative process—the self-consistent field (SCF) loop. Direct regression forces the model to absorb complex, nonlinear electronic responses in one go, leading to poor generalization across molecular sizes and functional types, and often introducing unphysical errors in the electronic spectrum.

Methods

The authors introduce HamEvo, which formulates Hamiltonian prediction as finding the fixed point of a learnable Hamiltonian Evolution Operator ($F_\theta$). Instead of guessing the final answer, HamEvo mimics a single step of the classical SCF update:

$$H^{(t+1)} = F_\theta(H^{(t)}; G)$$

Key Architectural & Training Innovations:

  • Equivariant Graph Neural Network: HamEvo processes the Hamiltonian by decomposing it into atom-pair blocks (diagonal on-site terms and off-diagonal inter-atomic couplings) using an $SO(3)$-equivariant architecture guided by geometric edge features.
  • Three-Stage Training Pipeline:
  • HEO Learning: The model is pre-trained on intermediate SCF trajectories to learn the single-step physics of electronic structure evolution.
  • Equilibrium Calibration: The fixed-point Hamiltonian ($H^\star$) is optimized using implicit differentiation. Crucially, this stage introduces density-matrix co-supervision, which directly aligns the occupied orbital subspace with the ground truth to prevent unphysical electron filling.
  • Application Fine-Tuning: A data-efficient stage that adapts the pre-trained model to out-of-distribution tasks, such as larger molecular scales or alternative exchange-correlation functionals.

Datasets

The model was trained and evaluated across several diverse benchmarks:

  • MD17 (Ethanol subset): Used to evaluate performance across the conformational space of a single flexible molecule.
  • QH9: Comprising over 130,000 equilibrium geometries of small molecules (up to 9 heavy atoms).
  • GDB17 & QMugs: Complex, drug-like molecular datasets used for size-stratified benchmarking and equilibrium calibration.
  • $\nabla^2$DFT (nablaDFT): A large-scale quantum chemistry benchmark containing roughly 2 million molecules, utilized here for dataset-level cross-functional transfer.
  • Custom MD Ensembles: Generated via molecular dynamics to test large-scale transfer (up to 122 atoms) and temperature-dependent thermal fluctuations.

Key Insights and Ideas

  • Process over Product: Learning the dynamics of the physics-based SCF loop is a much more transferable target than trying to memorize the final equilibrium states of diverse molecules.
  • Locality of Corrections: Predicting step-wise local corrections ($\Delta H$) avoids the complex, long-range polarization errors that plague direct regression models when they encounter larger, unseen systems.
  • The Spectral Gap Solution: Minimizing element-wise matrix errors alone doesn't guarantee accurate physical properties. By explicitly penalizing density matrix errors, HamEvo ensures correct orbital ordering near the Fermi level, eliminating the spurious "in-gap" states common in baseline ML methods.

Key Results

  • Unmatched Accuracy: Across benchmarks from MD17 to QMugs, HamEvo reduced Hamiltonian mean absolute errors (MAE) by 35–49% compared to direct regression and deep equilibrium baselines.
  • Chemical Accuracy Threshold: It predicted QMugs HOMO and LUMO energies with MAEs of 0.036 eV and 0.053 eV, respectively—hovering right around the coveted 1 kcal/mol chemical accuracy scale.
  • Few-Shot Size Extrapolation: With fine-tuning on just 20 reference conformations, HamEvo successfully generalized to massive molecules (up to 122 atoms), far beyond its pre-training limit (<40 atoms).
  • Cross-Functional Adaptation: A base model pre-trained on B3LYP data was successfully adapted to computationally expensive functionals (like $\omega$B97X-D, PBE0, and SCAN0) with minimal data overhead.
  • Substantial Speedups: HamEvo decoupled inference cost from functional complexity, delivering up to a 242× speedup over conventional DFT on an NVIDIA RTX 4090 GPU.
  • Capturing Thermal Physics: Combined with molecular dynamics sampling, HamEvo accurately captured temperature-dependent HOMO–LUMO gap renormalization, outperforming standard harmonic approximations.

Limitations and Future Work

  • Iterative Overhead: Because HamEvo relies on an iterative fixed-point solver, it is inherently slower than single-step direct regression ML models (though still vastly faster than standard DFT).
  • Fixed Basis Set: The current implementation is constrained to a single atomic-orbital basis set (def2-SVP). Extending the framework to handle arbitrary or multiple basis sets remains an open challenge.
  • Ground-Truth Dependency: The model's ultimate accuracy is still bounded by the quality and potential systematic errors of the underlying DFT training data.
  • Future Directions: The authors plan to integrate force prediction directly into the operator to enable fully ML-driven molecular dynamics simulations and explore methods to reduce reliance on expensive high-level reference data.

Summary updated

Abstract

Predicting the Kohn-Sham Hamiltonian with machine learning can accelerate density functional theory while retaining access to molecular orbitals, energy levels, and electronic-structure observables that energy-only surrogates cannot resolve. Yet element-wise agreement with the converged Hamiltonian, an implicit fixed point of the self-consistent field iteration, does not determine the occupied subspace that governs orbital energies and densities. Here we present HamEvo, a neural operator that learns the single-step self-consistent update and returns the converged Hamiltonian as its fixed point. HamEvo is pre-trained on intermediate self-consistent trajectories and calibrated at equilibrium with density-matrix supervision. Across benchmarks from MD17 to drug-like QMugs, HamEvo lowers Hamiltonian errors by 35-49% over direct-regression and deep-equilibrium baselines, and predicts QMugs HOMO and LUMO energies with mean absolute errors of 0.036 and 0.053 eV, near the 1 kcal/mol chemical-accuracy scale. Few-shot fine-tuning with only 20 reference conformations extends HamEvo to molecules of up to 122 atoms, well beyond the size range covered by pre-training. With thermal molecular-dynamics sampling, HamEvo captures temperature-dependent HOMO-LUMO gap renormalization beyond the harmonic approximation. Inference is up to 242 times faster than conventional DFT.
BibTeX
@misc{lou2026fixed,
  author = {Yunhong Lou and Xihang Yue and Xinran Wei and Tianqi Deng and Linchao Zhu},
  title = {{A Fixed-Point Neural Operator for Size- and Functional-Transferable Hamiltonian Prediction}},
  year = {2026},
  eprint = {2606.14498},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.14498},
}

Loading related content...

Figure