Manuscript Offprint
arXiv:2610.10298Physics-Aligned Electronic Ground-State Learning Improves Generalization
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Machine-learned interatomic potentials (MLIPs) excel at in-distribution tasks, accelerating drug and material development, yet they struggle to generalize out-of-distribution. We propose to push the cost-accuracy Pareto frontier by designing observable-agnostic electronic ground-state descriptor models (GSMs) with computational costs situated between MLIPs and Kohn-Sham density functional theory (KS-DFT). We align the learning objectives and architectures of GSMs with the governing equations of KS-DFT by enforcing physical constraints and removing optimization pressure on unphysical or irrelevant degrees of freedom. In our size-extrapolation experiments from QM9 to QM40, our combined contributions OrthoNormal-Loss (ON-Loss) and Grassmann Restricted Occupied-Orbital Training (GROOT) reach a 79.1% energy and 83.4% force mean absolute error (MAE) reduction over previous state-of-the-art density GSMs. For Hamiltonian GSMs, ON-Loss and Residual Optimal-gauge Conditioning-aware KS-Eq. Training (ROCKET) together reduce the energy and force MAEs of the strongest baseline by 99.8% and 95.9%, respectively. Using a self-consistency rejection criterion, we filter out extrapolation errors on QMugs, rejecting fewer than 0.4% of predictions while reaching an energy MAE of 0.07 mHa. Finally, we demonstrate the efficiency of label-free self-consistency fine-tuning, and transfer GSMs to reactive chemistry in Transition1x, reaching energy errors below chemical accuracy.

ML Interatomic Potentials
| E[mHa] | F/atom[mHa/A] | |
|---|---|---|
| PaiNNSchütt 2021 | 17.6 | 35.1 |
| NequIPBatzner 2022 | 5.27 | 42.4 |
| MACEBatatia 2022 | 3.98 | 47.2 |
| PaiNNSchütt 2021 | 17.1 | 1.29 |
| NequIPBatzner 2022 | 17.0 | 0.56 |
| MACEBatatia 2022 | 8.87 | 0.52 |
worse
best
column best
bold: column best
Figure 1: GSM size extrapolation from QM9 to molecules up to larger QM40 molecules. The GROOT models generalize robustly, reaching errors below half chemical accuracy ( mHa) on of the tested molecules. All observables are computed at a budget of exactly one Fock build averaged over 3 training seeds each. The GROOT variants are the best performing models for almost all observables except for the Kohn-Sham (self-consistency) energy where ROCKET is best. NequIP and MACE trained on forces still outperform even the best GSMs on forces, but physically aligned GSMs achieve an order of magnitude better energies compared to all trained MLIPs.
1 INTRODUCTION
Many computational chemistry applications aim to accurately approximate the electronic ground state of molecules and materials. The rapid developments in this field are driven by the abundance of applications enabling the in silico prescreening of potential materials and drugs before moving into resource- and time-intensive laboratory experiments or clinical trials. Since the exact computation of the ground state is intractable for almost all systems of interest, the art of computational chemistry is to find the correct trade-off between accuracy and computational cost for a given application (Szabo & Ostlund, 1996). Contemporary method development pushes this Pareto frontier as far as possible. For many applications, KS-DFT (Kohn & Sham, 1965) is the method of choice (Antypas et al., 2014; Haunschild et al., 2019). At a high level, its computational efficiency can be attributed to its lower-dimensional representation of the ground state based on the electron density , compared to wavefunction methods (Cramer, 2014).
Ground-state descriptor models (GSMs) predicting the Hamiltonian or density matrix have been investigated as a means to accelerate (Liu et al., 2026; Eberhard et al., 2026a) or completely circumvent (Schütt et al., 2019) the computationally demanding iterative solvers which drive KS-DFT calculations (Lehtola et al., 2020a). These solvers use finite basis sets to discretize the governing equations of KS-DFT, which yields a generalized eigenvalue problem (gEVP) (Roothaan, 1951). Present state-of-the-art GSMs are not well-aligned with the goal of learning physical ground states, motivating the following contributions:
-
Current literature has converged on supervising GSMs on the matrix representations of the gEVP (Sec. 3) measuring matrix errors in a non-orthonormal (NON) basis, whose spectral weighting is ill-aligned with physical observables. We show mathematically and empirically how OrthoNormal-Loss (ON-Loss) cures this by measuring errors in an orthonormal (ON) basis.
-
On the problem side of the gEVP, entire families of Hamiltonian matrices yield the same ground state. The established loss formulation views these physically equivalent Hamiltonians as different targets. We systematically treat this invariance w.r.t. changes in the Hamiltonian by introducing Residual Optimal-gauge Conditioning-aware KS-Eq. Training (ROCKET).
-
On the solution side, physically valid density matrices are constrained to a manifold (the Grassmannian), but existing readout heads predict in the entire ambient space of symmetric matrices. We introduce Grassmann Restricted Occupied-Orbital Training (GROOT), a matrix readout for -equivariant graph neural networks (GNNs) that restricts predictions to valid densities, removing the leading order energy error term compared to unconstrained baselines.
-
We develop a practical framework under a strict budget of one Fock build, the cost-dominant operation of KS-DFT. For this, we adopt a computationally cheap first-order energy correction, identify a GSM-native uncertainty measure for rejecting unreliable predictions, and generalize self-consistency training (Zhang et al., 2024) for label-free fine-tuning of foundational GSMs to new chemical domains such as transition states. These constitute key advantages of GSMs over MLIPs that might justify their increased evaluation costs for some applications.
At this single Fock-build budget, the evaluation costs of GSMs are in between MLIPs and machine-learned (ML) approaches that require multiple Fock builds (Dick & Fernandez-Serra, 2021; Gao et al., 2024; Eberhard et al., 2026b; Luise et al., 2026; Kim et al., 2025; 2026). In our size extrapolation experiments on QMugs, we train on molecules with at most 150 electrons and evaluate on up to 660 electrons (Fig. 3). Here, ON-Loss alone reduces energy, force, dipole and density errors by 87–99% for density GSMs and by 93–99.5% for Hamiltonian GSMs. GROOT and ROCKET compound on top of that, reaching 99.6% and 99.9% lower energy errors than the NON baselines. At 0.21 and 0.56 mHa (without rejections), their mean energy errors lie below chemical accuracy and are 14 and 5 times lower than the best energy-trained MLIP, while they reject fewer than 0.4% of predictions. Using the predicted ground states as self-consistent field (SCF) initial guesses reduces the number of solver iterations needed to converge. For the QM9-trained models evaluated on QM40, ON-Loss lowers the density GSM's Effective Relative Iteration Count (ERIC) (Eberhard et al., 2026a) from 0.82 to 0.70, and GROOT lowers it further to 0.67, a third fewer iterations than the traditional MINAO initial guess. After label-free self-consistency fine-tuning on Transition1x (Schreiner et al., 2022), the QMugs-trained GROOT and ROCKET reach energy errors of 0.66 and 0.74 mHa, below chemical accuracy, while rejecting fewer than 1% of predictions.
In this context, the solutions are also known as molecular orbitals C. For further details and the connection of Eq.(1) to the underlying continuous theory, we refer to App. A and Lehtola et al. (2020a). By convention, the eigenvalues (orbital energies) are enumerated ascendingly. The lowest eigenvectors (columns of C) form the occupied block , while the remaining are virtual. The density matrix
encodes the electron density in the finite basis. The Hamiltonian H depends on the density matrix P, which in turn depends on the coefficients C, so Eq.(1) is non-linear. It can be linearized by iteratively solving for given , which reduces the original problem to the iterative solution of the gEVP (Eq.(1)) (Roothaan, 1951). This approach requires an initial guess to start the iteration. The Superposition of Atomic Densities (SAD) method and its minimal-basis variant MINAO construct such a guess in density space by combining spherically averaged atomic density matrices (Almlöf et al., 1982; Van Lenthe et al., 2006). The ground state is a fixed point of the iterative solver, and all three matrices , , and are complete descriptors allowing access to all observables of the ground state. These matrices are commonly represented in atom-centered basis sets, which are non-orthonormal (NON) . We can perform a change of basis , to obtain orthonormal (ON) basis representations
which reduce the gEVP to the regular eigenvalue problem (Löwdin, 1950).
Infinitely many representations (H, C) encode the same physical ground state. Only the density matrix P is in one-to-one correspondence with this state. On the problem side of Eq. (1), for Hamiltonians H, one can identify constant shifts
as a degree of freedom, leaving the eigenvectors C invariant. Similarly, so-called virtual level shifts , for an arbitrary only increase the eigenvalues of the virtual block by . Both of these operations leave C and hence P unchanged. On the solution side of Eq. (1), we note that the solution space C carries considerably more degrees of freedom than the density matrix P it yields. In the mapping in Eq. (2), the virtual block never enters and is discarded right away. Additionally, the occupied columns themselves are not unique and can be multiplied with an arbitrary orthogonal matrix without changing the density
and the same holds for the virtual slice . Whole families of Hamiltonian H and coefficient matrices C collapse onto the same physical density P. What distinguishes one ground state from another is the O-dimensional subspace spanned by their occupied columns span . The smallest problem instance and is intuitively accessible. In this case, the density is a plane through the origin of . Any two eigenvectors lying in that plane span it equally well. Predicting a density means predicting this subspace.
To constrain a model, we need to transfer this subspace criterion to the space of density matrices P. The orthonormality of the occupied orbitals, , inserted into Eq.(2), gives , so is idempotent with its eigenvalues either 0 or 1. The trace condition fixes their multiplicities to O ones and V zeros. Idempotency is not only a consequence of the construction but a complete test of it, because any symmetric idempotent matrix of the right trace factorizes back into an orthonormal occupied block (McWeeny, 1960). Thus, the set of valid density matrices is exactly
This set is the Grassmann manifold. Its dimension is the BO entries of , minus orthonormality conditions, minus mixing directions (Edelman et al., 1998; Absil et al., 2008). Hence, learning valid density matrices is an OV-dimensional prediction task.
3 RELATED WORK
ML-surrogates for ground-state observables prediction based on equivariant GNNs have been a key ingredient for recent advances in computational chemistry (Kulichenko et al., 2024; Wood et al., 2025). MLIPs are the most widely adopted of these surrogates. They predict the energy as a function of the molecular geometry in linear time with respect to system size (Schütt et al., 2018). These methods have demonstrated high accuracy and generalizability for a wide range of molecular systems (Kovács et al., 2023; Jacobs et al., 2025; Burger et al., 2025a;b; Koker et al., 2025) and are typically trained on KS-DFT reference data (Kulichenko et al., 2024). Another modeling ansatz focuses on predicting the fundamental descriptors of KS-DFT, aiming either at the Hamiltonian or the density matrix , i.e., , (Schütt et al., 2019; Yu et al., 2023b). From these descriptors, the computation of almost all observables, such as energy, forces, and dipole moments, requires at most one Fock build. In particular, these models can be used to accelerate SCF calculations used to solve Eq. (1) (Liu et al., 2026; Eberhard et al., 2026a). A substantial body of work has built on QH9 (Yu et al., 2023a), a QM9-based (Ramakrishnan et al., 2014) benchmark for molecular Hamiltonian prediction. However, with recent models reporting energy errors more than two orders of magnitude below chemical accuracy (Kim et al., 2026) the benchmark has reached saturation. QH9's restriction to very small molecules limits its ability to assess size extrapolation to larger molecules, a shortcoming highlighted by recent studies (Li et al., 2025b; Eberhard et al., 2026a). Kaniselvan et al. (2026) have connected GSMs to MLIPs, using Hamiltonians for pretraining, and finetuning with an energy readout head. Zhang et al. (2026) propose to evaluate observables directly from the predicted density. Kim et al. (2026) do the same for the Hamiltonian, matching the force accuracy of MLIPs on in-distribution MD-trajectories albeit at higher computational cost, requiring two Fock builds, one for -learning (Eberhard et al., 2026a) and a second for the observable evaluation. We compare the observables of all GSMs at a one Fock-build budget starting from the molecular geometry.
Predicting and supervising the electronic ground state in the NON basis representation is the de-facto standard approach of the field (Schütt et al., 2019; Unke et al., 2021; Li et al., 2022; 2025b; Shmilovich et al., 2022; Gong et al., 2023; Yu et al., 2023a;b; Zhong et al., 2023; Hazra et al., 2024; Wang et al., 2024; Zhang et al., 2024; Febrer et al., 2025; Kim et al., 2025; 2026; Luo et al., 2025; Zhouyin et al., 2025; Eberhard et al., 2026a; Kaniselvan et al., 2026; Liu et al., 2026; Qian et al., 2026). Predicting in the NON basis is well-motivated by its spatial localization relative to the ON alternative in Eq. (3) (Li et al., 2022; Kaniselvan et al., 2026), although this argument is mainly valid for absolute Hamiltonian predictions, less so for -learning, and not at all for densities (See App. G). Supervising model outputs in the NON basis lacks a similar justification, and Kaniselvan et al. (2026) report that matrix-element errors correlate only weakly with resulting eigenvalue errors in the NON basis, and we observe the same for downstream observables (App. N.1). In the few works that do supervise in the ON basis (Nigam et al., 2022; Cignoni et al., 2024; Zhang et al., 2026), the implications of ON supervision for physical observables remain poorly understood (Nigam et al., 2022), which might explain the lack of adoption. More recently, Li et al. (2025b) introduce an ON Hamiltonian loss-term, but perturb it (App. F), and combine it with conventional NON-supervision. We aim to close this gap by directly comparing ON-Loss and the NON-baseline analytically via worst-case observable error bounds (Sec. 4) and empirically via correlations between loss residuals and observable errors (Sec. 5), providing conclusive evidence in favor of ON-basis supervision.
Unrestricted density prediction in the space of symmetric matrices provides no guarantee for the physicality of . One way to restore the validity is to purify post-hoc (Lehtola, 2019), either by projecting onto (Zhang et al., 2026) or by charge rescaling (charge conservation) and McWeeny purification (Yescas-Ramos et al., 2026), which only works within a basin of attraction (McWeeny, 1960). Neither incorporates the constraint into the model, correcting only at evaluation time (Zhang et al., 2026) or adding trace and idempotency loss terms (Yescas-Ramos et al., 2026). In contrast, learns to transport an initial guess to the ground state end-to-end (Sec. 4), while includes the manifold projection in its parameter gradient computations. The Hamiltonian-side degree of freedom of the gEVP (1) has been addressed for periodic structures (Wang et al., 2024; Yin et al., 2025). The molecular Hamiltonian losses in previous work leave this degree of freedom untreated, such that the model allocates expressivity to fit a component that no derived observable constrains. ROCKET combines -learning with a per-sample shift-invariant loss for molecular Hamiltonians (Sec. 4).
4 METHODS
ON-Loss. When learning ground-state descriptors , we aim to train on a loss that closely tracks the observable errors in the vicinity of the ground state. The tightest target-specific supervision is achieved by directly training on the observables. Although suitable for task-specific readouts used in MLIPs (Sec. 3), this ansatz deviates from the goal of learning general descriptors that support observables that are unspecified at training time. Instead, we propose to minimize the Frobenius norm of matrix errors in their ON-basis representation (Eq. (3))
This contrasts the standard approach of prior work, which directly supervises in the non-orthonormal NON-basis (Sec.3). The overlap matrix S mediates between matrix-errors and observable-errors (Tab.1). Its eigenvalues satisfy (Eq.(19)) and act as a proxy for the relative importance of each direction w.r.t. physical observables, such that the spectrum emphasizes some matrix-error directions more than others. These spectral factors only vanish in ON-bases S = I where the loss→observable error-propagation becomes approximately isotropic, which we also confirm empirically in Sec.5.
Table 1: Worst-case leading-order observable errors in terms of matrix errors. and are the extreme eigenvalues of the overlap matrix S for a given molecule, and its HOMO-LUMO gap. The overlap factors are the worst-case conversion factors from non-orthonormal to orthonormal matrix errors, attained along the extreme overlap eigenvectors. Derivations are in App. C.
| Observable | Leading order in | |
|---|---|---|
| Unconstrained | ||
| Manifold Constrained | ||
| Unconstrained | ||
Constraining density GSMs to the manifold guarantees the physical validity of their predictions and further tightens the observable error bounds. While the dipole, and real-space density errors remain linear, the total-energy error becomes quadratic in (Tab. 1). A priori, neither the initial guess nor the learned predictions are restricted to the Grassmannian. We therefore introduce Grassmann Restricted Occupied-Orbital Training (GROOT) to predict densities that lie on the Grassmannian manifold by construction. Following Lehtola (2019), we define an idempotent projection map that purifies any candidate density matrix. Given an arbitrary trial density , we diagonalize it in the orthonormal basis to extract its eigenvectors , retaining the eigenvectors corresponding to the largest eigenvalues. This yields the valid density matrix closest to in the Frobenius norm (Eckart & Young, 1936). We evaluate two approaches for predicting valid density matrices (GROOT , GROOT ), using either as a pre- or postprocessing step. GROOT is a one-step flow map (Boffi et al., 2025) that first projects the initial guess and then learns the constant velocity , Eq. (34), of the flow
This flow equation has a closed-form solution that transports the initial projection to the predicted density (Sakurai & Napolitano, 2020). The underlying transformation of the initial guess corresponds to a rotation and preserves the Grassmannian constraints of Eq.(6). These transformations are also referred to as orbital rotations in this context. Wong (1967) showed that any two densities on are connected by pure mixing rotations. At the initial guess these are generated by skew-symmetric matrices that anticommute with the reflection , i.e. . We map any equivariant readout-head output to satisfy these conditions by applying , where is the projector onto the virtual orbitals. Since the unit-time map is available in closed form, we can bypass numerical ODE integration by directly supervising the prediction against the target density. (For details, see App. B.) GROOT enforces validity by projecting the symmetrized matrix readout to the Grassmannian manifold with the parameter gradients flowing through .
ROCKET is a loss function for Hamiltonian learning. Unlike GROOT which enforces additional physical constraints, ROCKET lifts optimization pressure from unphysical or irrelevant degrees of freedom. ROCKET systematically treats gauge freedoms of , meaning transformations of which leave the coefficients unchanged. In the ON-basis, one such transformation is which only shifts the eigenvalues but does not affect the eigenvectors . We transfer this invariance to ON-Loss (Eq. (7)) using a closed-form minimizer and obtain
This leaves a flat cS loss-direction for every molecule. A pure data-normalization ansatz with a training-set-optimal gauge and a standard matrix loss would strictly penalize gauge variation between molecules, while Eq. (9) permits arbitrary gauge variation. In between these extremes
softly restrains cross-molecule variation along the gauge direction, which performs best on our validation ablation (App.L.3). The reference gauge in Eq.(10) is an exponential moving average (EMA) of the per-molecule optimal shifts . Additionally, we remove supervision from Hamiltonian directions that do not affect the lowest eigenvectors , leaving unchanged. We define the matrix that projects onto the lowest reference eigenvectors as \widetilde{\mathbf{Q}}_{O+k} := \widetilde{\mathbf{C}}_{O+k}^* \widetilde{\mathbf{C}}_{O+k}^*^\top, and mask out errors entirely within its orthogonal complement
Plugging this into Eq. (10) yields the 3rd and final stage of ROCKET
The lowest O eigenvectors determine the density matrix, while retaining an additional k eigenvectors increases the robustness to prediction errors by separating the occupied states from the first unsupervised eigenstate. This allows for a controlled tradeoff between learning a smooth but higher-dimensional Hamiltonian target vs learning a discontinuous but lower-dimensional density target. We use k = 1 by default and ablate larger k in App.L.3.
5 EXPERIMENTS
We assess all models on the same equivariant GNN backbone (App.J), varying only the matrix readout. For the Hamiltonian ansatz, we obtain the density by solving the gEVP (Eq.(1)), which is computationally cheap compared to the Fock-build (Eberhard et al., 2026a). To evaluate size extrapolation, we benchmark our models across two complementary dataset regimes. In the first regime, we train on equilibrium geometries from QM9 (Ramakrishnan et al., 2014), restricted to molecules with at most 20 atoms and elements H, C, N, O, and F (Tab.4). We then evaluate these models on the CHNOF subset of QM40 (Madushanka et al., 2024) with up to 37 heavy atoms (Tab.5), with molecules up to four times larger than those of the training distribution. In the second regime, we train on QMugs (Isert et al., 2021), testing extrapolation on conformer diversity searched at 300 K across a wider chemical space (Tab.6). Here, we train on all QMugs molecules with up to 150 electrons and evaluate on systems with up to 660 electrons (Tab.6). Across all datasets, we generate reference density and Hamiltonian matrices with restricted KS-DFT at the B3LYP/def2-SVP level of theory (Stephens et al., 1994; Weigend & Ahlrichs, 2005) using GPU-accelerated GPU4PySCF (Li et al., 2025a; Sun et al., 2020) (App.H). To obtain the strongest possible baselines and accurately characterize relative performances, we perform extensive ablations of both absolute and -learning approaches (App.N) in our initial training on QM9, and select learning rates and weight decay for each method separately based on a 75-molecule QM40 validation set (App.L). All other hyperparameters are kept constant, and we observe no difference in training cost across all ablated ground-state predictors and loss combinations. We avoid the hidden Fock-build for Hamiltonian -learning (Eberhard et al., 2026a) by using the superposition of atomic potentials (SAP) ansatz (Lehtola, 2019), and additionally ablate training-set-optimal gauge shifts ( ) for the Hamiltonian baseline. For -learning in density space, we use (Lehtola, 2019). When evaluating the energies from the predicted or density matrix, we get the first order energy correction in the self-consistency error to the ground-state energy expression of KS-DFT essentially for free, such that our predictions are given by (Harris, 1985; Foulkes & Haydock, 1989).

Figure 2: ON-Loss is "observable-isotropic" and improves size extrapolation. (a,b,c,d) Values log-binned by , matching the directions of QM40 molecules (Tab. 5); shading indicates the standard deviation, histograms show the direction-density . (a,b) Mean-normalized relative sensitivity for the density, dipole , and energy errors (line styles): (a) falls as , whereas (b) stays approximately constant for all three observables. (c,d) Matrix error of the trained network, with for reference: (c) leaves error that follows rather than observable impact, while (d) concentrates it in the high-impact directions. (e–h) Size extrapolation experiments from QM9 to QM40, featuring the same observables MAEs plus the force acting on the atoms plotted against the electron count . We compare GSMs under both and loss functions, as well as Hamiltonian variants with a training-set-optimal constant gauge shift . Markers are means and bands the minimum and maximum across identical runs; every model beats its counterpart.
Loss Observable Alignment. We compare the alignment of and by investigating their agreement with key observables in the vicinity of the target density . To that end, we define the sensitivity of an observable (or Loss ) w.r.t. a perturbation direction as the absolute directional derivative (App.D.1). The relative directional sensitivity (App.D) captures if the loss changes more (or less) rapidly than the actual observable along a given direction. We analyze the sensitivities in a basis of symmetric matrices built from the eigenvectors of the overlap , with normalized elements . Our experiments show that the optimization process prioritizes directions according to their loss sensitivity and for density matrices. We demonstrate this by comparing the matrix error components in the overlap basis, , binned by (Fig. 2 (c,d), and App.D). An ideal loss function should have direction-independent (isotropic) relative sensitivities across a diverse set of observables. Figure 2 (a,b) shows that this is approximately achieved by ON-Loss and violated by the NON baseline. Training on ON-Loss strictly outperforms this baseline on QM40 across model configurations on all tested observables (see Fig. 1 and Fig. 2 (e-h)). Across all evaluated models, we observe higher mutual information between the ON-Loss residual and downstream observable errors (Tab. 24), independent of the training loss that produced the model weights.
Size-Extrapolation. Reference calculations for KS-DFT ground states scale with the 3rd or 4th power with system size, depending on the level of theory. This restricts training data for ML surrogates to small to mid-sized molecules. Their practical utility, therefore, depends in part on their ability to accurately extrapolate to larger systems. In our extrapolation experiments on equilibrium structures from QM9 and QM40 (Fig. 1, Fig. 2 (e-h), App. O.1), the baselines generalize poorly to larger molecules, whereas ON-Loss consistently reduces prediction errors across both density and Hamiltonian representations (Tab. 26). ROCKET and GROOT compound on top of these improvements: Although ROCKET already outperforms all tested Hamiltonian GSMs including the new ON-Loss on all tested observables, it is improved upon by on all observables except the Kohn–Sham energy, while performs worse than ROCKET on both energies but surpasses it on the remaining observables (see Fig. 1). Excluding the manifold projection from the training gradients and applying it only post hoc to the ON-Loss baseline rejects 66% of the molecules as unreliable, compared to 0.6% for (Tab. 26).

Figure 3: GROOT and ROCKET show robust extrapolation, and can be equipped with GSMs-specific error indicators (Tab. 28). GSMs and MLIPs trained on QMugs molecules with at most 150 electrons and evaluated on systems with up to 660 electrons. The table shows the fraction of molecules rejected by the self-consistency criterion and the observable errors of the remaining molecules, with the MAE including the rejected predictions in brackets below. Compared to linear scaling MLIPs like PaiNN (Schütt et al., 2021), NequIP (Batzner et al., 2022), and MACE (Batatia et al., 2022) trained on energies only (meaning at equal reference compute budget), GROOT achieves an order of magnitude better energies, rejecting less than 1% of its own predictions, characterizing the achievable cost-accuracy trade-off of GSMs compared to MLIPs. The ERIC (Eberhard et al., 2026a) relative to MINAO shows that our density models yield additional SCF acceleration over the baselines. Observable MAEs vs. electron count. GROOT and ROCKET stay orders of magnitude below the baselines with the margin widening as the system size increases.
Both versions of GROOT achieve energy errors of less than half chemical accuracy (1 kcal/mol) for 98% of the QM40 molecules in the test set with the vast majority of errors passing the even stricter threshold of 1/16 kcal/mol. This motivates the search for an uncertainty measure that quantifies prediction confidence. We identify the residual term , commonly used in convergence acceleration methods for KS-DFT calculations (Pulay, 1980; 1982), as a suitable measure to equip GSMs with the approximately size-intensive rejection criterion . Ideally, the self-consistency threshold could be calibrated on a large validation set per model. For our experiments, we settled on uniform thresholds for all models, which we estimated based on the error distribution of a small large-molecule validation set to . Besides size extrapolation we also isolated the conformational generalization capabilities of GSMs by training on QMugs and evaluating on the 3BPA (Kovács et al., 2021) torsional surface (Fig. 4, Tab. 29). We observe excellent performance for all our GSMs: compared to PaiNN, NequIP, and MACE, ROCKET reduces energy errors by roughly an order of magnitude (8–12×) and force errors by 5–7×, while the ON-Loss-trained density GSM (ON) reduces them by 148–234× and 20–29×, respectively.
Towards foundational GSMs. Our evaluations suggest that well-designed GSMs can achieve significantly improved energies compared to MLIPs, both trained on energies only and trained on energies and forces, while force-trained MLIPs still lead in force accuracy (Fig. 1, Fig. 3). Despite their higher inference time costs compared to MLIPs, viewed from an equal reference compute perspective, GSMs offer an interesting trade-off well suited for foundation models. Not only do GSMs outperform energy-only trained MLIPs in terms of force accuracy by , Fig. 1, but they also offer access to observables undefined at training time. Pretrained GSMs are conveniently adaptable to new chemistry by combining the idea of label-free Self-Consistency Training (SCT) introduced by Zhang et al. (2024) with the occupied–virtual (OV) gradient objective of Eberhard et al. (2026a) (App. M). Depending on the application the resulting amortization cost may be favorable for research applications with low total evaluation counts since it incurs a much lower up front fine-tuning cost. We finetune our QMugs-trained models on the Transition1x dataset (Schreiner et al., 2022), containing molecular geometries along reaction pathways. Models pretrained with the NON loss fail under the OV objective, where the Hamiltonian model diverges and (NON) rejects all predictions. While stationarity keeps the first-order corrected energy error of (ON) at 0.52 mHa, it rejects 25% of test frames and incurs a self-consistent KS energy error of 21.1 mHa.

Figure 4: Beyond size extrapolation: generalization across conformations and label-free adaptation to new chemistry. QMugs-trained models generalize to the cut of the 3BPA backbone-dihedral energy surface (left panel, Tab. 29): the ground truth ( , ) energy-surface, and the energy deviations of GSMs, with median (MAE-optimal) constant offset removed per model. Label-free self-consistency training (SCT) on Transition1x. The upper-right panel shows the validation loss against the self-consistency residual over 0, 2, 4, and 6 epochs of cosine-annealed SCT, suggesting that shorter training budgets might be feasible. The observable MAEs are resolved along the reaction coordinate , with the transition state at . The energies of the finetuned GSMs consistently achieve chemical accuracy (solid red line) on the accepted predictions, with GROOT and ROCKET rejecting the fewest predictions (0.2%, Tab. 30).
on all frames because unconstrained densities leave the Grassmannian (Tab. 1), which GROOT avoids by construction. In contrast, GROOT and ROCKET adapt reliably and reach energy errors well below chemical accuracy on all accepted predictions (Fig. 4, Tab. 30).
6 DISCUSSION
We have aligned GSMs with the governing equations of Kohn-Sham Density Functional Theory (KS-DFT) through ON-Loss, GROOT, and ROCKET. To this end, we performed a theoretical and empirical analysis of representational choices of P, H for GSM training and their effects on downstream observables, finding strong evidence in favor of orthonormal (ON) basis representations (ON-Loss). Unconstrained density readouts can leave the manifold of valid density matrices, which can violate charge conservation and lead to fractional occupations, a regime where KS-DFT is known to misbehave (Perdew et al., 1982; Mori-Sánchez et al., 2008). GROOT enforces these constraints by construction and thus predicts physical density matrices. The densities obtained from Hamiltonian GSMs are inherently physical, but current loss functions overconstrain them. ROCKET reduces this excess supervision. In our QM9 to QM40 size extrapolation experiments, these contributions compound relative to state-of-the-art GSMs (Fig. 1). Alongside improvements across other observables, ON-Loss and GROOT reduce the energy error of the previous state-of-the-art density GSM by 79.1%, and ON-Loss and ROCKET reduce that of the strongest Hamiltonian baseline by 99.8%. Under GROOT, 98% of molecules achieve energy errors below chemical accuracy. On QMugs systems up to 660 electrons (Tab. 28), GROOT and ROCKET reduce energy errors by 99.6% and 99.9%, respectively, relative to the corresponding NON baselines. Evaluating GSMs on energy observables requires a Fock build incurring significantly higher inference cost than MLIPs, but it yields an inherent uncertainty measure through the self-consistency residual. This self-rejection can filter large extrapolation errors while maintaining high yield. Our GSM framework adopts a generalization of label-free fine-tuning via Self-Consistency Training (Zhang et al., 2024) to density GSMs. When transferring QMugs-pretrained models to the reactive chemistry of Transition1x (Schreiner et al., 2022), this reaches energy errors well below chemical accuracy on the accepted predictions across the entire reaction coordinate (Fig. 4, Tab. 30).
Limitations & Future Work. Our evaluations are restricted to closed-shell Kohn-Sham. Although a generalization to unrestricted systems is straightforward, this has not been covered by our evaluations. All experiments have been performed at the B3LYP/def2-SVP level of theory. Transfer to other func-tionals and basis sets remains untested. The unique capabilities of GSMs could enable active-learning pipelines for MLIP reference data generation on large molecules (Kulichenko et al., 2024). For each molecule, GROOT can predict the ground state at the cost of a single Fock build. If the self-consistency residual falls below the rejection threshold, the pipeline accepts the one-iteration observables. When the residual exceeds the threshold, the calculation falls back to iterative SCF, where the prediction can serve as an initial guess that accelerates convergence. The resulting solutions can continually update the GSM. The combination of this ansatz with ML exchange-correlation functionals (Gao et al., 2024; Luise et al., 2026; Eberhard et al., 2026b) could provide exceptional cost-accuracy trade-offs.
REPRODUCIBILITY STATEMENT
We provide proofs for all theoretical claims in the appendix, including the reachability, geometric validity, and expressivity of GROOT on the Grassmann manifold (App. B) as well as the observable error bounds and quadratic energy scaling for valid density projectors (App. C). Across all benchmarks, we document dataset sources, reference calculation protocols, and evaluation splits in App. H, and specify model architectures and training hyperparameters in Apps. I and L.
The code will be released with the final publication at github.com/ESEberhard/ML4DFT.
ACKNOWLEDGMENTS
We thank Luca A. Thiede for insightful discussions. We thank the Vector Institute as well as the Matter Lab (Alán Aspuru-Guzik's group) for co-hosting Eike S. Eberhard during a research stay where part of this work was conducted.
REFERENCES
P.-A. Absil, R. Mahony, and R. Sepulchre. Optimization Algorithms on Matrix Manifolds. Princeton University Press, 2008. doi: 10.1515/9781400830244.
J. Almlöf, K. Faegri, and K. Korsell. Principles for a direct SCF approach to LCAO-MO ab-initio calculations. Journal of Computational Chemistry, 3(3):385–399, 1982. doi: 10.1002/jcc.540030314.
K. Antypas, B. A. Austin, T. L. Butler, R. A. Gerber, C. L. Whitney, N. J. Wright, W. Yang, and Z. Zhao. NERSC workload analysis on Hopper. Technical report, National Energy Research Scientific Computing (NERSC) Center, 2014. doi: 10.2172/1163230.
Igor Babuschkin, Kate Baumli, Alison Bell, Surya Bhupatiraju, Jake Bruce, Peter Buchlovsky, David Budden, Trevor Cai, Aidan Clark, Ivo Danihelka, Antoine Dedieu, Claudio Fantacci, Jonathan Godwin, Chris Jones, Ross Hemsley, Tom Hennigan, Matteo Hessel, Shaobo Hou, Steven Kapturowski, Thomas Keck, Iurii Kemaev, Michael King, Markus Kunesch, Lena Martens, Hamza Merzic, Vladimir Mikulik, Tamara Norman, George Papamakarios, John Quan, Roman Ring, Francisco Ruiz, Alvaro Sanchez, Laurent Sartran, Rosalia Schneider, Eren Sezener, Stephen Spencer, Srivatsan Srinivasan, Miloš Stanojević, Wojciech Stokowiec, Luyu Wang, Guangyao Zhou, and Fabio Viola. The DeepMind JAX Ecosystem, 2020. URL github.com/google-deepmind.
Ilyes Batatia, Dávid Péter Kovács, Gregor N. C. Simm, Christoph Ortner, and Gábor Csányi. MACE: Higher order equivariant message passing neural networks for fast and accurate force fields. In Advances in Neural Information Processing Systems, volume 35, pp. 11423–11436, 2022. doi:10.52202/068431-0830.
Simon Batzner, Albert Musaelian, Lixin Sun, Mario Geiger, Jonathan P. Mailoa, Mordechai Kornbluth, Nicola Molinari, Tess E. Smidt, and Boris Kozinsky. E(3)-equivariant graph neural networks for data-efficient and accurate interatomic potentials. Nature Communications, 13(1):2453, May 2022. ISSN 2041-1723. doi: 10.1038/s41467-022-29939-5.
A. D. Becke. A multicenter numerical integration scheme for polyatomic molecules. The Journal of Chemical Physics, 88(4):2547–2553, 1988. doi: 10.1063/1.454033.
Axel D. Becke. Density-functional thermochemistry. III. The role of exact exchange. The Journal of Chemical Physics, 98(7):5648–5652, 1993. doi: 10.1063/1.464913.
Nicholas Matthew Boffi, Michael Samuel Albergo, and Eric Vanden-Eijnden. Flow map matching with stochastic interpolants: A mathematical framework for consistency models. Transactions on Machine Learning Research, 2025. doi: 10.48550/arXiv.2406.07507.
Andreas Burger, Luca Thiede, Alan Aspuru-Guzik, and Nandita Vijaykumar. DEQuify your force field: More efficient simulations using deep equilibrium models. In ICLR 2025 Workshops: AI4MAT, 2025a. doi: 10.48550/arXiv.2509.08734.
Andreas Burger, Luca Thiede, Nikolaj Rønne, Varinia Bernales, Nandita Vijaykumar, Tejs Vegge, Arghya Bhowmik, and Alan Aspuru-Guzik. Shoot from the HIP: Hessian interatomic potentials without derivatives, 2025b. doi: 10.48550/arXiv.2509.21624.
B. C. Carlson and J. M. Keller. Orthogonalization procedures and the localization of Wannier functions. Physical Review, 105(1):102–103, 1957. doi: 10.1103/PhysRev.105.102.
Edoardo Cignoni, Divya Suman, Jigyasa Nigam, Lorenzo Cupellini, Benedetta Mennucci, and Michele Ceriotti. Electronic excited states from physically constrained machine learning. ACS Central Science, 10(3):637–648, 2024. doi: 10.1021/acscentsci.3c01480.
Christopher J. Cramer. Essentials of Computational Chemistry: Theories and Models. Wiley, Chichester, 2 edition, 2014. ISBN 978-0-470-09181-4.
Sebastian Dick and Marivi Fernandez-Serra. Highly accurate and constrained density functional obtained with differentiable programming. Physical Review B, 104(16):L161109, October 2021. doi: 10.1103/PhysRevB.104.L161109.
Eike S. Eberhard, Viktor Kotsev, Timm Güthle, and Stephan Günnemann. Transferable SCF-acceleration through solver-aligned initialization learning, 2026a. doi: 10.48550/arXiv.2604.21657.
Eike S. Eberhard, Luca A. Thiede, Abdulrahman Aldossary, Andreas Burger, Nicholas Gao, Vignesh Bhethanabotla, Alán Aspuru-Guzik, and Stephan Günnemann. Derivative informed learning of exchange-correlation functionals. In Proceedings of the 43rd International Conference on Machine Learning, 2026b. doi: 10.48550/arXiv.2606.04279.
Carl Eckart and Gale Young. The approximation of one matrix by another of lower rank. Psychometrika, 1(3):211–218, September 1936. doi: 10.1007/BF02288367.
Alan Edelman, Tomás A. Arias, and Steven T. Smith. The geometry of algorithms with orthogonality constraints. SIAM Journal on Matrix Analysis and Applications, 20(2):303–353, 1998. doi:10.1137/S0895479895290954.
Pol Febrer, Peter Bjørn Jørgensen, Miguel Pruneda, Alberto García, Pablo Ordejón, and Arghya Bhowmik. Graph2mat: Universal graph to matrix conversion for electron density prediction. Machine Learning: Science and Technology, 6(2):025013, 2025. doi: 10.1088/2632-2153/adc871.
W. Matthew C. Foulkes and Roger Haydock. Tight-binding models and density-functional theory. Physical Review B, 39(17):12520–12536, 1989. doi: 10.1103/PhysRevB.39.12520.
Xiang Fu, Brandon M. Wood, Luis Barroso-Luque, Daniel S. Levine, Meng Gao, Misko Dzamba, and C. Lawrence Zitnick. Learning smooth and expressive interatomic potentials for physical property prediction, 2025. doi: 10.48550/arXiv.2502.12147.
Nicholas Gao, Eike Eberhard, and Stephan Günnemann. Learning equivariant non-local electron density functionals. In The Thirteenth International Conference on Learning Representations, 2024. doi: 10.48550/arXiv.2410.07972.
Xiaoxun Gong, He Li, Nianlong Zou, Runzhang Xu, Wenhui Duan, and Yong Xu. General framework for E(3)-equivariant neural network representation of density functional theory Hamiltonian. Nature Communications, 14(1):2848, 2023. doi: 10.1038/s41467-023-38468-8.
Colin A. Grambow, Lagnajit Pattanaik, and William H. Green. Reactants, products, and transition states of elementary chemical reactions based on quantum chemistry. Scientific Data, 7(1):137, 2020. doi: 10.1038/s41597-020-0460-4.
J. Harris. Simplified method for calculating the energy of weakly interacting fragments. Physical Review B, 31(4):1770–1779, 1985. doi: 10.1103/PhysRevB.31.1770.
Robin Haunschild, Andreas Barth, and Bernie French. A comprehensive analysis of the history of DFT based on the bibliometric method RPYS. Journal of Cheminformatics, 11(1):72, 2019. doi:10.1186/s13321-019-0395-y.
S. Hazra, U. Patil, and S. Sanvito. Predicting the one-particle density matrix with machine learning. Journal of Chemical Theory and Computation, 20(11):4569–4578, 2024. doi: 10.1021/acs.jctc.4c00042.
Clemens Isert, Kenneth Atz, José Jiménez-Luna, and Gisbert Schneider. QMugs: Quantum mechanical properties of drug-like molecules, 2021. doi: 10.48550/arXiv.2107.00367.
Ryan Jacobs, Dane Morgan, Siamak Attarian, Jun Meng, Chen Shen, Zhenghao Wu, Clare Yijia Xie, Julia H. Yang, Nongnuch Artrith, Ben Blaiszik, Gerbrand Ceder, Kamal Choudhary, Gabor Csanyi, Ekin Dogus Cubuk, Bowen Deng, Ralf Drautz, Xiang Fu, Jonathan Godwin, Vasant Honavar, Olexandr Isayev, Anders Johansson, Boris Kozinsky, Stefano Martiniani, Shyue Ping Ong, Igor Poltavsky, Kj Schmidt, So Takamoto, Aidan P. Thompson, Julia Westermayr, and Brandon M. Wood. A practical guide to machine learning interatomic potentials – Status and future. Current Opinion in Solid State and Materials Science, 35:101214, March 2025. ISSN 13590286. doi:10.1016/j.cossms.2025.101214.
Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks. kellerjordan.github.io/posts/muon/, 2024.
Manasa Kaniselvan, Benjamin Kurt Miller, Meng Gao, Juno Nam, and Daniel S. Levine. Learning from the electronic structure of molecules across the periodic table. In The Fourteenth International Conference on Learning Representations, 2026. doi: 10.48550/arXiv.2510.00224.
Seongsu Kim, Nayoung Kim, Dongwoo Kim, and Sungsoo Ahn. High-order equivariant flow matching for density functional theory Hamiltonian prediction. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-0449.
Seongsu Kim, Chanhui Lee, Yoonho Kim, Seongjun Yun, Honghui Kim, Nayoung Kim, Changyoung Park, Sehui Han, Sungbin Lim, and Sungsoo Ahn. Machine learning Hamiltonians are accurate energy-force predictors, 2026. doi: 10.48550/arXiv.2602.16897.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015. doi: 10.48550/arXiv.1412.6980.
W. Kohn and L. J. Sham. Self-consistent equations including exchange and correlation effects. Physical Review, 140(4A):A1133–A1138, 1965. doi: 10.1103/PhysRev.140.A1133.
Teddy Koker, Mit Kotak, and Tess Smidt. Training a foundation model for materials on a budget, 2025. doi: 10.48550/arXiv.2508.16067.
Dávid Péter Kovács, Cas van der Oord, Jiri Kucera, Alice E. A. Allen, Daniel J. Cole, Christoph Ortner, and Gábor Csányi. Linear atomic cluster expansion force fields for organic molecules: Beyond RMSE. Journal of Chemical Theory and Computation, 17(12):7696–7711, 2021. doi:10.1021/acs.jctc.1c00647.
Dávid Péter Kovács, Ilyes Batatia, Eszter Sára Arany, and Gábor Csányi. Evaluation of the MACE force field architecture: From medicinal chemistry to materials science. The Journal of Chemical Physics, 159(4):044118, July 2023. ISSN 0021-9606, 1089-7690. doi: 10.1063/5.0155322.
Maksim Kulichenko, Benjamin Nebgen, Nicholas Lubbers, Justin S. Smith, Kipton Barros, Alice E. A. Allen, Adela Habib, Emily Shinkle, Nikita Fedik, Ying Wai Li, Richard A. Messerly, and Sergei Tretiak. Data generation for machine learning interatomic potentials and beyond. Chemical Reviews, 124(24):13681–13714, 2024. doi: 10.1021/acs.chemrev.4c00572.
Chengteh Lee, Weitao Yang, and Robert G. Parr. Development of the Colle-Salvetti correlation-energy formula into a functional of the electron density. Physical Review B, 37(2):785–789, 1988. doi:10.1103/PhysRevB.37.785.
Susi Lehtola. Assessment of initial guesses for self-consistent field calculations. Superposition of atomic potentials: simple yet efficient. Journal of Chemical Theory and Computation, 15(3):1593–1604, 2019. doi: 10.1021/acs.jctc.8b01089.
Susi Lehtola, Frank Blockhuys, and Christian Van Alsenoy. An overview of self-consistent field calculations within finite basis sets. Molecules, 25(5):1218, 2020a. doi: 10.3390/molecules25051218.
Susi Lehtola, Lucas Visscher, and Eberhard Engel. Efficient implementation of the superposition of atomic potentials initial guess for electronic structure calculations in Gaussian basis sets. The Journal of Chemical Physics, 152(14):144105, 2020b. doi: 10.1063/5.0004046.
He Li, Zun Wang, Nianlong Zou, Meng Ye, Runzhang Xu, Xiaoxun Gong, Wenhui Duan, and Yong Xu. Deep-learning density functional theory Hamiltonian for efficient ab initio electronic-structure calculation. Nature Computational Science, 2(6):367–377, 2022. doi: 10.1038/s43588-022-00265-6.
Rui Li, Qiming Sun, Xing Zhang, and Garnet Kin-Lic Chan. Introducing GPU acceleration into the Python-based Simulations of Chemistry Framework. The Journal of Physical Chemistry A, 129(5):1459–1468, 2025a. doi: 10.1021/acs.jpca.4c05876.
Yunyang Li, Zaishuo Xia, Lin Huang, Xinran Wei, Han Yang, Sam Harshe, Erpai Luo, Zun Wang, Chang Liu, Jia Zhang, Bin Shao, and Mark B. Gerstein. Enhancing the scalability and applicability of Kohn–Sham Hamiltonians for molecular systems. In The Thirteenth International Conference on Learning Representations, 2025b. doi: 10.48550/arXiv.2502.19227.
Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, Enzhe Lu, Junjie Yan, Yanru Chen, Huabin Zheng, Yibo Liu, Shaowei Liu, Bohong Yin, Weiran He, Han Zhu, Yuzhi Wang, Jianzhou Wang, Mengnan Dong, Zheng Zhang, Yongsheng Kang, Hao Zhang, Xinran Xu, Yutao Zhang, Yuxin Wu, Xinyu Zhou, and Zhilin Yang. Muon is scalable for LLM training, 2025. doi: 10.48550/arXiv.2502.16982.
Zhe Liu, Yuyan Ni, Zhichen Pu, Qiming Sun, Siyuan Liu, and Wen Yan. Towards a transferable acceleration method for density functional theory. In The Fourteenth International Conference on Learning Representations, 2026. doi: 10.48550/arXiv.2509.25724.
Per-Olov Löwdin. On the non-orthogonality problem connected with the use of atomic wave functions in the theory of molecules and crystals. The Journal of Chemical Physics, 18(3):365–375, 1950. doi: 10.1063/1.1747632.
Giulia Luise, Chin-Wei Huang, Thijs Vogels, Derk P. Kooi, Sebastian Ehlert, Stephanie Lanius, Klaas J. H. Giesbertz, Amir Karton, Deniz Gunceler, Stefano Battaglia, Gregor N. C. Simm, P. Bernát Szabó, Megan Stanley, Wessel P. Bruinsma, Lin Huang, Xinran Wei, José Garrido Torres, Abylay Katbashev, Rodrigo Chavez Zavaleta, Bálint Máté, Sékou-Oumar Kaba, Roberto Sordillo, Yingrong Chen, David B. Williams-Young, Christopher M. Bishop, Jan Hermann, Rianne van den Berg, and Paola Gori-Giorgi. Accurate and scalable exchange-correlation with deep learning, April 2026. doi: 10.48550/arXiv.2506.14665.
Erpai Luo, Xinran Wei, Lin Huang, Yunyang Li, Han Yang, Zaishuo Xia, Zun Wang, Chang Liu, Bin Shao, and Jia Zhang. Efficient and scalable density functional theory Hamiltonian prediction through adaptive sparsity. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 41368–41390. PMLR, 2025. doi: 10.48550/arXiv.2502.01171.
Ayesh Madushanka, Renaldo T. Moura, and Elfi Kraka. QM40, realistic quantum mechanical dataset for machine learning in molecular science. Scientific Data, 11(1):1376, 2024. doi:10.1038/s41597-024-04206-y.
R. McWeeny. Some recent advances in density matrix theory. Reviews of Modern Physics, 32(2): 335–369, 1960. doi: 10.1103/RevModPhys.32.335.
Paula Mori-Sánchez, Aron J. Cohen, and Weitao Yang. Localization and delocalization errors in density functional theory and implications for band-gap prediction. Physical Review Letters, 100(14):146401, 2008. doi: 10.1103/PhysRevLett.100.146401.
Jigyasa Nigam, Michael J. Willatt, and Michele Ceriotti. Equivariant representations for molecular Hamiltonians and N-center atomic-scale properties. The Journal of Chemical Physics, 156(1):014115, 2022. doi: 10.1063/5.0072784.
Saro Passaro and C. Lawrence Zitnick. Reducing SO(3) convolutions to SO(2) for efficient equivariant GNNs. In Proceedings of the 40th International Conference on Machine Learning, volume 202, pp. 27420–27438, 2023. doi: 10.48550/arXiv.2302.03655.
John P. Perdew, Robert G. Parr, Mel Levy, and Jose L. Balduz. Density-functional theory for fractional particle number: Derivative discontinuities of the energy. Physical Review Letters, 49(23):1691–1694, 1982. doi: 10.1103/PhysRevLett.49.1691.
P. Pulay. Improved SCF convergence acceleration. Journal of Computational Chemistry, 3(4): 556–560, 1982. doi: 10.1002/jcc.540030413.
Péter Pulay. Convergence acceleration of iterative sequences. The case of SCF iteration. Chemical Physics Letters, 73(2):393–398, 1980. doi: 10.1016/0009-2614(80)80396-4.
Chen Qian, Valdas Vitartas, James R. Kermode, and Reinhard J. Maurer. Equivariant electronic Hamiltonian prediction with many-body message passing. npj Computational Materials, 12(1):169, 2026. doi: 10.1038/s41524-026-02020-1.
Raghunathan Ramakrishnan, Pavlo O. Dral, Matthias Rupp, and O. Anatole von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Scientific Data, 1(1):140022, 2014. doi:10.1038/sdata.2014.22.
C. C. J. Roothaan. New developments in molecular orbital theory. Reviews of Modern Physics, 23(2): 69–89, 1951. doi: 10.1103/RevModPhys.23.69.
J. J. Sakurai and Jim Napolitano. Modern Quantum Mechanics. Cambridge University Press, 3rd edition, 2020. doi: 10.1017/9781108587280.
Mathias Schreiner, Arghya Bhowmik, Tejs Vegge, Jonas Busk, and Ole Winther. Transition1x: A dataset for building generalizable reactive machine learning potentials. Scientific Data, 9(1):779, 2022. doi: 10.1038/s41597-022-01870-w.
K. T. Schütt, M. Gastegger, A. Tkatchenko, K.-R. Müller, and R. J. Maurer. Unifying machine learning and quantum chemistry with a deep neural network for molecular wavefunctions. Nature Communications, 10(1):5024, 2019. doi: 10.1038/s41467-019-12875-2.
Kristof Schütt, Oliver Unke, and Michael Gastegger. Equivariant message passing for the prediction of tensorial properties and molecular spectra. In Proceedings of the 38th International Conference on Machine Learning, volume 139, pp. 9377–9388, 2021. doi: 10.48550/arXiv.2102.03150.
Kristof T. Schütt, Huziel E. Sauceda, Pieter-Jan Kindermans, Alexandre Tkatchenko, and Klaus-Robert Müller. SchNet: A deep learning architecture for molecules and materials. The Journal of Chemical Physics, 148(24):241722, 2018. doi: 10.1063/1.5019779.
Kirill Shmilovich, Devin Willmott, Ivan Batalov, Mordechai Kornbluth, Jonathan Mailoa, and J. Zico Kolter. Orbital mixer: Using atomic orbital features for basis-dependent prediction of molecular wavefunctions. Journal of Chemical Theory and Computation, 18(10):6021–6030, 2022. doi:10.1021/acs.jctc.2c00555.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch. Ab initio calculation of vibrational absorption and circular dichroism spectra using density functional force fields. The Journal of Physical Chemistry, 98(45):11623–11627, 1994. doi: 10.1021/j100096a001.
Qiming Sun, Xing Zhang, Samragni Banerjee, Peng Bao, Marc Barbry, Nick S. Blunt, Nikolay A. Bogdanov, George H. Booth, Jia Chen, Zhi-Hao Cui, Janus J. Eriksen, Yang Gao, Sheng Guo, Jan Hermann, Matthew R. Hermes, Kevin Koh, Peter Koval, Susi Lehtola, Zhendong Li, Junzi Liu, Narbe Mardirossian, James D. McClain, Mario Motta, Bastien Mussard, Hung Q. Pham, Artem Pulkin, Wirawan Purwanto, Paul J. Robinson, Enrico Ronca, Elvira R. Sayfutyarova, Maximilian Scheurer, Henry F. Schurkus, James E. T. Smith, Chong Sun, Shi-Ning Sun, Shiv Upadhyay, Lucas K. Wagner, Xiao Wang, Alec White, James Daniel Whitfield, Mark J. Williamson, Sebastian Wouters, Jun Yang, Jason M. Yu, Tianyu Zhu, Timothy C. Berkelbach, Sandeep Sharma, Alexander Yu. Sokolov, and Garnet Kin-Lic Chan. Recent developments in the PySCF program package. The Journal of Chemical Physics, 153(2):024109, 2020. doi: 10.1063/5.0006074.
Attila Szabo and Neil S. Ostlund. Modern Quantum Chemistry: Introduction to Advanced Electronic Structure Theory. Dover Publications, 1996. ISBN 978-0-486-69186-2.
Oliver T. Unke, Mihail Bogojeski, Michael Gastegger, Mario Geiger, Tess Smidt, and Klaus-Robert Müller. SE(3)-equivariant prediction of molecular wavefunctions and electronic densities. In Advances in Neural Information Processing Systems, volume 34, pp. 14434–14447, 2021. doi:10.48550/arXiv.2106.02347.
O. Vahtras, J. Almlöf, and M. W. Feyereisen. Integral approximations for LCAO-SCF calculations. Chemical Physics Letters, 213(5):514–518, 1993. doi: 10.1016/0009-2614(93)89151-7.
J. H. Van Lenthe, R. Zwaans, H. J. J. Van Dam, and M. F. Guest. Starting SCF calculations by superposition of atomic densities. Journal of Computational Chemistry, 27(8):926–932, 2006. doi:10.1002/jcc.20393.
S. H. Vosko, L. Wilk, and M. Nusair. Accurate spin-dependent electron liquid correlation energies for local spin density calculations: a critical analysis. Canadian Journal of Physics, 58(8):1200–1211, 1980. doi: 10.1139/p80-159.
Yuxiang Wang, Yang Li, Zechen Tang, He Li, Zilong Yuan, Honggeng Tao, Nianlong Zou, Ting Bao, Xinghao Liang, Zezhou Chen, Shanghua Xu, Ce Bian, Zhiming Xu, Chong Wang, Chen Si, Wenhui Duan, and Yong Xu. Universal materials model of deep-learning density functional theory Hamiltonian. Science Bulletin, 69(16):2514–2521, 2024. doi: 10.1016/j.scib.2024.06.011.
Florian Weigend. A fully direct RI-HF algorithm: Implementation, optimised auxiliary basis sets, demonstration of accuracy and efficiency. Physical Chemistry Chemical Physics, 4(18):4285–4291, 2002. doi: 10.1039/b204199p.
Florian Weigend. Hartree–Fock exchange fitting basis sets for H to Rn. Journal of Computational Chemistry, 29(2):167–175, 2008. doi: 10.1002/jcc.20702.
Florian Weigend and Reinhart Ahlrichs. Balanced basis sets of split valence, triple zeta valence and quadruple zeta valence quality for H to Rn: Design and assessment of accuracy. Physical Chemistry Chemical Physics, 7(18):3297–3305, 2005. doi: 10.1039/B508541A.
Yung-Chow Wong. Differential geometry of Grassmann manifolds. Proceedings of the National Academy of Sciences of the United States of America, 57(3):589–594, March 1967. doi: 10.1073/pnas.57.3.589.
Brandon M. Wood, Misko Dzamba, Xiang Fu, Meng Gao, Muhammed Shuaibi, Luis Barroso-Luque, Kareem Abdelmaqsoud, Vahe Gharakhanyan, John R. Kitchin, Daniel S. Levine, Kyle Michel, Anuroop Sriram, Taco Cohen, Abhishek Das, Ammar Rizvi, Sushree Jagriti Sahoo, Zachary W. Ulissi, and C. Lawrence Zitnick. UMA: A family of universal models for atoms, 2025. doi:10.48550/arXiv.2506.23971.
Zuriel Y. Yescas-Ramos, Andrés Álvarez-García, and Huziel E. Sauceda. Towards accelerated SCF workflows with equivariant density-matrix learning and analytic refinement, 2026. doi:10.48550/arXiv.2604.27256.
Shi Yin, Zujian Dai, Xinyang Pan, and Lixin He. Advancing universal deep learning for electronic-structure Hamiltonian prediction of materials, 2025. doi: 10.48550/arXiv.2509.19877.
Haiyang Yu, Meng Liu, Youzhi Luo, Alex Strasser, Xiaofeng Qian, Xiaoning Qian, and Shuiwang Ji. QH9: A quantum Hamiltonian prediction benchmark for QM9 molecules. In Advances in Neural Information Processing Systems, volume 36, pp. 40487–40503, 2023a. doi: 10.52202/075280-1761.
Haiyang Yu, Zhao Xu, Xiaofeng Qian, Xiaoning Qian, and Shuiwang Ji. Efficient and equivariant graph networks for predicting quantum Hamiltonian. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 40412–40424. PMLR, 2023b. doi: 10.48550/arXiv.2306.04922.
He Zhang, Chang Liu, Zun Wang, Xinran Wei, Siyuan Liu, Nanning Zheng, Bin Shao, and Tie-Yan Liu. Self-consistency training for density-functional-theory Hamiltonian prediction. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 59329–59357. PMLR, 2024. doi: 10.48550/arXiv.2403.09560.
Liwei Zhang, Patrizia Mazzeo, Michele Nottoli, Edoardo Cignoni, Lorenzo Cupellini, and Benjamin Stamm. A symmetry-preserving and transferable representation for learning the Kohn–Sham density matrix. Digital Discovery, 5(4):1868–1880, 2026. doi: 10.1039/d5dd00230c.
Yang Zhong, Hongyu Yu, Mao Su, Xingao Gong, and Hongjun Xiang. Transferable equivariant graph neural networks for the Hamiltonians of molecules and solids. npj Computational Materials, 9(1):182, 2023. doi: 10.1038/s41524-023-01130-4.
Zhanghao Zhouyin, Zixi Gan, MingKang Liu, Shishir Kumar Pandey, Linfeng Zhang, and Qiangqiang Gu. Learning local equivariant representations for quantum operators. In The Thirteenth International Conference on Learning Representations, 2025. doi: 10.48550/arXiv.2407.06053.
APPENDIX CONTENTS
A Kohn-Sham Theory in a Finite Basis 18
B Rotational GROOT: Transport on the Grassmannian 19
C Observable Bounds for the Orthonormal Loss 22
C.1 AO and Orthonormal Frobenius Errors 22
C.2 Choice of Orthonormal Basis 22
C.3 General Density Errors 23
C.4 Grassmann-Constrained Density Errors 23
C.5 Hamiltonian-Induced Density Errors 24
C.6 Rotation Covariance and the Entrywise Term 25
D Directional Sensitivity in the Overlap Spectrum 25
D.1 Sensitivity as One-Sided Directional Derivatives 25
D.2 The Overlap-Spectrum Basis of Directions 26
D.3 Loss Sensitivities 26
D.4 Observable Sensitivities 27
E A Unifying Perspective on Hamiltonian and Density Learning 28
F Relation of the Orthonormal Loss to the Wavefunction Alignment Loss 28
G AO versus Löwdin Spatial Decay 30
H Datasets 31
I Model Hyperparameters 39
I.1 Ground-State Descriptor Models 39
I.2 Machine-Learned Interatomic Potential (MLIP) Reference Models 39
J Model Implementation Details 40
K Training Costs 41
L Training and Optimization 42
L.1 Density Models 43
L.2 Hamiltonian Models 45
L.3 ROCKET-Loss Ablations 47
L.4 Self-Consistency-Training Learning-Rate Selection 48
M Self-Consistency Training 49
N Loss vs Observables 50
N.1 Frobenius Loss versus Observable Errors 51
O Model Evaluation Data 54
O.1 Training on QM9 54
O.2 Training on QMugs 59
O.3 Self-Consistency-Fine-Tuning on Transition1x 62
P Runtime 63
A KOHN-SHAM THEORY IN A FINITE BASIS
We provide a brief overview of the mathematical fundamentals underlying KS-DFT, aimed at a broader audience at the intersection of quantum chemistry and machine learning. Hence, we refrain from any explicit references to electronic spin degrees of freedom. This spin-free treatment is sufficient for so-called closed-shell systems where , requiring an even number of electrons. For further details and generalization to open-shell systems, we refer to Szabo & Ostlund (1996) and Lehtola et al. (2020a).
In their seminal work, Kohn & Sham (1965) showed that the ground state electron density can be constructed from eigenfunctions which are solutions of the Kohn-Sham equations
which are the governing equations of KS-DFT. The first term is the kinetic energy operator, the second term the potential due to the atomic nuclei of the system, the third term the electron-electron potential, the fourth term the so-called exchange-correlation potential, and is the eigenvalue of . The eigenfunctions are commonly referred to as molecular orbitals (MOs) and relate to the density via
where and are the numbers of occupied and virtual orbitals, respectively, and the eigenfunctions are indexed lowest to highest with respect to their eigenvalues. By construction, the are orthonormal and hence . Eq. (13) can be discretized by representing the in a finite basis
with coefficients such that (Lehtola et al., 2020a). Inserting this into Eq. (14) yields
which defines the density matrix . For molecules, basis functions are commonly constructed from atom-centered Gaussians aligned with the Cartesian axes, whereas periodic chemistry codes often use plane waves. This allows for an efficient computation of many integrals involved in the computation, for example, the integral over the density in Eq. (14) becomes
with the overlap matrix . Notably, this integral tensor is a constant for a given basis set such that it only needs to be computed once per molecule. This is especially convenient since it can be shown that in finite basis sets Eq. (13) is equivalent to solving Eq. (1). Notably, the overlap matrix is a positive-definite Gram matrix of the atomic orbital (AO) basis functions, defined as
The inner product is symmetric, so and . For any nonzero , . Linear independence of the AO basis implies for all , and therefore . The overlap matrix is thus symmetric positive definite, . Hence is invertible. Normalization of the individual AO basis functions implies , and therefore . The eigenvalues of are strictly positive and sum to s.t.
such that if any eigenvalue differs from 1, the remaining eigenvalues compensate with the opposite total deviation.
B ROTATIONAL GROOT: TRANSPORT ON THE GRASSMANNIAN
This appendix gives the full construction of : why an occupied–virtual rotation suffices to reach any target density, how the generators of such rotations are characterized, and how an unconstrained decoder output is mapped into them.
This section proves that GROOT can connect any two physical densities with the same number of occupied orbitals. The argument has two logically separate parts. First, we study the geometry: does there exist an occupied–virtual rotation that transports the initial density to the target, does its generator follow a Grassmann geodesic, and how does it relate to nonminimal rotations that produce the same density? Second, we study the readout: does every model output produce such a valid generator, and can the readout reach every generator required by the geometry?
We answer these questions in four propositions. The first two concern only rotations on the Grassmannian and are independent of the neural network. The third proves that the GROOT head is valid for every input matrix. The fourth proves surjectivity, which is the statement that the head itself introduces no expressivity bottleneck.
GROOT is a one-step flow map (Boffi et al., 2025), which transports a computationally cheap initial density to a final density . Rotating with an orthogonal matrix preserves these Grassmannian constraints and is therefore the transformation of choice
After dropping all orbital rotations that leave P unchanged, cf. Fig. 5 and Eq. (5), any two valid densities are connected by a matrix that mixes the occupied and virtual subspaces. We formalize this by defining the projector into the virtual subspace and the reflection matrix . When evaluated at a specific density matrix, such as , we denote the corresponding operators with a subscript . The reflection flips the virtual orbitals around the origin while not affecting the occupied orbitals, i.e. , . Rotations that commute with the reflection, , are those that are block-diagonal in the molecular orbitals, mixing occupied with occupied and virtual with virtual, and thus span the subspace of redundant orbital-rotation directions that leave unchanged, as shown in Eq. (5). Complementarily, there also exists a canonical purely mixing rotation between the occupied and the virtual orbitals generated by a skew-symmetric matrix that anticommutes with the reflection,
Throughout this section all matrices are represented in the orthonormal basis (Eq. (3)). Let and be physical densities with the same rank, and define
Each reflection is symmetric and involutory,
and acts as +1 on the occupied subspace and as -1 on the virtual subspace. Wong (1967) showed that these pure mixing rotations suffice to connect any two densities on .
Proposition 1 (Reachability by an occupied–virtual rotation). Let and be physical densities with the same rank in the orthonormal basis, . Then there exists a generator such that . Consequently, , and transports the occupied subspace of to that of .
Proof. If , consider instead the complementary projectors , which have rank and codimension . Their reflections are , so they define the same anticommuting generator
All matrices in this appendix are in the orthonormal basis introduced in Eq. (3). We omit tildes to avoid cluttering the equations.
a)

b)
same point on
Figure 5: Many coefficient matrices, one density. (a) The smallest case, and : the occupied orbitals , span a plane which determines the density. Rotating the arrows within the plane by changes the orbitals, but not the plane. (b) For arbitrary , with . The coefficients split into an occupied block and a virtual block . Only the occupied block determines the density matrix as seen in Eq. (2). Multiplication from the right by a block-diagonal orthogonal matrix does not change the density matrix, see Eq. (5).
space p. Moreover, a rotation transports to if and only if it transports to . It therefore suffices to prove the case .
Since the physical densities in the orthonormal basis are themselves orthogonal projectors, we can always find such that , with and . Express the second MO frame in the first through
Consequently, in the -MO basis,
The general cosine-sine (CS) decomposition states that for every orthogonal , there exist block-diagonal orthogonal matrices and , as well as principal angles , such that , where, in the partition,
We proceed to apply the general CS decomposition to . Because and preserve the occupied–virtual splitting, they are block-diagonal orbital rotations that leave unchanged and can be freely exchanged for one another in
Still working in the -MO basis, we obtain
Returning to the orthonormal basis, we absorb the block-diagonal factor into the MO frame by defining . This gives
As with 2D rotations, we express the rotation in the MO basis as the matrix exponential of the skew-symmetric matrix
(30) which, in the orthonormal basis, yields the generator such that the principal rotation is
It remains to verify the second defining anticommutation condition of p. In the MO basis, the reflection operator similarly becomes diagonal and takes the form . Hence, the block forms of and imply . Since commutation relations are basis-independent, this statement carries over into the orthonormal basis such that
Finally, since is real and skew-symmetric, , which proves the claim.
For the same density pair, any other transporting rotation differs from a pure mixing rotation only by a block-diagonal orbital rotation that leaves the density unchanged (Edelman et al., 1998).
Proposition 2 (Decomposition of a general transporting rotation). Let satisfy . Then with and a block-diagonal orbital rotation that commutes with the reflection, .
Proof. Define . It lies in and gives . Both rotations transport the initial reflection to the target reflection, so
Since V is orthogonal, this is equivalent to . Thus V is a block-diagonal orbital rotation that leaves the density unchanged.
Rather than direct density prediction, builds on equivariant matrix decoders (Yu et al., 2023b; Febrer et al., 2025) to construct only an occupied-virtual rotation that moves a computationally cheap density toward the target density. For every decoder output , we construct
which lies in p, as shown in App.B, Proposition 3. The map is surjective onto p because every valid is a fixed point, i.e. choosing yields , as shown in App.B, Proposition 4.
Proposition 3 (Validity of the GROOT map).
For an arbitrary matrix , the generator of Eq.(34) lies in for every input.
Proof. Let . Since the projectors are symmetric, is skew-symmetric. Moreover, since and , together with the corresponding right-multiplication identities, we have and . Therefore,
Since , this is equivalent to the required anticommutation relation. Thus lies in .
Proposition 4 (Surjectivity of the GROOT map).
Every generator can be reached by the GROOT map, since .
Proof. Let . Choose . Since , the readout gives
Thus every valid generator has a preimage, and the map is surjective.
The first two propositions show that any target occupied subspace is geometrically reachable and that non-minimal transporting rotations differ only by block-diagonal orbital rotations that leave the endpoint densities unchanged. Propositions 3 and 4 show that the GROOT map reaches the entire space of minimal geodesic generators while producing a valid generator for every possible neural-network output.
The GROOT readout must also preserve the -equivariance of the underlying matrix decoder. A spatial rotation induces a corresponding in the orthonormal basis, transforming both and as , so Eq. (34) gives . Hence, GROOT 's covariant generator can learn to produce a rotation to any valid target density from (Proposition 1)
C OBSERVABLE BOUNDS FOR THE ORTHONORMAL LOSS
We derive the observable-error bounds summarized in Tab. 1 at a fixed molecular geometry. Density errors give linear bounds for one-body observables, including the dipole and real-space density. For valid density projectors, stationarity makes the energy error quadratic. Hamiltonian predictions inherit these bounds through their occupied eigenspaces, with an additional dependence on the HOMO–LUMO gap.
We use real matrices and the closed-shell, spin-free convention \mathbf{P}^* = \widetilde{\mathbf{C}}_o^* \widetilde{\mathbf{C}}_o^*^\top, where and is the number of occupied orbitals. The physical electron density includes an occupation factor of two. We write for the density error and assume that the overlap matrix is positive definite. For the energy bounds, we assume that is three times continuously differentiable near the reference, with locally bounded third derivative, and stationary there under rotations between occupied and virtual orbitals. All asymptotic statements concern small errors for a fixed sample . The bounds use unnormalized Frobenius norms, so substitution of gives the corresponding bounds for the loss in Eq. (7).
C.1 AO AND ORTHONORMAL FROBENIUS ERRORS
The overlap eigenvalues determine how the AO and orthonormal norms weight each error direction. Write
In this eigenbasis, let . The density transformation in Eq.(3) gives , whereas the Hamiltonian transformation gives . Bounding each weight by its extreme values yields
Errors of the form attain these endpoints when is an extreme overlap eigenvector. The constants are therefore sharp for unrestricted symmetric errors. Restrictions to projector tangent directions or occupied–virtual Hamiltonian blocks can lower the constants for a particular sample.
Relative to the orthonormal norm, the plain AO density norm gives more weight to directions with small overlap eigenvalues and less weight to directions with large eigenvalues. For Hamiltonian errors, the weighting reverses. Eqs. (39) and (40) supply the worst-case AO conversion factors in Tab. 1. They do not establish that the orthonormal bound is tighter for every observable and error direction.
C.2 CHOICE OF ORTHONORMAL BASIS
Every full-rank orthonormalization gives the same Frobenius loss. To see this, take any square matrix satisfying and set . Then and . The resulting Hamiltonian and density representations are and , respectively. Orthogonal invariance gives for either matrix. The symmetric Löwdin choice additionally minimizes the sum of squared distances between the original basis functions and their orthonormal counterparts (Löwdin, 1950; Carlson & Keller, 1957).
Observable-specific bounds also depend on the observable operator. For example, an AO one-body operator satisfies , with
Thus, a direct AO bound can have a smaller or larger constant than its orthonormal counterpart.
C.3 GENERAL DENSITY ERRORS
An unconstrained density prediction can incur a first-order energy error even at a stationary reference. Under our occupation convention, , so Taylor expansion gives
Cauchy–Schwarz bounds the magnitude of the linear term by . Stationarity makes block diagonal in the occupied–virtual basis, so only the occupied–occupied and virtual–virtual blocks of contribute to this term. An unconstrained predictor can change these blocks at first order through occupation or charge errors.
One-body observables depend linearly on the density matrix. For an observable with orthonormal-basis matrix , including its fixed charge and occupation factors, Cauchy–Schwarz gives
For the dipole, we apply this inequality to each Cartesian component, square the three inequalities, and add them. With , the result is . This proves the dipole row of Tab. 1. The nuclear contribution cancels because we compare predictions at the same geometry.
The real-space electron density is another linear function of the density matrix. For real orthonormal basis functions , define and . Its norm measures the integrated absolute density error and satisfies
where are the eigenvalues of . To obtain the first inequality, diagonalize and rotate the basis functions by the same orthogonal matrix. Then with , so the triangle inequality applies term by term. The second inequality is Cauchy–Schwarz. Taking attains both inequalities, so the induced Frobenius-to- constant for unrestricted symmetric errors is .
The density error depends on the spatial overlap of the basis-function products. Assuming these products are square-integrable, define . Expanding the squared density error gives
Thus , where . The row in Tab. 1 refers to the norm itself, whose bound is linear in . Its square has a quadratic bound. Substituting (39) into these observable bounds supplies one factor of for each power of the density error.
C.4 GRASSMANN-CONSTRAINED DENSITY ERRORS
For a valid rank-O projector, the leading density error only mixes occupied and virtual orbitals. This is the constraint that removes the first-order energy term. In the occupied–virtual basis, write and parameterize a nearby projector by
Here contains the occupied–virtual rotation parameters. Because is skew-symmetric, this construction preserves rank and idempotency. Expansion around gives
The diagonal blocks begin at second order. The squared error satisfies .
To make the energy constant precise, let and let be the Hessian of at . Stationarity gives , hence . Define , where denotes the spectral norm. The factor of two accounts for the two off-diagonal blocks in the Frobenius norm of a tangent perturbation. We obtain
This local bound holds for nearby rank-O projectors, including predictions from both GROOT constructions. The dipole and real-space density bounds remain linear because their maps are exactly linear in D.
The projector error also has an exact geometric interpretation. For principal angles between the predicted and reference occupied subspaces,
Eq.(43) connects the Frobenius error to the orbital-projection score without choosing individual occupied orbitals.
C.5 HAMILTONIAN-INDUCED DENSITY ERRORS
A Hamiltonian prediction determines a valid density projector through its lowest eigenvectors. Write and let . We assume that projects onto the lowest eigenvectors of and that , which keeps the occupied and virtual eigenvalues separated. In the reference eigenbasis, first-order expansion of the projector and eigenvalue equations gives
Indices and denote occupied and virtual orbitals, respectively, and the matrix remainder is in Frobenius norm. The first-order diagonal blocks vanish by idempotency, and the occupied–virtual eigenvalue equation is . Thus
The inequality uses and for symmetric . Equivalently, , which gives the inverse-gap factor for the dipole and density bounds.
For the energy rebuilt from this induced density, substitution into (42) gives
The curvature and the remainder constants depend on the sample and energy functional. Eq. (44) gives the inverse-gap-squared factor in Tab. 1 without assuming how these constants vary across molecules. Using (40) adds a factor of to linear bounds and to quadratic bounds in the AO Hamiltonian error.
For the fixed independent-particle functional , we can retain each occupied–virtual gap to obtain a sharper energy bound. Substituting to first order into (41) gives
(45)
For this functional, . The generic curvature bound would have a quadratic coefficient larger by . The inverse-gap bound in (45) follows from keeping the individual gaps and does not require to scale with . An explicit occupation factor of two doubles the energy and its bound. Evaluating energy directly from the predicted Hamiltonian eigenvalues can instead introduce a linear error through their first-order shifts.
C.6 ROTATION COVARIANCE AND THE ENTRYWISE TERM
Both AO and orthonormal Frobenius losses are invariant under physical rotations for the orthonormal spherical-harmonic shell convention used here. Such rotations act through an orthogonal matrix , so . The symmetric Löwdin transformation also preserves the same rotation law for the matrix representations because
Order-dependent orthogonalizers, such as Cholesky or Gram–Schmidt, need not satisfy the covariance law in (46), although they give the same invariant Frobenius loss. General nonorthogonal AO coordinate changes can alter the raw AO Frobenius norm.
An entrywise matrix term does not share this orthogonal invariance. Writing and , we obtain
These inequalities follow from vectorization and . The constants depend on the overlap eigenvectors as well as the eigenvalues. The overlap bounds and orthogonal invariance proved above therefore apply to the Frobenius loss in Eq. (7). Adding an entrywise term does not preserve those guarantees for the full loss.
D DIRECTIONAL SENSITIVITY IN THE OVERLAP SPECTRUM
This appendix formalizes the relative sensitivity analysis of Sec.5. We formally introduce the sensitivity of a variable as its absolute positive directional derivative. We construct the eigenbasis from the overlap matrix and analytically derive the derivatives of and .
D.1 SENSITIVITY AS ONE-SIDED DIRECTIONAL DERIVATIVES
Let be an observable evaluated at the converged reference ground state , and let be a symmetric perturbation direction with . We measure the sensitivity of along by the one-sided directional derivative
The one-sided limit is required because the quantities we compare are not all differentiable at the reference. The real-space density error and the Frobenius matrix norms entering both losses vanish at and grow linearly in in either direction, so their two-sided derivatives do not exist while Eq. (47) is well defined and positive. The sensitivity of along and the relative directional sensitivity of a loss with respect to are then
D.2 THE OVERLAP-SPECTRUM BASIS OF DIRECTIONS toc
Due to its importance in deriving the Lipschitz continuity relationships between the NON loss and the physical observables we probe the sensitivity in a basis derived from the overlap S. We write the overlap matrix in its eigenbasis,
consistent with Eq. (38). Because the matrix-error bounds of App. C are mediated by S, we resolve the analysis in the directions built from its eigenvectors,
where the prefactors normalize each direction to . The matrices are mutually orthogonal under the Frobenius trace product and therefore form a complete orthonormal basis of the space of real symmetric matrices, which is exactly the space in which a symmetric matrix error lives.
In addition to probing orthonormal perturbations the chosen basis decomposes the total Frobenius matrix error in its components. Since the total Frobenius error is itself invariant under orthonormal basis transformations we write
The total Frobenius error is then the sum of the squared components in the overlap basis, which we project out using the previously defined projectors,
(52)
This decomposition leads us to define the binned matrix error along a direction as the root mean square of its elements. Indexing the logarithmically spaced bins in with , the binned error is given by
Here the superscript m indexes molecules. Squaring makes the bins additive and connects the binned errors back to total prediction error over the dataset
After picking the basis in Eq.(50), we use the shorthands and .
D.3 LOSS SENSITIVITIES toc
The reason Eq. (50) is the natural basis for this analysis is that it diagonalizes the overlap matrix and therefore the transformation of both the non-orthonormal and the orthonormal loss functions , . Applying the orthonormalizing basis transformations on the perturbation basis yields
Both losses are the normalized Frobenius loss of Eq. (7), evaluated in the non-orthonormal and the orthonormal basis respectively. Perturbing along a single direction leaves , so Eq. (47) together with Eq. (55) gives
with for and for (Eq. (3)). The non-orthonormal loss weights every direction equally, while the orthonormal loss carries the factor with which the direction enters the orthonormal representation, the same factor that mediates the observable bounds of App. C.
D.4 OBSERVABLE SENSITIVITIES
Energy The derivative of the energy E with respect to the density at the ground state is per definition the Hamiltonian matrix
Hence the sensitivity, i.e. the directional derivative of energy with respect to a perturbation, is given by
so it reduces to rotating into the overlap eigenbasis with U and reading off its entry. Note that this is the unconstrained linear response with the Hamiltonian matrix fully pointing out of the Grassmannian manifold.
Dipole Since the dipole is linear in the density, with the dipole-integral matrices , so is the dipole error with respect to a perturbation
The reported observable is the error magnitude . Making use of the componentwise error linearity we obtain
density error The real-space density is linear in the density matrix, , so with the eigenvector orbitals the perturbation is again exact in , , and the one-sided limit gives
the absolute charge displaced along the direction. On the diagonal the prefactor is and the integrand is already non-negative, so the absolute value drops and the integral collapses onto the overlap itself,
density error Measuring the same perturbation in the norm instead gives
the spatial overlap of the two orbital densities that span the direction.
E A UNIFYING PERSPECTIVE ON HAMILTONIAN AND DENSITY LEARNING
Naively, examining the inverse HOMO-LUMO gap scaling in Tab. 1 invites the question whether artificially increasing the gap could be utilized to reduce observable errors to zero. Combining ROCKET with the level shifts formally unifies Hamiltonian and density matrix learning problems through a continuous interpolation parameter . Assume we learn a level-shifted Hamiltonian
Since any rescaling of the matrix target is absorbed by data normalization and is invariant under matrix shifts we formalize an equivalence relation for Hamiltonian learning targets
Such that we can rewrite Eq. (64) to obtain . Dividing by and taking the limit gives , meaning that in the limit of large level shifts, Hamiltonian learning reduces to density learning. This says nothing about the optimality of the level shift, but it makes the tradeoff between learning a smooth but higher-dimensional Hamiltonian target vs learning a discontinuous but lower-dimensional density target explicit.
F RELATION OF THE ORTHONORMAL LOSS TO THE WAVEFUNCTION ALIGNMENT LOSS
Li et al. (2025b) introduce Wavefunction Alignment Loss (WALoss) for Hamiltonian prediction. Their construction is closely related to our orthonormal Hamiltonian supervision, but differs in several important respects. We distinguish the mathematical loss presented in the paper from the loss in the released implementation. The generalized eigenvectors of (1) satisfy
\mathbf{H}^{*}\mathbf{C}^{*}=\mathbf{S}\mathbf{C}^{*}\boldsymbol{\epsilon}^{*},\qquad\mathbf{C}^{*}^{\mathsf{T}}\mathbf{S}\mathbf{C}^{*}=\mathbf{I}. \tag{66}We further define . The initial WALoss formulation in Eq. (2) of Li et al. (2025b) is
This expression has a direct relation to ON-Loss. With and , the matrix is orthogonal and \mathbf{C}^*^\top \Delta \mathbf{H}\mathbf{C}^* = \widetilde{\mathbf{C}}^*^\top \Delta \widetilde{\mathbf{H}}\widetilde{\mathbf{C}}^*, s.t. the invariance of the norm gives
\left\|\mathbf{C}^{*}^{\mathsf{T}}\Delta\mathbf{H}\mathbf{C}^{*}\right\|_{F}=\left\|\Delta\widetilde{\mathbf{H}}\right\|_{F}. \tag{68}Hence, if all entries are weighted uniformly, Eq. (67) uses exactly the same matrix geometry as our Löwdin formulation, up to normalization and the use of a squared rather than unsquared norm. The reference MO basis is simply a different choice of an orthonormal basis. However, the final WALoss equation presented in the paper is different. Eq. (3) of Li et al. (2025b) assigns weights to the occupied orbitals and LUMO, but evaluates each state separately,
\mathcal{L}_{\mathrm{W A}}^{(3)}=\rho\sum_{j\in\mathcal{I}}\left(\mathbf{c}_{j}^{*}^{\mathsf{T}}\Delta\mathbf{H}\mathbf{c}_{j}^{*}\right)^{2}+\xi\sum_{j\notin\mathcal{I}}\left(\mathbf{c}_{j}^{*}^{\mathsf{T}}\Delta\mathbf{H}\mathbf{c}_{j}^{*}\right)^{2}. \tag{69}Thus Eq. (69) contains only the diagonal of \mathbf{C}^{*}^\top \Delta \mathbf{H} \mathbf{C}^{*}. These terms are the first-order orbital-energy perturbations. In particular, the off-diagonal occupied–virtual couplings that drive first-order orbital rotations are absent. This contrasts with the preceding Eq. (2), whose full Frobenius norm does contain them.
Paper: https://arxiv.org/pdf/2502.19227, Sec. 3, Eqs. (2)–(3). Code: https://github.com/microsoft/SPHNet/blob/main/src/training/module.py#L409-L421 and https://github.com/microsoft/SPHNet/blob/main/src/training/module.py#L441-L455.
The released implementation differs again. It explicitly forms both the diagonal and strict off-diagonal entries and, for its mean-squared-error (MSE) variant, uses
Eq. (70) is therefore not the uniformly weighted Frobenius norm in Eq. (68). The separate means give each diagonal entry times the weight of each off-diagonal entry. Moreover, the released code does not apply the occupied–LUMO weighting of Eq. (69).
A further difference is that none of these flavors of WALoss is used as a standalone orthonormal loss, marking a significant gap in the literature w.r.t. the understanding of the proposed objective. The final training objective in App. K, Eq. (19) of Li et al. (2025b) combines it with elementwise MSE and MAE of the Hamiltonian in the original non-orthogonal representation. The AO Frobenius term retains the overlap-dependent anisotropy removed by Eq. (68), while the entrywise MAE is not invariant even under a general orthogonal change of basis. Finally, WALoss does not account for the Hamiltonian gauge freedom. For any ,
leaves all generalized eigenvectors and therefore the density unchanged. Both the paper WALoss and its implementation nevertheless penalize this physically irrelevant direction through their diagonal terms. ROCKET instead quotients it out explicitly,
before introducing any further conditioning or occupied-subspace structure. Thus, the occupied–LUMO emphasis of WALoss and our later ROCKET constructions should not be conflated: WALoss reweights a fixed reference Hamiltonian, whereas ROCKET first identifies Hamiltonians that represent the same physical ground state.
The implementation constructs the transformed residual at https://github.com/microsoft/SPHNet/blob/main/src/training/module.py#L409-L421 and combines the two sectors at https://github.com/microsoft/SPHNet/blob/main/src/training/module.py#L441-L455. The default orbital-energy metric is MSE in https://github.com/microsoft/SPHNet/blob/main/src/utility/hydra_config.py.
See https://arxiv.org/pdf/2502.19227, App. K, Eq. (19). The released implementation analogously adds HamiltonianError and OrbitalEnergyError as separate training losses: https://github.com/microsoft/SPHNet/blob/main/src/training/module.py#L555-L559.
G AO VERSUS LÖWDIN SPATIAL DECAY ↑toc

AO,
Löwdin,
AO,
Löwdin,
atom-pair distance (Å)
(contravariant)
AO,
Löwdin,
AO,
atom-pair distance (Å)
Löwdin,
AO,
Löwdin,
atom-pair distance (Å)
AO,
Löwdin,
atom-pair distance (Å)
Figure 6: AO versus Löwdin spatial decay for QM40 molecule 68311 at B3LYP/def2-SVP. Columns are H, P, P – P , and H – H – cS, each in the AO (a.k.a. NON) basis and after Löwdin orthogonalization, scaled by the dataset root-mean-square (RMS) . AO entries decay with atom-pair distance. Löwdin entries remain large after the AO entries have dropped.
H DATASETS toc
We evaluate on five datasets. QM9 is the training set of the first regime, and QM40 tests the size extrapolation of the QM9-trained models. QMugs is the training set of the second regime and tests size extrapolation up to 660 electrons. 3BPA and Transition1x test the transfer of the QMugs-trained models to conformational and reactive chemistry. Tabs.4 to 8 provide one table per dataset. The upper block of each table describes the release and our copy of it. Each lower block covers one split, the rule that produced it, and the compute stages of Tab. 3 we ran on it.
Shared dataset conventions. From every release we take only the atomic numbers and Cartesian coordinates. Released energies, forces and other properties do not enter any loss or metric. We recompute every electronic-structure quantity with the pipeline of Tab. 2. All molecules are neutral and closed-shell. A checkpoint's element embedding is fixed by its training set. QM9-trained checkpoints know H, C, N, O and F, so we evaluate them only on datasets restricted to these elements. QMugs-trained checkpoints know H, C, N, O, F, P, S and Cl, so we can evaluate them on every dataset without Br or I. Each evaluation subset is a frozen list of sample identifiers, drawn with NumPy's default_rng under the seed given in the tables. Where a table stratifies by size, we assign each molecule to the electron bin and draw the same number of molecules from every bin, so each size carries equal weight.
DFT reference. All reference labels use restricted Kohn–Sham DFT at B3LYP/def2-SVP. We run it with GPU4PySCF (Li et al., 2025a), the GPU backend of PySCF (Sun et al., 2020), with the settings in Tab. 2.
Table 2: DFT reference pipeline (GPU4PySCF 1.8.1, B3LYP/def2-SVP, RI-JK). This pipeline produces the evaluation references for all five datasets, with the sample counts of each split given in Tabs.4 to 8. It also produces the training labels of the QMugs-trained checkpoints. The QM9 training labels come from a separate store computed with identical settings except for a looser convergence threshold (Tab. 4). Transition1x self-consistency training uses no labels.
| Parameter | Value | Notes |
|---|---|---|
| Basis set | def2-SVP | Ahrlichs split-valence double-zeta basis with polarization functions (Weigend & Ahlrichs, 2005). |
| XC functional | B3LYP | Three-parameter hybrid combining exact exchange (Becke, 1993) with LYP (Lee et al., 1988) and VWN local correlation (Vosko et al., 1980) in the parameterization of Stephens et al. (1994); we use the VWN-RPA form, as Gaussian does. |
| Density fitting | RI-J, RI-K | Density fitting of both the Coulomb (Vahtras et al., 1993) and the exact-exchange term (Weigend, 2002). |
| Auxiliary basis | def2-universal-JKFIT | One auxiliary basis serves both the RI-J and the RI-K contractions (Weigend, 2008). |
| Spin treatment | Restricted | Closed-shell restricted Kohn–Sham. |
| Quadrature grid | Level 3 | PySCF grid level for the XC energy and potential (Becke, 1988; Sun et al., 2020). |
| Initial guess | MINAO | Superposition of atomic density matrices in a minimal ANO basis with spherically averaged occupations, projected onto def2-SVP (Almlöf et al., 1982; Van Lenthe et al., 2006; Lehtola, 2019). MINAO starts every reference SCF and is the base of the readouts. |
| Hamiltonian base | SAP | : kinetic matrix plus a superposition of pretabulated screened atomic potentials, integrated on the level-3 grid (Lehtola, 2019; Lehtola et al., 2020b). It is the base of the readouts and does not start the reference SCF. |
| SCF convergence | Converged when the energy changes by less than between cycles and the orbital-gradient norm is below (GPU4PySCF default ); at most 100 cycles. |
Compute stages. We evaluate each prediction in up to three stages of increasing cost (Tab. 3). The cheap stage holds every metric available at the cost of one Fock build, the budget at which we compare all models. The SCF and force stages cost considerably more on large molecules. On the larger test sets we therefore run them on a nested subset only, drawn equally from every electron bin so that it keeps the size distribution of the full set. The stage rows of each test set in the dataset tables give the number of molecules per bin on which each stage ran.
Table 3: Compute stages, costs, and evaluated quantities for model predictions. Each split in Tabs. 4 to 8 states the sample count evaluated at each stage. All errors are measured relative to the reference calculations of Tab. 2.
| Stage | Cost | Computed quantities |
|---|---|---|
| Cheap | One Fock build | The predicted density matrix is the model output for density readouts and the density matrix after diagonalization of the predicted (Eq. (1)) for Hamiltonian readouts. From we build once. Every quantity that needs no further Fock build and no nuclear gradient counts as cheap. |
| SCF | Up to reference | A full SCF started from with the settings of Tab. 2. A run is counted as not converged after twice the cycle count of the MINAO-started reference SCF. |
| Forces | One nuclear gradient | Nuclear forces evaluated at the density matrix , compared with the reference forces . |

Figure 7: Electron-count histogram of QM9. The vertical axis is the molecule count on a logarithmic scale. QM9 contains only H, C, N, O, and F.

Figure 8: Electron-count histogram of QM40. The vertical axis is the molecule count on a logarithmic scale. The two series are the full dataset and its H, C, N, O, F subset.
Table 4: QM9 training splits and evaluation sample counts (Ramakrishnan et al., 2014). The split is a deterministic size cut on the total atom count including hydrogens and involves no random draw. Compute stages are defined in Tab. 3. The electron-count distribution is shown in Fig. 7.
| Parameter | Value | Notes |
|---|---|---|
| Release | 133,885 molecules | Small organic molecules with up to 9 heavy atoms (C, N, O, F), enumerated from GDB-17, with equilibrium geometries relaxed at B3LYP/6-31G(2df,p). |
| Our copy | 130,831 molecules | We drop the 3,054 molecules that the authors flag as uncharacterized. |
| Geometries | 0 K minima | Only the released thermochemistry refers to 298.15 K. |
| Elements | H, C, N, O, F | 1,923 molecules contain F. |
| Size range | 3–29 atoms, 1–9 heavy atoms, 10–74 electrons, 24–226 basis functions. | |
| Training labels | The QM9 checkpoints are trained on labels converged to and otherwise identical to Tab. 2. The total energies agree with the evaluation reference to a median of , with a maximum of . | |
| Training split | ||
| Rule | Molecules with at most 20 atoms. | |
| Size | 103,790 | All 1,923 F-containing molecules have 5–20 atoms and fall into this split, so the validation and test splits contain no F. |
| Validation split | ||
| Rule | Molecules with 21 or 22 atoms. | |
| Elements | H, C, N, O | No molecule contains F. |
| Size | 17,594 | The validation loss during training uses a fixed random subset of 5,000 molecules (seed 0), which also serves for checkpoint selection. |
| Test split | ||
| Rule | Uniform draw without replacement from the 9,447 molecules with 23–29 atoms (seed 0). | |
| Elements | H, C, N, O | No molecule contains F. |
| Size | 2,000 | 68% of the draw has 23 atoms; 1,960 molecules have 9 heavy atoms, 37 have 8 and 3 have 7. Used in Tab. 25. |
| Cheap | All | |
| SCF | All | |
| Forces | All | |
Table 5: QM40 size-extrapolation dataset splits and evaluation sample counts (Madushanka et al., 2024). These checkpoints never see QM40 during training. To match their element vocabulary, we remove every molecule containing S or Cl. Compute stages are defined in Tab. 3. The electron-count distribution is shown in Fig. 8.
| Parameter | Value | Notes |
|---|---|---|
| Release | 162,954 molecules | Drug-like molecules from ZINC14 with 10–40 heavy atoms (C, N, O, S, F, Cl), covering the size range of 88% of FDA-approved drugs. Geometries are pre-optimized with GFN2-xTB and relaxed at B3LYP/6-31G(2df,p), the level of theory of QM9; molecules with imaginary frequencies are removed. |
| Geometries | 0 K minima | |
| Element filter | 99,303 molecules | H, C, N, O, F only, 78–272 electrons. No molecule with 20 or 21 heavy atoms passes the filter, since all of them contain S or Cl. |
| Electron bins | [80, 280) | Ten bins of 20 electrons. The two molecules with 78 electrons fall below the first bin. The sparsest bin, 80–100 electrons, holds 311 molecules. |
| Validation (hyperparameter selection) | ||
| Rule | 50 regular, 25 hard | Used to select learning rate and weight decay (App. L). We remove them from the pool before drawing the test sets. |
| Elements | H, C, N, O, F | Drawn from the element-filtered pool. |
| Size | 75 | |
| Cheap | All | Energy, dipole and error in Tab. 23, alongside the validation loss. |
| Test split | ||
| Rule | 100 per bin | Nested in a parent draw of 200 molecules per bin from the remaining 99,228 molecules (seed 0, bins in ascending order): a first draw of 50 per bin, extended by 50 more per bin (seed 0). |
| Elements | H, C, N, O, F | Drawn from the element-filtered pool. |
| Size | 1,000 | Used in Tab. 26 and all QM40 figures. |
| Cheap | 100 per bin | All 1,000 molecules. |
| SCF | 20 per bin | 200 molecules: 10 per bin from each of the two draws of 50 (seed 0). |
| Forces | 20 per bin | The same 200 molecules. |
Table 6: QMugs dataset splits and evaluation sample counts for pre-training and size extrapolation (Isert et al., 2021). Every sample is a single conformer, and every split is disjoint by molecule. Sets with one conformer per molecule fix that choice in a single draw (seed 0). Compute stages are defined in Tab. 3. The electron-count distribution is shown in Fig. 9.
| Parameter | Value | Notes |
|---|---|---|
| Release | 1,992,984 conformers of 665,911 molecules | Neutral, closed-shell drug-like molecules from ChEMBL 27 with 3–100 heavy atoms (H, C, N, O, F, P, S, Cl, Br, I). Each molecule has three conformers, selected by clustering GFN2-xTB metadynamics snapshots and then optimized with GFN2-xTB. |
| Geometries | 0 K minima | GFN2-xTB local minima; 300 K is only the temperature of the conformer search. |
| Our copy | 657,142 molecules | All conformers via OpenQDC, 22–850 electrons. Molecules are identified by SMILES, which merges some ChEMBL entries. |
| Training split | ||
| Rule | Every conformer with at most 150 electrons (184,583 conformers of 60,367 molecules; 3–22 heavy atoms, 4–54 atoms) that is not in the validation split; all conformers kept. | |
| Elements Size | H, C, N, O, F, P, S, Cl 175,256 conformers | Molecules with Br or I are excluded.57,349 molecules. |
| Validation split | ||
| Rule | Largest 5% | The largest 5% of the molecules with at most 150 electrons, ranked by basis-set size, then electron count: 130–150 electrons, 16–22 heavy atoms, 383–436 basis functions. |
| Elements Size | H, C, N, O, F, P, S, Cl 9,327 conformers | Molecules with Br or I are excluded.3,018 molecules; used for checkpoint selection. |
| Test split, QMugs-trained checkpoints | ||
| Rule | 25 bins of 20 electrons, one conformer per molecule; 100 molecules per bin, a first draw of 50 per bin extended by 50 more (seed 0). Disjoint from training because all conformers of a molecule share the electron count. | |
| Elements Size | H, C, N, O, F, P, S, Cl 2,500 | Molecules with Br or I are excluded.21–90 heavy atoms, 32–196 atoms. Used in Tab. 28. |
| Cheap | 100 per bin | All 2,500 molecules. |
| SCF | 20 per bin | 500 molecules: 10 per bin from each of the two draws of 50 (seed 0). |
| Forces | 20 per bin | The same 500 molecules. |
| Test split, QM9-trained checkpoints | ||
| Rule | 19 bins of 20 electrons, one conformer per molecule; 50 molecules per bin, nested in a parent draw of 200 per bin (seed 0). | |
| Elements Size | H, C, N, O, F 950 | The element vocabulary of the QM9-trained checkpoints.Used in Tab. 27. |
| Cheap | 50 per bin | All 950 molecules. |
| SCF | 10 per bin | 190 molecules (seed 0). |
| Forces | 10 per bin | The same 190 molecules. |

Figure 9: Electron-count histogram of QMugs. The vertical axis is the molecule count on a logarithmic scale. The two series are the full set and the H, C, N, O, F subset (Isert et al., 2021).
Table 7: 3BPA conformational transfer dataset and scan sample counts (Kovács et al., 2021). These checkpoints never see 3BPA during training. We score each fixed-dihedral scan in full, without subsampling, because a subset of a potential-energy cut would be a different curve. Compute stages are defined in Tab. 3.
| Parameter | Value | Notes |
|---|---|---|
| Release | 13,993 frames | A single flexible molecule, 3-(benzyloxy)pyridin-2-amine, with three consecutive rotatable bonds. The MD frames come from 25 ps Langevin trajectories at 300, 600 and 1200 K (1 fs time step) started in five conformational pockets; the dihedral scans are constrained DFT geometry optimizations. The released labels are B97X/6-31G(d), computed with ORCA. |
| Molecule Used subsets | Dihedral scans | 27 atoms, 106 electrons, 270 basis functions.7,047 frames. We do not use the two training sets (500 frames each) or the MD test sets (1,669 / 2,138 / 2,139 frames at 300 / 600 / 1200 K). |
| Dihedrals | Three consecutive rotatable bonds of the benzyl-ether linker: about the pyridine C–O bond, about the O– bond, and about the -phenyl bond. A fourth constraint fixes the amino group. | |
| Grid Geometries | 0 K | in steps of ; in steps of . Constrained minima at each with fixed. |
| Test split | ||
| Rule | Three full scans | : 2,347 frames. The release lacks the three grid points . and : complete grids of 2,350 frames. Each scan is scored as its own set. Used in Tab. 29 and Fig. 4. |
| Size | 7,047 frames | Since every frame is the same molecule, we remove a constant energy offset per scan and model, the median signed error. |
| Cheap | All | |
| Forces | All | |
Table 8: Transition1x reactive chemistry dataset splits and sample counts for self-consistency training (Schreiner et al., 2022). We inherit the release split, which assigns each molecular formula to one split, so our training, validation and test sets share no formula and no reaction. Within each reaction we keep the reactant (R), transition state (TS) and product (P) and a window of path images around the TS. We sign each image's Kabsch root-mean-square deviation (RMSD) to the TS by the side of the TS it lies on. We divide of this signed distance into 20 bins of and keep the image nearest each bin center, dropping empty bins and geometric duplicates. Compute stages are defined in Tab. 3.
| Parameter | Value | Notes |
|---|---|---|
| Release | 9,654,813 frames | Configurations on and around the reaction paths of 10,073 reactions from Grambow et al. (2020), each with up to seven heavy atoms (C, N, O). The frames are images of nudged-elastic-band and climbing-image NEB runs, labeled at B97x/6-31G(d). |
| Elements | H, C, N, O | 4–23 atoms. |
| Geometries | Reaction paths | Non-equilibrium configurations: many lie on or near reaction barriers. |
| Release split | 9,561 / 225 / 287 reactions | Training / validation / test reactions of the release. |
| Reaction coordinate | on the reactant side and on the product side, where is the Kabsch RMSD; R, TS and P sit at and . | |
| Training split (label-free) | ||
| Rule | All reactions | R, TS, P and the TS window for every training reaction. |
| Size | 164,187 frames | 8–23 frames per reaction (median 17), 56–178 basis functions. |
| Validation split | ||
| Rule | 100 reactions | One reaction per equal-size stratum of the 225 validation reactions, ranked by atom count (seed 0). Per reaction we keep R, TS, P and the two window images nearest . |
| Size | 500 frames | Used to select epoch and learning rate by the self-consistency error alone, which needs no reference. |
| Test split | ||
| Rule | 100 reactions | The validation draw rule applied to the 287 test reactions, with the full TS window of the training split. |
| Size | 1,715 frames | 5–14 atoms, 61–124 basis functions. |
| Cheap | All | |
| SCF | All | |
| Forces | All | |
Table 9: Output-scale normalization constants for different model types. is the element-wise root-mean-square of the supervision target in the representation the readout emits into, using the Löwdin frame for the Löwdin-basis heads and the AO basis for the AO-basis heads. We fit all constants on the full training split (103,790 molecules) and verify them end-to-end through the training data pipeline on 20 random training molecules with agreement within 2.7%. The readout applies the constant internally. The additive heads compose , while the rotation head scales the decoder output before generator construction ( is linear in ), keeping the network output at unit scale while losses and gauge constants retain their physical units. Ha is the training-set constant gauge. Ha is the corresponding constant optimal in the AO Frobenius metric. The two metrics give different constants with spreads of 37.3 and 41.0 mHa. Because anticorrelates with system size ( against the basis dimension), constants must be fitted on size-representative samples. For the rotation head, the decoder output enters through the projector sandwich (Eq. (34)), which pins only the occupied–virtual block of at unit weight ( is idempotent) and annihilates the rest. The value 0.0110 is the first-order pinned occupied–virtual block rms, measured against the purified MINAO projector. The true Grassmann-log value runs about 7% higher (), and we use the first-order convention because the fit and the configuration must share one convention. Under the Grassmann interpretation, is a rotation-angle scale rather than a matrix-element scale. The gap-shifted target admits a closed-form constant because the shift lies in the span of , giving with and geometric . No re-measurement is needed for a new shift ( at Ha).
| model type | supervision target | ] | |
|---|---|---|---|
| 0.0350 | 28.6 | ||
| 0.0295 | 33.9 | ||
| 0.0349 | 28.7 | ||
| 0.0471 | 21.2 | ||
| fitted gauge | 0.0148 | 67.6 | |
| fitted gauge (AO) | 0.0171 | 58.5 | |
| GROOT | 0.0110 | 90.9 |
I MODEL HYPERPARAMETERS
I.1 GROUND-STATE DESCRIPTOR MODELS
Table 10: QHFlow2 backbone (Kim et al., 2026). SO(2)-equivariant edgewise–nodewise updates in the style of eSEN (Fu et al., 2025), with the generative flow replaced by the GROOT readout.
| Hyperparameter | Value | Notes |
|---|---|---|
| Number of layers | 4 | |
| Sphere channels | 192 | Shared by backbone and decoder. |
| Maximum degree | 4 | def2-SVP off-diagonal requires . |
| Edge channels | 128 | |
| Node hidden channels | 128 | |
| Radial basis | 128 | fixed Gaussians on |
| Cutoff radius | Envelope only. | |
| Decoder degree | 4 | Same irreps as the backbone. |
| Decoder channels | Self and pair layers at 192 per degree, then an equivariant linear to 64 per degree before the AO-block expansion. | |
| Parameter count | 81.8 M | Identical across all model types. |
| Pair-stream blocks | 2 | Off-diagonal head. |
| Decoder self/pair layers | 2 each | |
| grid resolution | ||
| Decoder pair radial basis | 32 | exp.-Bernstein on |
| AO block irreps | def2-SVP on H, C, N, O, F. |
I.2 MACHINE-LEARNED INTERATOMIC POTENTIAL (MLIP) REFERENCE MODELS
Table 11: Architecture of the PaiNN, NequIP and MACE baselines in the heat maps. All three models sum per-atom energies over the molecule; the PaiNN and MACE MLPs use SiLU. MACE hidden features are , and its edge spherical harmonics reach . The NequIP per-element energy scale is the per-element force RMS of the QM9 training split for the E and E+F models, and 1 for QMugs, which has no forces. The NequIP per-element shift is a least-squares fit to the training energies. MACE uses linear read-outs after interaction layers 1 and 2 and an MLP after layer 3, summed over layers.
| PaiNN | NequIP | MACE | |
|---|---|---|---|
| Interaction layers | 3 | 4 | 3 |
| Features / channels | 128 | 128 per | 256 |
| Max. angular order | |||
| Correlation order | - | - | 3 (body order 4) |
| Parity | - | off | - |
| Radial basis | Gaussian, 20 | Bessel, 8 | Bessel, 8 |
| Cutoff [], function | 5.0, cosine | 5.0, polynomial () | 5.0, polynomial () |
| Read-out | MLP 128–64–1 | linear, scale, shift | linear; MLP 256–128–1 |
| Trainable parameters | 0.6 M | 33.5 M | 18.5 M (E, E+F)20.4 M (QMugs) |
J MODEL IMPLEMENTATION DETAILS ↑toc
Following Kim et al. (2026), we combine the eSCNMD GNN backbone by Wood et al. (2025), which builds on eSEN and eSCN (Fu et al., 2025; Passaro & Zitnick, 2023), with equivariant matrix encoders for the initial-guess and overlap matrices and a QHNet readout (Yu et al., 2023b). From the atomic numbers , coordinates , and initial-guess sub-matrices centered at each atom , the backbone constructs spherical-harmonic node features through SO(2)-equivariant message-passing layers. The QHNet readout constructs the target matrix blockwise. Each atom pair contributes a block , formed by a self-tensor product of the node features for and a filtered tensor product across the two nodes for . Depending on the ansatz, is the Hamiltonian , the density , or the GROOT input . For the Hamiltonian ansatz, we obtain the density by solving Eq. (1). For the Hamiltonian and density ansätze, we symmetrize the decoded block matrix as . The GROOT readout instead uses the raw . Since we parametrize the generator in the same ON basis as the Hamiltonian and density matrices, these readout heads remain interchangeable.
Our JAX port (Babuschkin et al., 2020) corrects two bugs in the official reference implementation at commit d82fa3a1 from 2026-08-09. The first bug occurs in escn_backbone_v4_no_t.py, lines 576 to 584, where the model adds contracted overlap and initial-guess blocks to the node representations. The contraction yields one scalar feature vector per atom, but the reference code reshapes this atom-indexed tensor as if its leading dimension counted graphs in QHFlow_so2_v5_1_no_t.py, lines 347 to 348 and then gathers from it with the graph assignment vector of the batch. Consequently, every atom of the g-th molecule in a batch receives the feature of the g-th atom of the batch instead of its own, so for a single molecule all atoms receive the feature of the first atom and the injected features depend on the atom ordering. Our port keeps the atom index and, going beyond the reference, contracts each block to features of degree that it adds to the matching channels of its own node. In our tests, this correction reduces the relative rotation-equivariance error from to . The second bug appears where the backbone hands off features to the tensor-product decoder at QHFlow_so2_v5_1_no_t.py, line 356 for node features and line 365 for pair features. The backbone stores features as tensors, in which the magnetic index precedes the channel index within each degree , whereas the e3nn irreps of the decoder hold C copies of each degree with the channel index first. The reference code flattens the tensor with a raw reshape that omits the required blockwise transposition, so every block reaches the decoder with its components misordered. Our port converts between the two memory layouts explicitly. With identical parameters and the same activation-normalization constant, our JAX decoder matches the PyTorch decoder to double-precision round-off.
K TRAINING COSTS
three rungs colder
two rungs colder
one rung colder
best learning rate
one rung hotter
two rungs hotter
24-epoch run
-- 12-epoch learning-rate bracket
× stopped early
(a) Hamiltonian models
ROCKET occ+LUMO (3rd stage)
best learning rate

ROCKET cgdata, (ON)
best learning rate
ROCKET gauge-EMA (2nd stage)
best learning rate
best learning rate

(b) Density models
GROOT
best learning rate
GROOT
best learning rate

MINAO Löwdin, (ON)
best learning rate
MINAO AO, (NON)
best learning rate

epoch
epoch
Figure 10: Validation-loss trajectories for learning-rate selection on QMugs. (a) Hamiltonian models. (b) Density models. Each panel reports the selected learning rate above the axes and colors the remaining rates by their position on the sweep. Solid lines show 24-epoch runs, dashed lines show 12-epoch brackets, and crosses mark runs that stopped early. Completed 24-epoch runs take 35–39 h on one NVIDIA H200 GPU, or about 1.5 h per epoch.
L TRAINING AND OPTIMIZATION
In the tables of this appendix, bold and underlined entries are the lowest and second-lowest values in each column, respectively, and red marks an error above the thresholds of Tab. 23 (bold red marks a catastrophic error).
Table 12: Training and optimization hyperparameters. Muon optimizer configuration. The optimizer configuration is shared by all reported runs. Family-specific deviations are stated in the notes. Model-init and training-PRNG seeds are drawn from OS entropy per run and logged.
| Hyperparameter | Value | Notes |
|---|---|---|
| Batch size | 16 | Muon on the 2D hidden weight matrices, AdamW on all remaining parameters. Both optimizer branches use Nesterov momentum, following the Optax (contrib) defaults (Babuschkin et al., 2020). We also tried the same momentum as used for standard Adam but observed no improvements. |
| Optimizer | Muon | |
| Muon momentum | 0.95 | Default (Jordan et al., 2024). |
| Muon Newton–Schulz steps | 5 | Default (Jordan et al., 2024). |
| Adam (, ) | (0.9, 0.999) | Default (Kingma & Ba, 2015). |
| Muon consistent RMS | 0.2 | Each orthogonalized Muon update is scaled by , giving approx. shape-independent update RMS (Liu et al., 2025). |
| Weight decay | Tried . Same weight decay on the Muon and AdamW branches. Decay is masked and applied only to the 2D weight matrices and tensor-product path weights. Biases, normalizations and embeddings are undecayed. | |
| Base learning rate (lr) | - | retuned for each model family |
| Warmup schedule | Linear | |
| Warmup steps | 2,000 | |
| Decay schedule | Cosine | With minimum learning rate of base lr |
| Decay steps | 101,776 | Total 103,776 steps = 16 epochs at 6,486 steps/epoch, batch size 16. |
| Training epochs | 16 | Tried tuned in favor of the baseline methods. Longer runs mainly improve in distribution, with no gains on the size extrapolation val sets. |
| Parameter EMA decay | 0.995 | Tried |
| Consecutive NaN skips | 10 | Maximum consecutive non-finite updates skipped before the run aborts. |
Table 13: ROCKET restraint hyperparameters. The restraint weight is the weight with fitted on the full training split. A three-standard-deviation gauge offset then costs as much as the mean shift-minimized loss. See Sec. 4.
| Hyperparameter | Value | Notes |
|---|---|---|
| Optimal shift std | 37.3 mHa | Standard deviation of the -optimal gauge shifts over the training split. |
| Restraint weight | 1.161 | Calibrated as over the full training split (103,790 molecules). |
| EMA decay | 0.99 | Decay of the EMA of the optimal overlap shift center. Initialized to training split optimal 0.404. |
L.1 DENSITY MODELS
L.1.1 NON LOSS
Table 14: Validation and probe loss of density models trained with the NON loss across learning rates, weight decays, and seeds. Masked decay with output norm. Target is -MINAO except for the absolute-readout block. Validation and QM40 loss are the AO objective (masked Frobenius root-mean-square error, RMSE) on the QM9 validation split at the final epoch and on the fixed probe molecules (reg. 50 / hard 25). columns are per-entry RMS of the final EMA weights by optimizer branch. ON-Loss models are in Tab. 15.
| ep | lr | wd | seed | val loss | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| abs -learning (no-rescale) | ||||||||
| 16 | 3e-4 | 1e-2 | 995756 | 5.73 | 16.3 | 29.6 | 0.16 | 0.55 |
| 16 | 1e-3 | 1e-2 | 995756 | 4.82 | 14.8 | 0.17 | 0.44 | |
| 16 | 3e-3 | 1e-2 | 995756 | 4.48 | 13.8 | 0.26 | 0.40 | |
| " | " | " | 684851 | 36.9 | 0.25 | 0.41 | ||
| " | " | " | 240706 | 18.0 | 384 | 0.26 | 0.41 | |
| 16 | 3e-3 | 3e-3 | 995756 | 4.66 | 14.6 | 52.9 | 0.42 | 0.50 |
| 16 | 1e-2 | 1e-2 | 995756 | 5.31 | 15.0 | 0.32 | 1.03 | |
| abs -learning | ||||||||
| 16 | 3e-3 | 1e-2 | 995756 | 4.49 | 14.8 | 77.9 | 0.25 | 0.42 |
| " | " | " | 684851 | 0.25 | 0.42 | |||
| " | " | " | 240706 | 13.9 | 0.25 | 0.42 | ||
| NON loss, -Learning with | ||||||||
| 16 | 1e-3 | 3e-3 | 982933 | 5.18 | 15.0 | 25.8 | 0.22 | 0.55 |
| 16 | 3e-3 | 3e-3 | 982933 | 4.84 | 14.5 | 0.41 | 0.50 | |
| 16 | 3e-3 | 1e-2 | 982933 | 4.67 | 14.3 | 0.25 | 0.41 | |
| " | " | " | 709626 | 34.8 | 0.26 | 0.42 | ||
| " | " | " | 744226 | 13.0 | 25.7 | 0.26 | 0.41 | |
| 16 | 1e-2 | 3e-3 | 982933 | 7.80 | 16.9 | 28.6 | 0.79 | 1.36 |
L.1.2 ON-LOSS
Table 15: Validation loss of density models trained with the Löwdin-frame ON-Loss. Masked decay with output norm. Target is -MINAO. Validation is the training objective (masked Frobenius RMSE, Löwdin picture) on the QM9 validation split at the final epoch. The QM40-loss columns are the same objective evaluated on the fixed probe molecules (reg. 50 / hard 25, same units). The density family ranks models (Spearman vs ). columns are per-entry RMS of the final EMA weights by optimizer branch. NON-loss models are in Tab. 14. GROOT models are in Tab. 16. Prediction-frame and auxiliary-supervision models are in Tab. 17.
| ep | lr | wd | seed | val loss | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| ON-Loss | ||||||||
| 12 | 1e-3 | 1e-2 | 0 | 1.46 | 7.54 | 9.06 | 0.17 | 0.48 |
| " | " | " | 749811 | 1.47 | 7.10 | 9.12 | 0.17 | 0.47 |
| 12 | 1e-3 | 3e-2 | 0 | 1.40 | 7.99 | 9.51 | 0.10 | 0.35 |
| 12 | 3e-3 | 1e-3 | 0 | 1.43 | 6.03 | 0.42 | 0.59 | |
| 12 | 3e-3 | 3e-3 | 0 | 1.43 | 6.39 | 8.90 | 0.37 | 0.51 |
| 12 | 3e-3 | 1e-2 | 0 | 1.39 | 6.67 | 9.09 | 0.24 | 0.39 |
| 12 | 3e-3 | 3e-2 | 0 | 1.35 | 6.93 | 9.24 | 0.11 | 0.44 |
| 12 | 1e-2 | 1e-2 | 0 | 1.40 | 7.34 | 9.43 | 0.33 | 0.73 |
| 16 | 3e-3 | 3e-4 | 882901 | 1.33 | 6.13 | 9.47 | 0.50 | 0.62 |
| 16 | 3e-3 | 1e-3 | 118790 | 1.35 | 6.89 | 10.7 | 0.47 | 0.58 |
| 16 | 3e-3 | 3e-3 | 154091 | 8.97 | 0.40 | 0.48 | ||
| " | " | " | 406157 | 1.32 | 0.38 | 0.49 | ||
| " | " | " | 145343 | 1.35 | 6.73 | 9.25 | 0.40 | 0.48 |
| 16 | 3e-3 | 1e-2 | 0 | 6.36 | 9.17 | 0.24 | 0.40 | |
| " | " | " | 261042 | 5.96 | 9.23 | 0.24 | 0.40 | |
Table 16: Validation and probe loss of GROOT density models trained with ON-Loss. Masked decay with output norm and a -MINAO target. Validation is the training objective on the QM9 validation split at the final epoch. The QM40-loss columns evaluate that objective on the fixed probe molecules (reg. 50 / hard 25). columns are per-entry RMS of the final EMA weights by optimizer branch.
| ep | lr | wd | seed | val loss | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| + GROOT | ||||||||
| 16 | 1e-3 | 3e-2 | 193360 | 1.24 | 0.09 | 0.32 | ||
| 16 | 3e-3 | 3e-3 | 193360 | 2.33 | 0.36 | 0.47 | ||
| 16 | 3e-3 | 1e-2 | 193360 | 1.17 | 0.22 | 0.36 | ||
| " | " | " | 141727 | 0.21 | 0.35 | |||
| " | " | " | 899526 | 0.22 | 0.35 | |||
| 16 | 3e-3 | 3e-2 | 193360 | 1.39 | 0.10 | 0.41 | ||
| 16 | 1e-2 | 3e-2 | 193360 | 1.18 | 0.11 | 0.83 | ||
| + GROOT | ||||||||
| 16 | 1e-3 | 3e-3 | 628859 | 1.59 | 0.22 | 0.56 | ||
| 16 | 3e-3 | 3e-3 | 628859 | 1.54 | 0.39 | 0.48 | ||
| 16 | 3e-3 | 1e-2 | 628859 | 1.54 | 0.24 | 0.38 | ||
| 16 | 3e-3 | 3e-2 | 628859 | 1.63 | 0.10 | 0.46 | ||
| 16 | 1e-2 | 1e-2 | 628859 | 1.54 | 0.30 | 0.77 | ||
| " | " | " | 506493 | 1.53 | 0.28 | 0.74 | ||
| " | " | " | 900833 | 0.29 | 0.75 | |||
| 16 | 1e-2 | 3e-2 | 628859 | 0.11 | 1.02 | |||
| " | " | " | 798434 | |||||
| " | " | " | 400920 | |||||
L.1.3 PREDICTION FRAME AND AUXILIARY SUPERVISION
Table 17: Prediction-frame and auxiliary-supervision ablations for density and Hamiltonian models under ON-Loss. Density target is -MINAO and Hamiltonian target is -SAP with the training-set optimal constant gauge. Parenthesized validation is the model's own training objective when that objective differs from the table metric. The QM40-loss columns use the Löwdin objective on the fixed probe molecules (reg. 50 / hard 25). The Hamiltonian AO-frame run was killed before the QM40 probe.
| ep | lr | wd | seed | val loss | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| Density GROOT , pre/post supervision | ||||||||
| 16 | 3e-3 | 1e-2 | 193360 | (2.17) | 3.75 | 5.77 | 0.23 | 0.38 |
| Density GROOT , AO-frame prediction | ||||||||
| 16 | 3e-3 | 1e-2 | 193360 | 0.58 | 1.39 | 3.03 | 0.21 | 0.34 |
| Hamiltonian ROCKET, AO-frame prediction | ||||||||
| 16 | 3e-4 | 3e-3 | 443905 | (25.9) | - | - | - | - |
L.2 HAMILTONIAN MODELS
L.2.1 NON-ORTHONORMAL LOSS
Table 18: Validation loss of Hamiltonian models trained with the NON loss, with and without a constant gauge shift. Masked decay with output norm. Target is -SAP, with a training-set constant gauge in the second block only. Validation is the NON training objective on the QM9 validation split at the final epoch. The QM40-loss columns evaluate that objective on the fixed probe molecules (reg. 50 / hard 25). The covariant loss is gauge-dominated and nearly flat across models, quoted for completeness, not for ranking. columns are per-entry RMS of the final EMA weights by optimizer branch. ON-Loss models are in Tab. 20.
| ep | lr | wd | seed | QM9 val | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| abs -learning | ||||||||
| 16 | 1e-4 | 1e-3 | 684464 | 0.78 | 3.95 | 12.2 | 0.18 | 0.62 |
| -learning | ||||||||
| 16 | 3e-6 | 1e-3 | 684464 | 2.12 | 8.7 | 18.4 | 0.18 | 0.63 |
| 16 | 1e-5 | 1e-3 | 684464 | 1.12 | 5.3 | 15.1 | 0.18 | 0.63 |
| 16 | 3e-5 | 1e-3 | 684464 | 0.66 | 4.0 | 13.7 | 0.18 | 0.63 |
| 16 | 1e-4 | 3e-4 | 684464 | 0.39 | 4.0 | 0.18 | 0.62 | |
| 16 | 1e-4 | 1e-3 | 684464 | 0.39 | 4.0 | 0.18 | 0.62 | |
| 16 | 1e-4 | 3e-3 | 684464 | 0.39 | 4.0 | 14.0 | 0.18 | 0.62 |
| 16 | 3e-4 | 1e-3 | 684464 | 50.2 | 119 | 0.18 | 0.62 | |
| 16 | 1e-3 | 1e-3 | 684464 | 33.8 | 81.2 | 0.20 | 0.60 | |
| -learning | ||||||||
| 16 | 1e-6 | 3e-3 | 684464 | 6.94 | 11.9 | 25.0 | 0.18 | 0.63 |
| 16 | 3e-6 | 1e-3 | 684464 | 1.65 | 4.8 | 15.3 | 0.18 | 0.63 |
| 16 | 3e-6 | 3e-3 | 684464 | 1.65 | 4.8 | 15.3 | 0.18 | 0.63 |
| 16 | 1e-5 | 1e-3 | 684464 | 0.78 | 3.4 | 13.4 | 0.18 | 0.63 |
| " | " | " | 896521 | 0.78 | 3.5 | 13.7 | 0.18 | 0.63 |
| " | " | " | 405602 | 0.92 | 5.0 | 15.2 | 0.18 | 0.63 |
| " | " | " | 748187 | 0.79 | 3.5 | 0.18 | 0.63 | |
| 16 | 3e-5 | 1e-3 | 684464 | 0.45 | 3.6 | 13.9 | 0.18 | 0.63 |
| 16 | 1e-4 | 1e-3 | 684464 | 0.27 | 4.0 | 15.3 | 0.18 | 0.63 |
| 16 | 1e-4 | 3e-3 | 684464 | 0.27 | 4.0 | 15.4 | 0.18 | 0.62 |
| 16 | 3e-4 | 1e-3 | 684464 | 29.0 | 65.8 | 0.18 | 0.62 | |
| 16 | 3e-4 | 3e-3 | 684464 | 28.1 | 64.4 | 0.17 | 0.60 | |
| 16 | 1e-3 | 1e-3 | 684464 | 26.1 | 259 | 0.20 | 0.60 | |
| 16 | 3e-3 | 1e-3 | 684464 | 0.21 | 2608 | 35112 | 0.36 | 0.58 |
L.2.2 WALOSS
Table 19: Validation and probe loss of Hamiltonian models trained with WALoss. Target is -SAP, with a training-set constant gauge in the second block only. Validation is the WALoss training objective on the QM9 validation split at the final epoch. The QM40-loss columns evaluate each run's own WALoss objective on the fixed probe molecules (reg. 50 / hard 25). columns are per-entry RMS of the final EMA weights by optimizer branch.
| ep | lr | wd | seed | QM9 val | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| -learning | ||||||||
| 16 | 1e-4 | 1e-3 | 684464 | 11.8 | 12.1 | 56 | 0.18 | 0.63 |
| -learning | ||||||||
| 16 | 3e-6 | 1e-3 | 684464 | 36.0 | 31.6 | 87 | 0.18 | 0.63 |
| 16 | 1e-5 | 1e-3 | 684464 | 9.17 | 12.1 | 110 | 0.18 | 0.63 |
| 16 | 3e-5 | 1e-3 | 684464 | 3.59 | 7.18 | 339 | 0.18 | 0.63 |
| 16 | 1e-4 | 1e-3 | 684464 | 0.18 | 0.63 | |||
| " | " | " | 485210 | 2.77 | 5.82 | 56.6 | 0.18 | 0.63 |
| " | " | " | 710469 | 3.10 | 5.55 | 24.3 | 0.18 | 0.63 |
| 16 | 3e-4 | 1e-3 | 684464 | 0.18 | 0.64 | |||
| 16 | 1e-3 | 1e-3 | 684464 | 3.93 | 10.0 | 62 | 0.21 | 0.73 |
L.2.3 ORTHONORMAL LOSS
Table 20: Validation and probe loss of Hamiltonian models trained with ON-Loss. Target is -SAP, with a training-set constant gauge in the block only. Validation is the training objective on the QM9 validation split at the final epoch. The QM40-loss columns evaluate that objective on the fixed probe molecules (reg. 50 / hard 25). columns are per-entry RMS of the final EMA weights by optimizer branch.
| ep | lr | wd | seed | QM9 val | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| -learning | ||||||||
| 16 | 3e-5 | 3e-3 | 670079 | 1.60 | 0.18 | 0.63 | ||
| " | " | " | 435126 | 1.61 | 9.9 | 0.18 | 0.62 | |
| " | " | " | 301732 | 1.63 | 10.0 | 0.18 | 0.63 | |
| -learning | ||||||||
| 12 | 3e-5 | 1e-2 | 0 | 1.68 | 3.8 | 9.9 | 0.18 | 0.62 |
| 12 | 1e-4 | 1e-2 | 0 | 1.13 | 4.0 | 10.7 | 0.17 | 0.61 |
| 12 | 3e-4 | 1e-2 | 0 | 0.87 | 4.5 | 13.3 | 0.16 | 0.57 |
| 12 | 1e-3 | 1e-2 | 0 | 0.78 | 13.7 | 33.2 | 0.17 | 0.47 |
| 12 | 3e-3 | 1e-2 | 0 | 17.5 | 33.4 | 0.23 | 0.37 | |
| 16 | 1e-5 | 3e-3 | 670079 | 2.20 | 4.2 | 9.9 | 0.18 | 0.63 |
| 16 | 3e-5 | 3e-3 | 670079 | 1.51 | 3.8 | 0.18 | 0.62 | |
| " | " | " | 435126 | 1.52 | 0.18 | 0.62 | ||
| " | " | " | 301732 | 1.53 | 0.18 | 0.63 | ||
| 16 | 3e-5 | 1e-2 | 670079 | 1.51 | 3.8 | 9.8 | 0.18 | 0.62 |
| 16 | 1e-4 | 3e-3 | 670079 | 1.04 | 3.8 | 10.1 | 0.18 | 0.62 |
| 16 | 1e-4 | 1e-2 | 670079 | 1.03 | 3.8 | 10.3 | 0.17 | 0.60 |
| 16 | 1e-4 | 3e-2 | 670079 | 1.02 | 4.0 | 10.9 | 0.15 | 0.56 |
| 16 | 3e-4 | 1e-2 | 670079 | 0.80 | 4.5 | 13.4 | 0.16 | 0.56 |
| 16 | 1e-3 | 3e-3 | 940789 | 22.0 | 48.3 | 0.21 | 0.55 | |
| 16 | 1e-3 | 1e-2 | 0 | 17.3 | 40.4 | 0.17 | 0.44 | |
L.3 ROCKET-LOSS ABLATIONS
Table 21: Validation and probe loss of Hamiltonian models trained with the ROCKET loss. Target is -SAP with a training-set constant gauge. Validation is the model's training objective on the QM9 validation split at the final epoch. The QM40-loss columns evaluate that objective on the fixed probe molecules (reg. 50 / hard 25). columns are per-entry RMS of the final EMA weights by optimizer branch.
| ep | lr | wd | seed | QM9 val | QM40 loss | |||
|---|---|---|---|---|---|---|---|---|
| reg. 50 | hard 25 | Muon | Adam | |||||
| 1st stage (unrestrained gauge) | ||||||||
| 16 | 1e-4 | 1e-2 | 443905 | 0.96 | 41.0 | 32.5 | 0.17 | 0.60 |
| 16 | 3e-4 | 1e-2 | 443905 | 0.75 | 14.2 | 24.5 | 0.16 | 0.56 |
| 16 | 1e-3 | 1e-2 | 443905 | 0.67 | 24.6 | 26.8 | 0.17 | 0.44 |
| 2nd stage (restrained gauge) | ||||||||
| 16 | 1e-4 | 1e-2 | 586405 | 1.38 | 3.6 | 7.8 | 0.17 | 0.60 |
| 16 | 1e-4 | 3e-3 | 586405 | 1.36 | 3.5 | 7.7 | 0.18 | 0.62 |
| 16 | 3e-4 | 3e-3 | 443905 | 0.76 | 2.4 | 7.5 | 0.18 | 0.60 |
| " | " | " | 452826 | 0.77 | 2.3 | 7.1 | 0.18 | 0.60 |
| " | " | " | 862718 | 0.77 | 2.5 | 8.2 | 0.18 | 0.61 |
| 16 | 3e-4 | 1e-2 | 443905 | 0.76 | 2.5 | 8.0 | 0.16 | 0.56 |
| 16 | 1e-3 | 1e-2 | 779430 | 0.73 | 2.5 | 8.9 | 0.17 | 0.44 |
| 16 | 3e-3 | 1e-2 | 958391 | 0.70 | 3.5 | 14.9 | 0.24 | 0.37 |
| 2nd stage (10 fold rel restrained gauge) | ||||||||
| 16 | 3e-4 | 3e-3 | 443905 | 0.87 | 2.1 | 6.31 | 0.18 | 0.60 |
| 3rd stage (supervise occ+LUMO only; ) | ||||||||
| 16 | 3e-4 | 3e-3 | 443905 | 0.46 | 2.2 | 3.8 | 0.18 | 0.61 |
| 16 | 3e-4 | 1e-2 | 443905 | 0.48 | 2.3 | 4.2 | 0.16 | 0.56 |
| 16 | 1e-3 | 3e-3 | 443905 | 0.27 | 1.4 | 3.3 | 0.21 | 0.56 |
| " | " | " | 617814 | 0.43 | 2.2 | 3.9 | 0.21 | 0.56 |
| " | " | " | 307265 | 0.25 | 1.3 | 3.2 | 0.21 | 0.56 |
| 16 | 1e-3 | 1e-3 | 443905 | 0.33 | 1.7 | 3.5 | 0.23 | 0.60 |
| 16 | 3e-3 | 3e-3 | 443905 | 0.26 | 1.4 | 4.1 | 0.36 | 0.47 |
| 3rd stage (supervise occ+LUMO+1; ) | ||||||||
| 16 | 1e-3 | 3e-3 | 443905 | 0.25 | 1.1 | 3.3 | 0.21 | 0.56 |
| 3rd stage (supervise occ+LUMO+3; ) | ||||||||
| 16 | 1e-3 | 3e-3 | 443905 | 0.34 | 0.8 | 3.1 | 0.21 | 0.56 |
| 2nd stage + gap shifts (50 mHa, 100 mHa, 200 mHa, 800 mHa) | ||||||||
| 16 | 3e-4 | 3e-3 | 443905 | 0.83 | 2.4 | 7.9 | 0.18 | 0.60 |
| 16 | 3e-4 | 3e-3 | 443905 | 0.92 | 2.6 | 7.7 | 0.18 | 0.60 |
| 16 | 3e-4 | 3e-3 | 443905 | 0.99 | 3.0 | 8.0 | 0.18 | 0.60 |
| 16 | 3e-4 | 3e-3 | 443905 | 3.08 | 7.1 | 9.6 | 0.18 | 0.60 |
| 3rd stage + gap shift 100 mHa | ||||||||
| 16 | 3e-4 | 3e-3 | 443905 | 0.86 | 3.1 | 4.5 | 0.18 | 0.61 |
L.4 SELF-CONSISTENCY-TRAINING LEARNING-RATE SELECTION
Self-consistency training needs no reference labels, so we also select its learning rate without them. Tab. 22 reports the training objective on the Transition1x validation split for every learning rate and epoch. At each scored epoch we take the learning rate with the lowest residual; the resulting checkpoints are evaluated on the test split in Tab. 30.
Table 22: Validation loss across learning rates and epochs for Transition1x self-consistency training (Tab. 8). Entries report the mean training objective residual over the Transition1x validation split in units of , used to select checkpoints for Tab. 30. For ROCKET 3rd stage, values omit the gauge-restraint term. LR denotes the peak learning rate of the warmup-cosine schedule. Underlined values mark the lowest validation loss per configuration and epoch column, identifying the selected checkpoint. Epochs evaluated in the Transition1x test evaluation table (Tab. 30). * Runs stopped before configured completion. Each block reports a distinct model residual and cannot be compared across blocks.
| LR | Validation self-consistency residual after epoch | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | |||||
| – density residual, (dimensionless) | ||||||||||||
| 12.4 | 9.10 | 8.47 | 7.59 | 7.00 | 6.98 | |||||||
| 9.08 | 7.41 | 7.00 | 6.65 | 6.20 | 5.33 | 5.26 | 4.98 | 4.88 | 4.84 | 4.81 | 4.81 | |
| 8.13 | 7.42 | 6.71 | 5.97 | 5.86 | 5.25 | 5.01 | 4.66 | 4.34 | 4.28 | 4.23 | 4.19 | |
| 10.6 | 8.75 | 8.45 | 7.38 | 6.36 | 5.50 | 5.19 | 4.71 | 4.41 | 4.15 | 4.07 | 4.04 | |
| 13.1 | 10.4 | 8.87 | 8.01 | 7.02 | 6.85 | 5.78 | 5.43 | 5.07 | 4.75 | 4.58 | 4.52 | |
| – density residual, (dimensionless) | ||||||||||||
| 9.83 | 7.86 | 7.30 | 6.77 | |||||||||
| 7.32 | 6.11 | 5.72 | 5.52 | 5.08 | 4.86 | 4.81 | 4.72 | 4.62 | 4.58 | 4.55 | 4.54 | |
| 7.61 | 6.46 | 6.06 | 5.42 | 5.18 | 4.77 | 4.66 | 4.27 | 4.12 | 4.11 | 4.01 | 4.02 | |
| 8.45 | 7.06 | 7.04 | 6.11 | 5.80 | 4.85 | 4.79 | 4.37 | 4.17 | 3.99 | 3.92 | 3.91 | |
| 9.93 | 8.06 | 7.57 | 6.93 | 6.58 | 5.85 | 5.58 | 4.82 | 4.61 | 4.41 | 4.33 | 4.26 | |
| – raw-readout density residual, (dimensionless) | ||||||||||||
| 8.52 | 6.99 | 6.27 | 5.84 | 5.58 | 5.40 | |||||||
| 6.68 | 5.63 | 5.10 | 4.80 | 4.61 | 4.40 | 4.29 | 4.19 | 4.14 | 4.11 | |||
| 6.52 | 5.57 | 5.03 | 4.72 | 4.43 | 4.16 | 3.94 | 3.77 | 3.66 | 3.60 | 3.56 | 3.55 | |
| 8.86 | 7.04 | 7.49 | ||||||||||
| 1377 | 2037 | |||||||||||
| ROCKET 3rd stage – gauge-free occ+LUMO Hamiltonian residual, Ha | ||||||||||||
| 4.08 | 3.24 | 2.85 | 2.60 | |||||||||
| 2.97 | 2.54 | 2.29 | 2.11 | 1.99 | 1.90 | 1.85 | 1.75 | 1.72 | 1.70 | 1.69 | 1.69 | |
| 2.97 | 2.61 | 2.38 | 2.14 | 2.00 | 1.80 | 1.68 | 1.60 | 1.52 | 1.49 | 1.46 | 1.45 | |
| 3.68 | 2.96 | 2.78 | 2.48 | |||||||||
| 5.06 | 8.35 | |||||||||||
M SELF-CONSISTENCY TRAINING ↑toc
Self-consistency training (SCT) fine-tunes a pretrained GSM on molecular geometries alone (Zhang et al., 2024). Instead of evaluating errors against converged electronic reference labels, each training step performs a single Fock build and penalizes deviation from self-consistency. We compare two such objectives on Transition1x (Tab. 30).
Hamiltonian and density matrix residuals. Zhang et al. (2024) introduce SCT for Hamiltonian prediction, penalizing the Frobenius difference between the predicted Hamiltonian and the Hamiltonian reconstructed from its own eigenvectors. We extend this residual to density GSMs and express both targets as
where denotes one Fock build, and forms the occupied density matrix from the lowest O eigenvectors of Eq. (1) (Eq. (2)). For density models, this residual is the self-consistency error of Sec. 5. Following Zhang et al. (2024), we evaluate the residual in the non-orthogonal (NON) basis and backpropagate through the Fock build. This residual weights all matrix entries equally and inherits the overlap-dependent spectral distortion of the NON metric (Sec. 4, App. D). The targets are also scaled asymmetrically because carries energy units while is dimensionless, and differentiating through the eigensolver to form can destabilize training near orbital degeneracies.
Occupied–virtual gradient objective. Instead of evaluating matrix differences, we supervise GSMs with the occupied–virtual (OV) gradient of the electronic energy from solver-aligned initialization learning (SAIL) (Eberhard et al., 2026a). Under a budget of one Fock build, the multi-step trajectory of SAIL reduces to a single step
Here and denote the occupied and virtual orbital counts (), and is the Fock matrix in the Löwdin orthonormal basis. For density models, and collect the eigenvectors of the predicted Löwdin density with the largest and smallest eigenvalues. For Hamiltonian models, they collect the eigenvectors of , with . The matrix measures the gradient of the electronic energy with respect to occupied–virtual rotations. It carries units of energy, vanishes exactly at self-consistency, and remains invariant under rotations within the occupied and virtual subspaces. The OV gradient provides a unified, physical objective for both density and Hamiltonian GSMs without requiring an ad hoc matrix norm.
Connection to the self-consistency rejection rule. The OV gradient directly minimizes the commutator rejection statistic used at inference (Sec.5). In the orbital basis , any idempotent density matrix satisfies . The diagonal blocks of the commutator between the Löwdin Fock matrix and the density matrix vanish identically, leaving only the off-diagonal blocks and . The Frobenius norm of this commutator gives the DIIS residual of the self-consistency rejection rule
For GROOT and all Hamiltonian models, the prediction is idempotent by construction, so directly minimizes the rejection statistic itself. This matches the drop in Transition1x rejection rates in Tab. 30, where rejection drops from 13.5% under the matrix residual to 2.6% under for , and from 1.2% to 0.2% for . For unconstrained , predictions have fractional eigenvalues off the Grassmannian, producing commutator contributions that does not penalize and leaving rejection rates elevated at 25.0%.
Training protocol. We warm-start all models from the QMugs parent checkpoints of Tab. 28 and train on the 164,187 unlabeled frames of the Transition1x training split (Tab. 8) under a cosine learning-rate schedule without weight decay or replay of pretraining data. We select the peak learning rate of each model by the validation residual alone (App. L.4, Tab. 22), so that no training or selection step uses reference labels. Each epoch costs one Fock build and its backward pass per geometry, avoiding the costly iterations required for converged references.
N LOSS VS OBSERVABLES
Table 23: QM40 probe observables of the production runs. Every model whose epoch, learning rate, and weight decay are set to its production value, aggregated over its entropy-seed replicates as the mean over seeds. The loss column evaluates each family's own training objective on the fixed probe molecules (reg. 50, ) and is comparable only within a block. The cata. column sums the reg. 50 and hard 25 catastrophe counts. is the one-Fock-build electronic-energy MAE in mEh, and a catastrophe is mEh. Bold and underlined entries are the lowest and second-lowest values in each observable column, respectively. Red marks an error above 3/10 mEh for regular/hard , 1/4 D for the dipole, 0.2/1 for , or cata. .
| lr | wd | loss | dipole [D] | cata. | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| reg. | hard | reg. | hard | reg. | hard | ||||||
| NON losses | |||||||||||
| Density | |||||||||||
| abs. | 3 | 3e-3 | 1e-2 | 14.3 | 259 | 1655 | 0.76 | 31.9 | 0.50 | 4.13 | 11.7 |
| 3 | 3e-3 | 1e-2 | 13.7 | 76 | 263 | 0.51 | 4.50 | 0.38 | 1.4 | 1.3 | |
| Hamiltonian | |||||||||||
| abs. | 1 | 1e-4 | 1e-3 | 4.0 | 8626 | 19188 | 319 | 441 | 24.7 | 44.4 | 64 |
| 1 | 3e-5 | 1e-3 | 4.0 | 712 | 2989 | 50.8 | 120 | 3.57 | 11.1 | 24 | |
| 4 | 1e-5 | 1e-3 | 3.9 | 1396 | 3532 | 69.5 | 125 | 5.44 | 11.2 | 35 | |
| WALoss | |||||||||||
| Hamiltonian | |||||||||||
| 1 | 1e-4 | 1e-3 | 12.1 | 2032 | 4338 | 1.46 | 25.0 | 4.64 | 9.12 | 68 | |
| 3 | 1e-4 | 1e-3 | 5.5 | 614 | 3333 | 7.07 | 51.7 | 1.76 | 7.54 | 19.7 | |
| ON-Loss | |||||||||||
| Density | |||||||||||
| 3 | 3e-3 | 3e-3 | 6.1 | 35.0 | 41.1 | 0.09 | 0.60 | 0.08 | 0.24 | 0 | |
| 3 | 3e-3 | 1e-2 | 1.1 | 0.87 | 9.24 | 0.07 | 1.89 | 0.05 | 0.46 | 0 | |
| 3 | 1e-2 | 1e-2 | 1.5 | 1.68 | 121 | 0.07 | 51.4 | 0.05 | 3.57 | 2 | |
| Hamiltonian | |||||||||||
| 3 | 3e-5 | 3e-3 | 3.7 | 2.74 | 19.8 | 0.20 | 4.43 | 0.22 | 1.25 | 0 | |
| 3 | 3e-5 | 3e-3 | 3.7 | 2.22 | 15.5 | 0.23 | 4.26 | 0.19 | 1.11 | 0 | |
| ROCKET (Hamiltonian) | |||||||||||
| 1st stage | 1 | 3e-4 | 1e-2 | 14.2 | 3.83 | 69.7 | 0.46 | 1.87 | 0.38 | 2.30 | 0 |
| 2nd stage | 3 | 3e-4 | 3e-3 | 2.4 | 1.22 | 8.38 | 0.12 | 3.63 | 0.11 | 0.83 | 0 |
| + gap shift 50 mHa | 1 | 3e-4 | 3e-3 | 2.4 | 1.22 | 8.24 | 0.11 | 3.70 | 0.11 | 0.84 | 0 |
| + gap shift 100 mHa | 1 | 3e-4 | 3e-3 | 2.6 | 1.25 | 8.60 | 0.11 | 3.49 | 0.11 | 0.83 | 0 |
| + gap shift 200 mHa | 1 | 3e-4 | 3e-3 | 3.0 | 1.44 | 7.78 | 0.12 | 3.52 | 0.12 | 0.78 | 0 |
| + gap shift 800 mHa | 1 | 3e-4 | 3e-3 | 7.1 | 2.83 | 9.42 | 0.13 | 2.08 | 0.13 | 0.56 | 0 |
| 3rd stage | 3 | 1e-3 | 3e-3 | 1.6 | 0.42 | 7.69 | 0.09 | 1.58 | 0.09 | 0.72 | 0 |
| + gap shift 100 mHa | 1 | 3e-4 | 3e-3 | 3.1 | 0.48 | 6.34 | 0.09 | 2.54 | 0.09 | 0.73 | 0 |
| 3rd stage | 1 | 1e-3 | 3e-3 | 1.1 | 0.45 | 6.50 | 0.10 | 1.39 | 0.09 | 0.67 | 0 |
| 3rd stage | 1 | 1e-3 | 3e-3 | 0.8 | 0.51 | 8.57 | 0.09 | 2.50 | 0.10 | 0.78 | 0 |
N.1 FROBENIUS LOSS VERSUS OBSERVABLE ERRORS
Tab. 23 compares training losses by downstream observable accuracy. Here we evaluate whether the matrix-level training loss directly tracks observable errors across molecules, and whether evaluating that loss in the Löwdin basis strengthens the relationship. Figures 11 to 14 plot observable errors against Frobenius losses in both bases across QM40 molecules. Tab. 24 reports the corresponding Pearson correlation of loss with observable error, alongside mutual information . The Löwdin loss predicts observable errors more reliably than the atomic-orbital loss in 22 of 24 panel pairs for and in all 24 for . This improvement is most pronounced for models trained with , where the atomic-orbital loss decorrelates from observable errors.
Table 24: Correlation and mutual information between Frobenius loss and observable errors across QM40 plate panels. We report the Pearson correlation between Frobenius loss and observable error, alongside mutual information in bits estimated with -nearest neighbors (). Statistics are evaluated for each model pooled across seeds, corresponding to the scatter points in each plate panel. NON denotes the raw congruence , and ON denotes the Löwdin congruence for densities or for Hamiltonians. Bold text marks the superior value in each pair, where larger values indicate stronger predictive alignment. The evaluation uses 1000 QM40 molecules per seed without exclusions, with force rows restricted to the 200 molecules per seed that possess reference forces.
| Model | Seeds | (base 2) | |||
|---|---|---|---|---|---|
| NON | ON | NON | ON | ||
| 3 | 0.595 | 0.669 | 0.38 | 0.56 | |
| 3 | 0.778 | 0.909 | 0.87 | 1.58 | |
| 1 | 0.924 | 0.932 | 1.17 | 1.32 | |
| 3 | 0.555 | 0.802 | 0.30 | 1.06 | |
| 4 | 0.911 | 0.927 | 1.10 | 1.24 | |
| 3 | 0.556 | 0.760 | 0.29 | 0.84 | |
| 3 | 0.695 | 0.732 | 0.51 | 0.60 | |
| 3 | 0.544 | 0.616 | 0.34 | 0.41 | |
| 1 | 0.883 | 0.880 | 1.09 | 1.30 | |
| 3 | 0.529 | 0.602 | 0.25 | 0.46 | |
| 4 | 0.869 | 0.867 | 1.04 | 1.10 | |
| 3 | 0.524 | 0.567 | 0.29 | 0.35 | |
| 3 | 0.784 | 0.857 | 0.78 | 1.06 | |
| 3 | 0.737 | 0.837 | 0.67 | 0.97 | |
| 1 | 0.907 | 0.913 | 1.18 | 1.44 | |
| 3 | 0.577 | 0.727 | 0.38 | 0.88 | |
| 4 | 0.905 | 0.912 | 1.14 | 1.31 | |
| 3 | 0.580 | 0.675 | 0.37 | 0.67 | |
| 3 | 0.772 | 0.800 | 0.66 | 0.72 | |
| 3 | 0.618 | 0.717 | 0.51 | 0.70 | |
| 1 | 0.905 | 0.911 | 1.05 | 1.36 | |
| 3 | 0.599 | 0.791 | 0.45 | 0.93 | |
| 4 | 0.891 | 0.910 | 1.19 | 1.38 | |
| 3 | 0.604 | 0.757 | 0.38 | 0.73 | |


Figure 11: Energy error E against Frobenius loss. Each point represents one QM40 test molecule and seed on logarithmic axes. Rows correspond to model families , , and . Column blocks indicate the training objective ( followed by ). Within each block, the left panel evaluates the raw loss and the right panel evaluates the Löwdin loss (Eq. (3)). Individual panels report r and I, with Löwdin panels displaying the gain over the raw counterpart. Tab.24 compiles summary statistics across all four observables.


Figure 12: Dipole error against Frobenius loss. Panels share the models, layout, pooling, and annotations of Fig. 11. The vertical axis displays the dipole error in Debye.

(b)
(c)

(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(1)
Figure 13: Density error against Frobenius loss. Panels share the models, layout, pooling, and annotations of Fig. 11. The vertical axis displays the real-space density error in electrons.
(a)

(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(1)
Figure 14: Force error against Frobenius loss. Panels share the models, layout, pooling, and annotations of Fig. 11. The vertical axis displays the per-atom mean force error . Because only 200 molecules per seed carry reference forces, these panels contain fewer samples than the preceding figures.
O MODEL EVALUATION DATA
Tab. 25 evaluates observable errors for the models of Tab. 23 on the QM9 test split, providing the in-distribution baseline for size extrapolation. Figures 15 and 16 resolve density observable errors over electron count , separating errors present at training size from errors induced by extrapolation. Figures 17 and 18 report the corresponding resolution for Hamiltonian models. Each figure pair shows QM40 before QMugs, extending extrapolation to approximately twice the electron counts of QM40. Tabs. 26 and 27 aggregate observable errors for these models over the full QM40 and QMugs test sets.
O.1 TRAINING ON QM9
Table 25: Observable errors on the QM9 test split for QM9-trained models (Tab. 4). Each cell reports the mean over seeds of the per-molecule mean absolute error, with the seed range in square brackets. Values in round brackets average all molecules of the lane before outlier exclusion, identical across models. Per column, the best bracketed mean and the best single seed are underlined. Predictions with DIIS residual mHa are excluded as outliers, where for scored density and Fock matrix . Unbracketed values average kept molecules only, and Excluded reports the lost molecule percentage. Models losing all molecules display a dash before the bracketed value. is the KS-DFT energy evaluated at the predicted density (Sec. 5), and is the converged reference energy. All observables evaluate 2000 molecules before outlier exclusion. ERIC reports SCF iterations relative to the MINAO guess, averaged over the full lane with unconverged runs capped at 2. LR and WD denote peak learning rate and weight decay from the training configuration. Single seed without range.
| Model | LR | WD | Excluded (%) | Self-consistent energy (mHa) | Dipole (D) | (e) | Forces (mHa/Å) | HOMO-LUMO (mHa) | ERIC (ratio) | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Density-space models | |||||||||||
| 62.9 | 9.65 | (12.1)(12, 13) | 0.0419 (0.0553) | 0.0333 (0.0428) | 0.974 (1.26)(1.3, 1.3) | 0.578 (0.774)(0.77, 0.78) | 0.745 (0.754)(0.75, 0.75) | ||||
| 61.8 | 10.4 | (12.2)(12, 13) | 0.0421 (0.0545) | 0.0337 (0.0427) | 1.00 (1.27)(1.3, 1.3) | 0.570 (0.759)(0.75, 0.78) | 0.745 (0.754)(0.75, 0.75) | ||||
| 21.2 | 8.47 | (9.32)(9.2, 9.6) | 0.0512 (0.0563) | 0.0399 (0.0439) | 1.19 (1.31)(1.3, 1.3) | 0.741 (0.813)(0.79, 0.86) | 0.751 (0.755)(0.75, 0.76) | ||||
| 0 | 1.22 | (1.22)(1.2, 1.3) | 0.00634 (0.00634) | 0.00460 (0.00460) | 0.139 (0.139)(0.14, 0.14) | 0.0798 (0.0798)(0.079, 0.082) | 0.660 (0.660)(0.66, 0.66) | ||||
| 0 | 0.0499 | (0.0499) | 0.00385 (0.00385) | 0.00368 (0.00368) | 0.0798 (0.0798) | 0.0559 (0.0559)(0.055, 0.056) | 0.623 (0.623)(0.62, 0.63) | ||||
| 0 | 0.0254 | (0.0254)(0.025, 0.026) | 0.00307 (0.00307) | 0.00284 (0.00284) | 0.0622 (0.0622) | 0.0442 (0.0442)(0.044, 0.044) | 0.605 (0.605)(0.60, 0.61) | ||||
| Hamiltonian-space models | |||||||||||
| 3.85 | 0.995 | (30.3) | 0.0208 (0.484) | 0.0168 (0.0832) | 0.381 (3.18) | 0.263 (2.32) | 0.703 (0.714) | ||||
| 1.15 | 0.635 | (3.92) | 0.0226 (0.0337) | 0.0190 (0.0249) | 0.427 (0.632) | 0.331 (0.540) | 0.709 (0.711) | ||||
| 0.0500 | 0.107 | (0.112) | 0.00894 (0.00897) | 0.00826 (0.00829) | 0.179 (0.180) | 0.127 (0.128) | 0.667 (0.667) | ||||
| 100 | - | (852) | - | (2.14) | - | (44.8) | - | (1.06) | |||
| 0 | 0.146 | (0.146)(0.14, 0.15) | 0.0157 (0.0157) | 0.0154 (0.0154) | 0.326 (0.326)(0.32, 0.33) | 0.238 (0.238)(0.23, 0.24) | 0.690 (0.690)(0.69, 0.69) | ||||
| 5.76 | 1.05 | (52.0)(22, 88) | 0.0286 (0.213) | 0.0242 (0.109) | 0.543 (3.21)(1.7, 5.6) | 0.385 (2.73)(1.2, 4.6) | 0.725 (0.742)(0.73, 0.76) | ||||
| 0.350 | 0.0558 | (5.45) | 0.00666 (0.0258) | 0.00599 (0.0162) | 0.133 (0.376) | 0.106 (0.448) | 0.651 (0.653) | ||||
| 100 | - | (164)(130, 203) | - | (0.152)(0.12, 0.19) | - | (8.54)(6.6, 11) | - | (0.930)(0.91, 0.95) | |||
| 0 | 0.132 | (0.132)(0.13, 0.13) | 0.0145 (0.0145) | 0.0136 (0.0136) | 0.291 (0.291)(0.29, 0.29) | 0.212 (0.212)(0.20, 0.22) | 0.684 (0.684)(0.68, 0.68) | ||||
| ROCKET 2nd stage | 0 | 0.0395 | (0.0395)(0.039, 0.040) | 0.00612 (0.00612) | 0.00605 (0.00605) | 0.128 (0.128)(0.13, 0.13) | 0.0957 (0.0957)(0.088, 0.10) | 0.653 (0.653)(0.65, 0.65) | |||
| ROCKET 3rd stage | 0 | 0.00958 | (0.00958) | 0.00402 (0.00402) | 0.00428 (0.00428) | 0.0898 (0.0898)(0.088, 0.091) | 0.0690 (0.0690)(0.067, 0.071) | 0.618 (0.618)(0.62, 0.62) | |||
O.1.1 DENSITY-PREDICTION PLOTS

Figure 15: Density-readout models on QM40, resolved over electron count. All models use the QM9-trained checkpoint of Tab. 4 evaluated on the out-of-distribution QM40 set of Tab. 5, binned by the molecular electron count and given a one-Fock-build budget. We compare the absolute density readout, its unrescaled variant, the readout in the AO basis, the same -readout in the Löwdin basis (ON-Loss), and the two manifold-restricted variants and (Sec. 4). Lines are means over the entropy-seed replicates stated in the legend and the shaded band spans the seed spread, so single-seed models carry no band; the vertical axes of all error panels are logarithmic. ERIC is the effective relative iteration count (Eberhard et al., 2026a), where values below one mean fewer SCF iterations than the reference initial guess.

Figure 16: Density-readout models on QMugs, resolved over electron count. Same QM9-trained checkpoints, evaluation protocol, binning and aggregation as Fig. 15, on the larger QMugs molecules (Fig. 9), which reach against on QM40. is the only model whose error panels stay flat over the whole range and it leads every error panel, by up to three orders of magnitude on the energies; together with the Löwdin -readout it is also the only model that stays below the reference guess in ERIC, whereas rises above it from on and climbs towards the cap on the largest molecules. The evaluation set is the 950-molecule qmugs_ebins200_cheap50 subset of Tab. 27.
O.1.2 HAMILTONIAN-PREDICTION PLOTS ↑toc
(NON), WA-loss [1 seed]
(NON), QM9 best [1 seed]
ROCKET 3rd stage [3 seeds]
(NON), WA-loss [3 seeds]
(ON) [3 seeds]
(NON) [4 seeds]
(ON) [3 seeds]
ROCKET 2nd stage [3 seeds]
(NON) [1 seed]
(Harris-Foulkes)

[D]
[e]
[mE_h]
ERIC (rel. SCF iterations)
Figure 17: Hamiltonian-readout models on QM40, resolved over electron count. Same evaluation protocol, binning and aggregation as Fig. 15, for the readouts. The models span the representation (AO versus Löwdin basis, Eq. (3)), the loss (WALoss versus the ROCKET objective of Eq. (9)) and the gauge treatment (none, a training-set fitted constant shift, and the EMA-centered restraint of Eq. (10)), with the occupied-plus-LUMO masked variant as the final model. The Löwdin-basis ROCKET models separate from the AO-basis models by two to three orders of magnitude on every energy panel, and are the only models that stay below the reference guess in ERIC across the whole range.
(NON) [1 seed]
ROCKET 3rd stage [3 seeds]
(ON) [3 seeds]
(ON) [3 seeds]
(Harris-Foulkes)

[D]
[e]
[mE_h]
ERIC (rel. SCF iterations)
Figure 18: Hamiltonian-readout models on QMugs, resolved over electron count. Same protocol as Fig. 16, for the readouts. The AO-basis model sits one to two orders of magnitude above the Löwdin-basis ROCKET models on every panel and is pinned at the ERIC cap across the range. Among the ROCKET models the gauge-EMA, occupied-plus-LUMO masked variant leads every panel, but unlike on QM40 (Fig. 17) every Hamiltonian model exceeds the reference guess in ERIC beyond .
O.1.3 QM40 EXTRAPOLATION DATA TABLES
Table 26: Observable errors under size extrapolation to QM40 for QM9-trained models (Tab. 5). Each cell reports the mean over seeds of the per-molecule mean absolute error, with the seed range in square brackets. Values in round brackets average all molecules of the lane before outlier exclusion, identical across models. Per column, the best bracketed mean and the best single seed are underlined. Predictions with DIIS residual mHa are excluded as outliers, where for scored density and Fock matrix . Unbracketed values average kept molecules only, and Excluded reports the lost molecule percentage. Models losing all molecules display a dash before each bracketed value. is the KS-DFT energy evaluated at the predicted density, adds the first-order self-consistency correction (Sec. 5), and is the converged reference energy. Before outlier exclusion, 1000 molecules enter Excluded, , , Dipole, , and HOMO–LUMO, while 200 molecules enter Forces and ERIC. ERIC reports SCF iterations relative to the MINAO guess, averaged over the full lane with unconverged runs capped at 2. LR and WD denote peak learning rate and weight decay from the training configuration. Single seed without range.
| Model | LR | WD | Excluded (%) | Self-consistent energy (mHa) | First-order corrected energy (mHa) | Dipole (D) | (e) | Forces (mHa/) | HOMO–LUMO (mHa) | ERIC (ratio) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Density-space models | |||||||||||||||||
| (NON) | 100 | - | (338)(245, 431) | - | (11.5)(8.0, 16) | - | (0.616)(0.55, 0.67) | - | (6.72)(5.8, 7.7) | - | (0.830)(0.82, 0.84) | ||||||
| (NON), no rescale | 100 | - | (175) | - | (4.07) | - | (0.594) | - | (0.477) | - | (5.36) | - | (0.821) | ||||
| (NON) | 100 | - | (75.7) | - | (2.17) | - | (0.581) | - | (0.446) | - | (7.51) | - | (5.06) | - | (0.816) | ||
| [100, 100] | (61, 98) | (1.3, 3.8) | (0.50, 0.72) | (0.41, 0.52) | (6.7, 9.0) | (4.9, 5.3) | (0.81, 0.82) | ||||||||||
| (NON), Aufbau-purified | 96.2 | 2.90 | (52.5) | 0.0374 | (0.981) | 0.0305 | (0.255) | 0.0342 | (0.217) | 0.578 | (2.53) | 0.473 | (1.89) | 0.722 (0.758) | |||
| (ON) | 75.3 | 6.92 | (45.5) | 0.0581 | (0.617) | 0.0518 | (0.118) | 0.0267 | (0.102) | 0.663 | (1.59) | 0.524 | (1.25) | 0.694 (0.697) | |||
| (ON), Aufbau-purified | 66.0 | 2.87 | (24.5) | 0.0472 | (0.214) | 0.0559 | (0.113) | 0.0364 | (0.113) | 0.720 | (1.36) | 0.455 | (1.09) | 0.691 (0.702) | |||
| 1.97 | 1.97 | (2.09) | 0.0586 | (0.104) | 0.0866 | (0.0941) | 0.0612 | (0.0652) | 0.875 | (0.889) | 0.585 | (0.670) | 0.671 (0.672) | ||||
| 0.633 | 1.14 | (2.88) | 0.0730 | (0.453) | 0.0951 | (0.104) | 0.0636 | (0.0692) | 0.902 | (1.25) | 0.742 | (0.831) | 0.666 (0.668) | ||||
| Hamiltonian-space models | |||||||||||||||||
| (NON) | 92.4 | 4.18 | (1034) | 0.0607 | (584) | 0.100 | (71.9) | 0.0748 | (5.23) | 1.50 | (231) | 1.07 | (55.7) | 0.779 (1.13) | |||
| (NON), QM9 best | 99.0 | 4.91 | (9227) | 1.04 | (8390) | 0.251 | (537) | 0.246 | (38.8) | 5.24 | (2020) | 3.56 | (166) | 0.881 (1.81) | |||
| (NON), WALoss | 100 | - | (2404) | - | (246) | - | (2.85) | - | (5.43) | - | (53.5) | - | (21.8) | - | (1.07) | ||
| (ON) | 2.40 | 3.35 | (3.82) | 1.22 | (1.73) | 0.316 | (0.346) | 0.275 | (0.300) | 3.82 | (4.09) | 3.06 | (3.44) | 0.781 (0.784) | |||
| (NON) | 87.7 | 5.21 | (1513) | 0.123 | (707) | 0.145 | (80.0) | 0.110 | (5.96) | 1.83 | (254) | 1.30 | (56.7) | 0.779 (1.14) | |||
| (NON), WALoss | 100 | - | (974) | - | (154) | - | (18.2) | - | (2.76) | - | (43.7) | - | (28.6) | - | (1.04) | ||
| (ON) | 0.967 | 2.91 | (3.07) | 0.900 | (1.09) | 0.283 | (0.294) | 0.238 | (0.247) | 3.13 | (3.26) | 2.49 | (2.70) | 0.763 (0.765) | |||
| ROCKET 2nd stage | 0.0667 | 1.70 | (1.71) | 0.395 | (0.408) | 0.179 | (0.179) | 0.153 | (0.154) | 2.07 | (2.07) | 2.17 | (2.19) | 0.722 (0.722) | |||
| ROCKET 3rd stage | 0.0333 | 0.665 | (0.671) | 0.369 | (0.377) | 0.157 | (0.157) | 0.133 | (0.133) | 1.81 | (1.81) | 1.66 | (1.68) | 0.709 (0.709) | |||
| ROCKET 3rd stage, | 0 | 0.667 | (0.667) | 0.298 | (0.298) | 0.148 | (0.148) | 0.130 | (0.130) | 1.75 | (1.75) | 1.59 | (1.59) | 0.706 (0.706) | |||
O.1.4 QMUGS EXTRAPOLATION DATA TABLES
Table 27: Observable errors under size extrapolation to QMugs for QM9-trained models (Tab. 6). Each cell reports the mean over seeds of the per-molecule mean absolute error, with the seed range in square brackets. Values in round brackets average all molecules of the lane before outlier exclusion, identical across models. Per column, the best bracketed mean and the best single seed are underlined. Predictions with DIIS residual exceeding mHa are excluded as outliers, judged per checkpoint and molecule. Unbracketed values average kept molecules only, and Excluded reports the lost molecule percentage. Models losing all molecules display a dash before each bracketed value. is the KS-DFT energy evaluated at the predicted density (Sec. 5), and is the converged reference energy. Before outlier exclusion, 950 molecules enter Excluded, , Dipole, , and HOMO–LUMO, while 190 molecules enter Forces and ERIC. ERIC reports SCF iterations relative to the MINAO guess, averaged over the full lane with unconverged runs capped at 2. LR and WD denote peak learning rate and weight decay from the training configuration. Single seed without range.
| Model | LR | WD | Excluded (%) | Self-consistent energy (mHa) | Dipole (D) | (e) | Forces (mHa/Å) | HOMO–LUMO (mHa) | ERIC (ratio) |
|---|---|---|---|---|---|---|---|---|---|
| Density-space models | |||||||||
| 100 | - (46920)(1214, 137230) | - (145)(8.3, 369) | - (12.9)(5.5, 25) | - (314)(69, 756) | - (76.3)(59, 104) | - (1.23)(1.1, 1.4) | |||
| 100 | - (13720)(887, 31790) | - (14.2)(1.0, 31) | - (2.03)(1.3, 3.2) | - (60.1)(8.7, 154) | - (10.8)(8.5, 14) | - (0.817)(0.81, 0.83) | |||
| 61.5 | 10.4 (36.9)(28, 44) | 0.279 (3.29)(3.3, 3.3) | 0.329 (0.647)(0.62, 0.69) | 2.41 (3.27)(3.2, 3.4) | 2.17 (3.48)(3.5, 3.5) | 0.743 (0.776)(0.77, 0.79) | |||
| 68.8 | 8.28 (26318)(8755, 36267) | 0.360 (957)(422, 1317) | 0.392 (66.7)(31, 87) | 2.65 (2794)(1006, 3982) | 3.55 (79.7)(57, 92) | 0.743 (1.32)(1.1, 1.4) | |||
| Hamiltonian-space models | |||||||||
| 100 | - (4417) | - (585) | - (29.9) | - (709) | - (137) | - (1.76) | |||
| 87.3 | 14.7 (730)(529, 1000) | 1.16 (160)(114, 228) | 1.18 (16.3)(13, 21) | 10.3 (366)(236, 551) | 8.02 (95.9)(91, 103) | 0.883 (1.39)(1.4, 1.4) | |||
| 82.8 | 14.6 (164)(128, 193) | 1.12 (15.5)(9.9, 21) | 1.23 (5.63)(4.8, 6.4) | 9.69 (51.8)(39, 69) | 7.62 (64.5)(55, 72) | 0.869 (1.18)(1.1, 1.2) | |||
| ROCKET 2nd stage | 69.5 | 16.9 (103)(58, 176) | 1.04 (3.43)(2.3, 4.5) | 1.49 (3.65)(3.0, 4.2) | 10.9 (26.5)(22, 31) | 9.30 (33.7)(26, 40) | 0.879 (1.03)(0.98, 1.1) | ||
| ROCKET 3rd stage | 64.9 | 15.0 (152)(63, 207) | 1.08 (3.22)(2.4, 4.2) | 1.71 (3.76)(3.4, 4.0) | 12.1 (27.0)(25, 29) | 8.96 (28.1)(24, 33) | 0.891 (1.04)(1.0, 1.1) | ||
| ROCKET 3rd stage, | 64.0 | 15.3 (85.9) | 1.06 (3.28) | 1.75 (3.76) | 12.2 (27.1) | 9.10 (28.4) | 0.890 (1.02) | ||
O.2 TRAINING ON QMUGS ↑toc

Figure 19: Density-readout models on the QMugs out-of-distribution (OOD) test set, resolved over electron count. QMugs-trained 24-epoch checkpoints evaluated under the dataset and protocol of Tab. 28, using 100 molecules per 20-electron bin over , with forces and ERIC evaluated on the 500-molecule force subset. The models evaluate the readout under and under ON-Loss, and the two manifold-restricted variants and (Sec. 4). Markers are the per-bin mean absolute error of each model's single seed and every error panel uses a logarithmic vertical axis; Tab. 28 reports the corresponding dataset-level means. ERIC is the effective relative iteration count (Eberhard et al., 2026a), where values below one mean fewer SCF iterations than the reference initial guess.

Figure 20: Hamiltonian-readout models on the QMugs OOD test set, resolved over electron count. Same checkpoints, dataset, protocol, binning, and aggregation as Fig. 19 for the readouts, comprising the AO-basis readout with a training-set fitted constant gauge under and the two ROCKET stages of Eqs. (10) and (12). Tab. 28 reports the corresponding dataset-level means.
O.2.1 QMUGS SIZE-EXTRAPOLATION DATA TABLES
Table 28: Observable errors under size extrapolation to QMugs for QMugs-trained models (Tab. 6). Each cell reports the per-molecule mean absolute error of a single seed. Values in round brackets average all molecules of the lane before outlier exclusion, identical across models. Per column, the best bracketed value within each training group is underlined. Predictions with DIIS residual exceeding mHa are excluded as outliers, judged per checkpoint and molecule. Unbracketed values average kept molecules only, and Excluded reports the lost molecule percentage. is the KS-DFT energy evaluated at the predicted density, adds the first-order self-consistency correction (Sec. 5), and is the converged reference energy. Before outlier exclusion, 2500 molecules enter Excluded, , , Dipole, , and HOMO–LUMO, while 500 molecules enter Forces and ERIC. ERIC reports SCF iterations relative to the MINAO guess, averaged over the full lane with unconverged runs capped at 2. LR and WD denote peak learning rate and weight decay from the training configuration.
| Model | LR | WD | Excluded (%) | Self-consistent energy (mHa) | First-order corrected energy (mHa) | Dipole (D) | (e) | Forces (mHa/Å) | HOMO–LUMO (mHa) | ERIC (ratio) |
|---|---|---|---|---|---|---|---|---|---|---|
| Supervised, 24 epochs | ||||||||||
| >99.9 | 4.01 (245) | 0.0142 (59.0) | 0.127 (3.92) | 0.0343 (1.43) | - (16.2) | 0.123 (9.80) | - (0.818) | |||
| 53.2 | 10.1 (31.4) | 0.140 (0.365) | 0.0638 (0.143) | 0.0495 (0.155) | 0.696 (2.01) | 0.406 (1.10) | 0.628 (0.668) | |||
| 1.12 | 3.22 (9.29) | 0.0712 (36.8) | 0.114 (4.69) | 0.101 (0.313) | 0.678 (3.11) | 0.481 (1.18) | 0.643 (0.654) | |||
| 0.360 | 1.73 (1.80) | 0.0699 (0.209) | 0.0980 (0.165) | 0.0818 (0.0884) | 0.573 (0.879) | 0.391 (0.491) | 0.626 (0.631) | |||
| 29.6 | 5.33 (963) | 0.0527 (655) | 0.136 (96.9) | 0.143 (6.20) | 1.02 (156) | 0.499 (30.2) | 0.667 (0.937) | |||
| 2.96 | 4.85 (10.7) | 1.57 (8.25) | 0.307 (0.491) | 0.340 (0.424) | 2.45 (3.35) | 1.24 (2.40) | 0.719 (0.734) | |||
| 0.600 | 3.42 (3.70) | 0.529 (0.941) | 0.212 (0.256) | 0.223 (0.237) | 1.57 (1.79) | 1.04 (1.12) | 0.692 (0.695) | |||
| 0.200 | 1.10 (1.18) | 0.445 (0.557) | 0.226 (0.229) | 0.189 (0.193) | 1.56 (1.61) | 0.782 (0.793) | 0.678 (0.679) | |||
| Supervised, continued to 72 epochs | ||||||||||
| 0.960 | 2.77 (8.81) | 0.0796 (36.7) | 0.116 (4.67) | 0.108 (0.317) | 0.697 (3.18) | 0.494 (1.20) | 0.645 (0.658) | |||
| 0.200 | 1.52 (1.59) | 0.0715 (0.217) | 0.0933 (0.160) | 0.0783 (0.0848) | 0.547 (0.853) | 0.390 (0.487) | 0.623 (0.628) | |||
O.2.2 3BPA DIHEDRAL-SCAN DATA TABLES
Table 29: Observable errors under conformational transfer across three 3BPA fixed-dihedral scans for QMugs-trained models (Tab. 7). Because 3BPA samples a single molecule across a dense conformational grid rather than distinct chemical formulas, this test isolates conformational generalization from compositional variation. Each scan constitutes a distinct block of 2347 frames () or 2350 frames (), evaluated separately without pooling. Each cell reports the per-molecule mean absolute error of a single seed. Values in round brackets average all frames before outlier exclusion, identical across models. Per column and block, the best bracketed value is underlined. is the KS-DFT energy evaluated at the predicted density, adds the first-order self-consistency correction (Sec. 5), and is the converged reference energy. Energy columns subtract the per-frame signed error median separately for each model and block. Predictions with DIIS residual exceeding mHa are excluded as outliers, judged per checkpoint and molecule. Unbracketed values average kept molecules only, and Excluded reports the lost molecule percentage. Models losing all molecules display a dash before each bracketed value. LR and WD denote peak learning rate and weight decay from the training configuration. Baseline potentials PaiNN, NequIP, and MACE train on QMugs energies alone and predict energy directly, with forces obtained by negative gradients.
| Model | LR | WD | Excluded (%) | First-order corrected energy (mHa) | Self-consistent energy (mHa) | Dipole (D) | (e) | Forces (mHa/Å) | HOMO–LUMO (mHa) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 100 | - | (0.204) | - | (13.5) | - | (0.187) | - | (0.148) | - | (4.12) | - | (3.32) | |||
| 0.0426 | 0.00634 (0.00643) | 4.34 | (4.35) | 0.108 | (0.108) | 0.0572 | (0.0572) | 1.27 | (1.27) | 0.995 | (0.995) | ||||
| 0.213 | 0.104 | (0.604) | 0.157 | (1.26) | 0.235 | (0.285) | 0.183 | (0.188) | 4.35 | (4.54) | 1.19 | (1.29) | |||
| 0 | 0.0159 | (0.0159) | 0.0278 | (0.0278) | 0.139 | (0.139) | 0.107 | (0.107) | 2.33 | (2.33) | 0.635 | (0.635) | |||
| 0 | 0.0316 | (0.0316) | 0.0209 | (0.0209) | 0.112 | (0.112) | 0.0968 | (0.0968) | 1.95 | (1.95) | 0.621 | (0.621) | |||
| 0 | 0.125 | (0.125) | 0.0732 | (0.0732) | 0.252 | (0.252) | 0.229 | (0.229) | 4.91 | (4.91) | 1.42 | (1.42) | |||
| 0 | 0.107 | (0.107) | 0.0595 | (0.0595) | 0.222 | (0.222) | 0.220 | (0.220) | 4.65 | (4.65) | 1.28 | (1.28) | |||
| PaiNN | (1.14) | (26.7) | |||||||||||||
| NequIP | (1.16) | (25.6) | |||||||||||||
| MACE | (1.17) | (33.1) | |||||||||||||
| 100 | - | (0.225) | - | (7.60) | - | (0.193) | - | (0.131) | - | (3.83) | - | (2.92) | |||
| 0 | 0.00833 | (0.00833) | 3.55 | (3.55) | 0.0921 | (0.0921) | 0.0548 | (0.0548) | 1.18 | (1.18) | 0.970 | (0.970) | |||
| 0 | 0.136 | (0.136) | 0.213 | (0.213) | 0.213 | (0.213) | 0.184 | (0.184) | 4.30 | (4.30) | 1.39 | (1.39) | |||
| 0 | 0.0200 | (0.0200) | 0.0395 | (0.0395) | 0.158 | (0.158) | 0.105 | (0.105) | 2.43 | (2.43) | 1.03 | (1.03) | |||
| 0 | 0.0208 | (0.0208) | 0.0223 | (0.0223) | 0.107 | (0.107) | 0.0939 | (0.0939) | 1.89 | (1.89) | 0.855 | (0.855) | |||
| 0 | 0.162 | (0.162) | 0.0973 | (0.0973) | 0.236 | (0.236) | 0.236 | (0.236) | 5.06 | (5.06) | 1.64 | (1.64) | |||
| 0 | 0.140 | (0.140) | 0.0820 | (0.0820) | 0.215 | (0.215) | 0.227 | (0.227) | 4.79 | (4.79) | 1.46 | (1.46) | |||
| PaiNN | (1.37) | (24.1) | |||||||||||||
| NequIP | (1.63) | (26.5) | |||||||||||||
| MACE | (1.62) | (33.5) | |||||||||||||
| 100 | - | (0.243) | - | (8.96) | - | (0.207) | - | (0.137) | - | (4.06) | - | (3.17) | |||
| 0 | 0.00802 | (0.00802) | 4.76 | (4.76) | 0.0868 | (0.0868) | 0.0538 | (0.0538) | 1.14 | (1.14) | 0.970 | (0.970) | |||
| 0 | 0.151 | (0.151) | 0.196 | (0.196) | 0.188 | (0.188) | 0.181 | (0.181) | 4.18 | (4.18) | 1.37 | (1.37) | |||
| 0 | 0.0157 | (0.0157) | 0.0481 | (0.0481) | 0.128 | (0.128) | 0.0965 | (0.0965) | 2.27 | (2.27) | 1.05 | (1.05) | |||
| 0 | 0.0106 | (0.0106) | 0.0250 | (0.0250) | 0.0825 | (0.0825) | 0.0851 | (0.0851) | 1.66 | (1.66) | 0.838 | (0.838) | |||
| 0 | 0.154 | (0.154) | 0.0940 | (0.0940) | 0.195 | (0.195) | 0.230 | (0.230) | 4.86 | (4.86) | 1.59 | (1.59) | |||
| 0 | 0.153 | (0.153) | 0.0887 | (0.0887) | 0.189 | (0.189) | 0.224 | (0.224) | 4.70 | (4.70) | 1.45 | (1.45) | |||
| PaiNN | (1.19) | (24.3) | |||||||||||||
| NequIP | (1.88) | (25.7) | |||||||||||||
| MACE | (1.66) | (33.2) | |||||||||||||
O.3 SELF-CONSISTENCY-FINE-TUNING ON TRANSITION1X
Table 30: Observable errors on the Transition1x test split across self-consistency training epochs (Tab. 8). These reactive geometries represent chemistry that the QMugs-trained parent checkpoints of Tab. 28 never encountered during pre-training. The first block evaluates the 24-epoch parent checkpoints before self-consistency training. Subsequent blocks evaluate models warm-started from each parent after 2, 4, and 6 epochs of occupied-virtual gradient training under a cosine schedule. The final block evaluates models trained for 6 epochs with the residual of Zhang et al. (2024). No run uses weight decay or experience replay. LR denotes the peak learning rate selected on the validation split by the self-consistency residual alone (Tab. 22). Each cell reports the per-molecule mean absolute error of a single seed. Values in round brackets average all 1715 frames before outlier exclusion, and the best bracketed value per column and block is underlined. is the KS-DFT energy at the predicted density, adds the first-order self-consistency correction (Sec. 5), and is the converged reference energy. Predictions with DIIS residual exceeding mHa are excluded as outliers, judged per checkpoint and molecule. Unbracketed values average kept molecules only, and Excluded reports the lost molecule percentage. Models losing all molecules display a dash before each unbracketed value. ERIC reports SCF iterations relative to the MINAO guess, averaged over all frames with unconverged runs capped at 2.
| Model | LR | Excluded (%) | First-order corrected energy (mHa) | Self-consistent energy (mHa) | Dipole (D) | (e) | Forces (mHa/Å) | HOMO-LUMO (mHa) | ERIC (ratio) |
|---|---|---|---|---|---|---|---|---|---|
| Before self-consistency training (the QMugs-trained parents) | |||||||||
| 95.9 | 0.0363 (33.4) | 13.3 (142) | 0.0680 (2.09) | 0.0396 (0.667) | 2.80 (47.0) | 0.784 (17.8) | 0.769 (0.980) | ||
| 84.7 | 0.0386 (3.58) | 44.1 (116) | 0.0416 (0.805) | 0.0323 (0.269) | 2.64 (21.8) | 0.455 (7.99) | 0.741 (0.896) | ||
| 72.4 | 0.202 (63.7) | 0.574 (33.7) | 0.146 (4.14) | 0.0713 (1.01) | 4.37 (66.4) | 1.49 (23.9) | 0.794 (0.999) | ||
| 64.5 | 0.259 (43.9) | 0.511 (21.3) | 0.153 (3.29) | 0.0716 (0.830) | 4.87 (56.9) | 1.75 (20.7) | 0.791 (0.978) | ||
| 61.7 | 0.893 (46.2) | 0.814 (22.6) | 0.261 (3.05) | 0.158 (0.877) | 8.22 (51.8) | 2.84 (22.4) | 0.853 (0.998) | ||
| 59.7 | 0.876 (35.7) | 0.831 (17.2) | 0.255 (2.78) | 0.155 (0.789) | 8.17 (47.2) | 3.02 (21.5) | 0.850 (0.987) | ||
| 58.9 | 0.913 (33.5) | 0.783 (16.3) | 0.273 (2.72) | 0.156 (0.770) | 8.38 (45.8) | 2.93 (20.3) | 0.851 (0.985) | ||
| After 2 epochs of self-consistency training (occupied-virtual gradient) | |||||||||
| 100 | - (10.7) | - (393) | - (1.55) | - (0.523) | - (39.0) | - (14.5) | - (0.986) | ||
| 52.3 | 0.239 (1.26) | 17.3 (33.0) | 0.153 (0.587) | 0.0565 (0.149) | 5.94 (13.4) | 2.22 (5.73) | 0.789 (0.853) | ||
| 5.60 | 0.491 (2.66) | 1.39 (3.21) | 0.320 (0.670) | 0.0891 (0.152) | 6.28 (10.5) | 2.34 (2.91) | 0.809 (0.825) | ||
| 0.466 | 0.237 (0.608) | 0.450 (0.542) | 0.239 (0.280) | 0.0676 (0.0767) | 4.78 (5.23) | 1.63 (1.72) | 0.781 (0.783) | ||
| 0.350 | 0.254 (0.945) | 0.358 (0.505) | 0.238 (0.283) | 0.0702 (0.0806) | 4.91 (5.39) | 1.65 (1.76) | 0.787 (0.788) | ||
| 0.350 | 0.220 (1.21) | 0.319 (0.500) | 0.219 (0.264) | 0.0663 (0.0769) | 4.55 (5.04) | 1.52 (1.62) | 0.783 (0.784) | ||
| 0.292 | 0.180 (0.899) | 0.293 (0.439) | 0.194 (0.233) | 0.0607 (0.0698) | 4.13 (4.54) | 1.43 (1.51) | 0.777 (0.777) | ||
| After 4 epochs of self-consistency training (occupied-virtual gradient) | |||||||||
| 100 | - (7.21) | - (315) | - (1.34) | - (0.409) | - (33.2) | - (12.5) | - (0.961) | ||
| 36.8 | 0.232 (0.803) | 16.0 (26.9) | 0.166 (0.490) | 0.0545 (0.120) | 5.63 (10.9) | 2.52 (4.66) | 0.784 (0.833) | ||
| 3.21 | 0.418 (2.12) | 1.12 (2.50) | 0.303 (0.577) | 0.0784 (0.129) | 5.52 (8.84) | 1.88 (2.32) | 0.791 (0.802) | ||
| 0.233 | 0.170 (0.630) | 0.313 (0.400) | 0.191 (0.230) | 0.0541 (0.0626) | 3.79 (4.20) | 1.29 (1.35) | 0.760 (0.762) | ||
| 0.350 | 0.166 (0.687) | 0.223 (0.321) | 0.184 (0.238) | 0.0544 (0.0651) | 3.74 (4.30) | 1.29 (1.35) | 0.764 (0.765) | ||
| 0.175 | 0.156 (0.955) | 0.207 (0.342) | 0.174 (0.211) | 0.0524 (0.0608) | 3.56 (3.94) | 1.26 (1.30) | 0.760 (0.760) | ||
| 0.175 | 0.161 (0.821) | 0.202 (0.323) | 0.177 (0.212) | 0.0513 (0.0595) | 3.52 (3.88) | 1.21 (1.26) | 0.756 (0.758) | ||
| After 6 epochs of self-consistency training (occupied-virtual gradient) | |||||||||
| 100 | - (5.52) | - (258) | - (1.19) | - (0.347) | - (29.5) | - (11.1) | - (0.942) | ||
| 25.0 | 0.216 (0.520) | 14.5 (21.1) | 0.180 (0.401) | 0.0532 (0.0964) | 5.28 (8.80) | 2.49 (3.71) | 0.780 (0.815) | ||
| 2.57 | 0.393 (2.00) | 0.936 (2.17) | 0.284 (0.531) | 0.0724 (0.117) | 5.13 (8.13) | 1.66 (2.01) | 0.782 (0.792) | ||
| 0.233 | 0.140 (0.655) | 0.253 (0.340) | 0.172 (0.212) | 0.0481 (0.0565) | 3.39 (3.82) | 1.12 (1.18) | 0.748 (0.750) | ||
| 0.292 | 0.147 (0.793) | 0.177 (0.277) | 0.173 (0.220) | 0.0493 (0.0592) | 3.41 (3.89) | 1.16 (1.23) | 0.754 (0.756) | ||
| 0.233 | 0.107 (0.674) | 0.152 (0.244) | 0.146 (0.185) | 0.0445 (0.0531) | 3.07 (3.45) | 1.00 (1.07) | 0.748 (0.749) | ||
| 0.233 | 0.134 (0.741) | 0.159 (0.247) | 0.155 (0.194) | 0.0456 (0.0537) | 3.13 (3.53) | 1.05 (1.08) | 0.746 (0.747) | ||
| After 6 epochs of NON matrix residual self-consistency training (residual of Zhang et al. (2024)) | |||||||||
| 47.1 | 0.0201 (0.0724) | 10.8 (13.6) | 0.0453 (0.113) | 0.0220 (0.0401) | 2.27 (3.57) | 0.499 (0.941) | 0.735 (0.763) | ||
| 30.4 | 0.0151 (0.0777) | 5.55 (8.53) | 0.0384 (0.0992) | 0.0165 (0.0326) | 1.44 (2.75) | 0.413 (0.861) | 0.719 (0.748) | ||
| 13.5 | 0.0411 (2.01) | 0.474 (1.66) | 0.0844 (0.408) | 0.0330 (0.0922) | 2.12 (6.08) | 0.729 (1.39) | 0.735 (0.763) | ||
| 1.17 | 0.118 (1.07) | 0.268 (0.419) | 0.151 (0.214) | 0.0455 (0.0582) | 3.20 (3.84) | 0.966 (1.10) | 0.744 (0.747) | ||
| 0.816 | 0.238 (1.65) | 0.221 (0.439) | 0.205 (0.290) | 0.0620 (0.0787) | 4.29 (5.25) | 1.42 (1.59) | 0.767 (0.770) | ||
| 0.233 | 0.182 (1.05) | 0.173 (0.295) | 0.179 (0.216) | 0.0528 (0.0609) | 3.57 (3.95) | 1.20 (1.24) | 0.755 (0.757) | ||
| 0.117 | 0.159 (0.774) | 0.120 (0.201) | 0.169 (0.197) | 0.0484 (0.0544) | 3.30 (3.56) | 1.06 (1.07) | 0.744 (0.745) | ||
P RUNTIME ↑toc
(a)

(b)
Figure 21: Wall time to a converged SCF from ML and MINAO starts on out-of-distribution QMugs molecules. (a) Time from the prepared molecule to a converged SCF against the electron count, for the MINAO baseline (dashed) and for SCFs started from the predictions of GROOT , GROOT and ROCKET (third stage). The timed region covers the initial guess, the model input, the forward pass and the SCF; only the per-molecule system setup is excluded. (b) Solid lines: mean cost of one SCF cycle, i.e. SCF time divided by cycle count, dominated by the Fock build and including DIIS and diagonalization. Dotted lines: time from the forward pass to the starting density, including the copy to the CPU and, for ROCKET, the density matrix after diagonalization of the predicted Hamiltonian; the GROOT models start from their predicted density directly. Points are single molecules; lines join per-bin medians in (a) and per-bin means in (b) over 20-electron bins, without fitted curves. The set holds three random QMugs molecules per 20-electron bin in [160, 660), 75 in total, all beyond the 150-electron training range, computed with the reference settings of Tab. 2. Each molecule runs on one NVIDIA H200. One discarded warm-up round absorbs compilation and the grid and density-fitting setup; the four pipelines then alternate over 10 timed rounds, and each molecule contributes its minimum. All runs converge, and the ML-started SCFs reach the baseline total energy to within . Relative to MINAO, the median time to convergence is 0.70 for both GROOT models and 0.72 for ROCKET.