arXiv:2611.07695cs.LGNov 2026

Manuscript Offprint

arXiv:2611.07695

Equivariant Deep Learning in Direct-Product Space for Electronic-Structure Hamiltonian Prediction

Shi Yin, Zujian Dai, Xinyang Pan, Lixin He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Deep learning provides a promising route to efficient prediction of electronic-structure Hamiltonians, enabling high-throughput screening across large collections of materials. However, most existing equivariant architectures propagate features in direct-sum spaces of irreducible spherical tensors, whereas the target Hamiltonian is naturally an operator block in a direct-product representation over local orbital and spin bases. This representation mismatch fragments contiguous Hamiltonian blocks, obscures direct manipulation of orbital couplings, and organizes features into irregular angular-momentum components that require numerous transformations and are poorly aligned with efficient hardware execution and memory management. To address both the representation mismatch and computational bottleneck, we propose DP-Learner, an equivariant learning framework that performs message passing directly on Hamiltonian-like operator blocks in the direct-product space. Theoretically, we propose Lie-generator-based directional embedding and invariantly weighted left-right products and contractions that preserve equivariance to SO(3)SO(3), SU(2)SU(2), and spatial inversions, without explicit Clebsch–Gordan decomposition or inverse reconstruction. Methodologically, we instantiate this principle as a Transformer architecture, in which Hamiltonian-like feature matrices or tensors evolve through equivariant operators in the direct-product space, while non-linear invariant scalar routing controls structured gating over matrix units, directional propagation, attention, and environment-embedded context interactions. We further construct MP-HAM-110K, a large-scale Hamiltonian dataset comprising more than 110,000 material structures covering 68 elements with both Hamiltonian and wavefunction data. Experiments on MP-HAM-110K and Materials-HAM-SOC demonstrate that DP-Learner dramatically improves Hamiltonian prediction accuracy and inference efficiency over the state-of-the-art method, with up to a 40.6% reduction in prediction error, an 11.2×11.2\times speedup in neural inference, and a 95.2% reduction in peak GPU memory consumption.

1 INTRODUCTION

Accurately computing electronic-structure Hamiltonians, from which energy spectra, band topology, and electronic wavefunctions can be obtained, enables the prediction of electrical, optical, transport, and dynamical properties and ultimately connects microscopic electronic structure to macroscopic condensed-matter behavior. Such capabilities are essential for overcoming the efficiency bottleneck of traditional trial-and-error materials development and enabling low-cost, high-throughput materials screening for accelerated discovery. For decades, Hamiltonians have been primarily computed using density functional theory (DFT) (Hohenberg & Kohn, 1964; Kohn & Sham, 1965). However, DFT requires a self-consistent (SC) iteration loop involving repeated matrix diagonalizations, leading to a prohibitive computational cost of O(TN3)\mathcal{O}(TN^3) for a system of size NN and TT SC iterations. This cubic scaling severely limits the simulation of large-scale or structurally complex materials.

Figure

Figure 1: Existing approaches often encode features in the direct-sum representations of irreducible spherical tensors, creating a mismatch with the Hamiltonian target and requiring irregular, transformation-heavy computations that are difficult to execute efficiently. In contrast, DP-Learner operates directly in the Hamiltonian's native direct-product representation, preserving the target tensor structure, orbital and spin couplings, as well as the symmetry constraints throughout the network for accurate and efficient equivariant Hamiltonian prediction.

The landscape of computational physics has been substantially reshaped by the recent integration of artificial intelligence (Zhang et al., 2025). State-of-the-art deep geometric networks (Gong et al., 2023; Yu et al., 2023b; Zhang et al., 2024; Zhong et al., 2024; Wang et al., 2024; Yin et al., 2025; Li et al., 2025) have demonstrated the capability to directly map spatial atomic configurations to the corresponding electronic-structure Hamiltonian matrices. By bypassing the expensive self-consistent iterations, these data-driven approaches achieve orders-of-magnitude computational acceleration in acquiring core electronic-structure quantities, enabling high-fidelity exploration of novel materials. For more details, readers are directed to Appendix B.

However, current deep learning methods for electronic-structure Hamiltonian prediction still face central limitations in both representation quality and computational efficiency. Physically, the Hamiltonian is naturally represented as operator blocks in the direct-product (or tensor-product) space of local orbital and spin bases, where orbital and spin degrees of freedom are coupled with the underlying spatial geometry within a unified matrix- or tensor-valued observable. In contrast, existing equivariant architectures for Hamiltonian prediction commonly re-express these observables as direct sums of irreducible spherical tensors. This indirect organization fragments contiguous Hamiltonian blocks and obscures explicit orbital couplings. In SO(3)SO(3) tensor-product layers, feature products repeatedly undergo Clebsch–Gordan decomposition into irreducible components. Moreover, the heterogeneous channel sizes and angular-momentum-dependent tensor product, decomposition and reconstruction paths commonly involve padding and masking, sparse Clebsch–Gordan coefficient accesses, frequent indexing and coefficient lookups, and many small tensor kernels. These irregular operations complicate memory management, reduce data reuse, and are poorly matched to dense computation on modern hardware accelerators, particularly for rich basis sets containing dd- and ff-orbitals or explicit spin degrees of freedom.

A recent advance in Hamiltonian prediction is NextHAM (Yin et al., 2026), which introduces the zeroth-step Hamiltonian H(0)H^{(0)} as a physically informed input descriptor that is naturally represented in the same direct-product operator space as the target Hamiltonian and can be efficiently constructed without matrix diagonalization. Because H(0)H^{(0)} already encodes substantial electronic-structure priors while sharing the matrix topology, orbital basis, and symmetry constraints of the final self-consistent Hamiltonian, it alleviates the information sparsity of conventional atomic or bond embeddings and provides a unified, physically informed representation across diverse materials. This advance substantially improves cross-material transferability of the neural network, moving Hamiltonian learning beyond individual material systems with limited variation toward generalizable electronic-structure prediction over a chemically diverse materials space of more than 60 elements. However, NextHAM still converts H(0)H^{(0)} into irreducible spherical tensors for feature propagation. The mismatch between fragmented features in the direct-sum space and native Hamiltonian blocks, together with the overhead of sparse and heterogeneous tensor operations and the heavy transformation between direct-sum and direct-product states, still remains. A detailed discussion of these related works is provided in Appendix D.

To address the representation mismatch and computational burdens, we propose DP-Learner, an equivariant Hamiltonian-prediction framework that performs message passing directly on complete atom-pair Hamiltonian blocks in the Direct-Product space. Starting from the zeroth-step Hamiltonian H(0)H^{(0)}, DP-Learner preserves the matrix or tensor layout of the target self-consistent Hamiltonian H(T)H^{(T)} throughout the network and learns the correction from H(0)H^{(0)} to H(T)H^{(T)}. This design naturally captures the intrinsic coupling structure of Hamiltonians in the direct-product space, while avoiding Clebsch–Gordan decompositions of feature tensor products and conversions between Hamiltonian matrices and irreducible features, providing substantial advantages in computational efficiency and hardware utilization, as analyzed in Appendix H.

Theoretically, we establish a Hamiltonian-native equivariant deep learning framework based on two complementary ingredients. First, we develop a Lie-generator-based directional embedding mechanism that maps each local geometric direction r^ab\hat{r}_{ab} to an equivariant operator acting on the local orbital or orbital–spin spaces associated with the Hamiltonian block in the direct-product space. Second, we construct invariantly weighted left–right product and contraction mechanisms to update Hamiltonian-like matrices and spinor tensors while preserving their transformation laws under spatial rotations and inversions. These formulations encode geometric information and electronic couplings in a unified direct-product space instead of decomposing and reconstructing them through irreducible channels.

Methodologically, we develop our learning framework as an expressive and equivariant Transformer architecture in the direct-product space. Each layer encodes both equivariant matrix or tensor features and invariant scalar features. Normalized Frobenius summaries are computed for the direct-product units within each Hamiltonian block, where each unit couples one row orbital set to one column orbital set. These summaries, together with radial features and scalar node and edge features, are processed by non-linear scalar networks to produce per-unit gates, attention weights, directional weights, and contraction coefficients. Multi-head attention updates node features and conditions the edge-feature update, while constructing equivariant atom-wise context representations. The directional operator and the context then update each edge matrix or tensor through left, right, and bilateral products and contractions. Dimension-normalized products, LayerNorm, LayerScale, and zero-initialized update heads stabilize deep residual learning around H(0)H^{(0)}.

Broad-coverage benchmarks for deep learning Hamiltonian prediction remain limited. To address this gap, we construct and release MP-HAM-110K, a benchmark comprising more than 110,000 diverse material structures sampled from the Materials Project (Jain et al., 2013) and covering 68 elements. It spans the first six rows of the periodic table and employs a rich atomic basis up to 4s2p2d1f4s2p2d1f. MP-HAM-110K is approximately six times larger than the existing Materials-HAM-SOC dataset and includes structures containing more than 150 atoms, whereas Materials-HAM-SOC contains at most 80 atoms per structure. It thus provides a valuable benchmark for Hamiltonian prediction across chemically diverse materials and larger structures.

Comprehensive experiments on the proposed MP-HAM-110K benchmark and the existing Materials-HAM-SOC dataset demonstrate that DP-Learner achieves state-of-the-art Hamiltonian prediction accuracy together with dramatically improved computational efficiency across chemically diverse materials spanning more than 60 elements, substantially outperforming NextHAM, the pioneering universal Hamiltonian baseline published very recently. The predicted Hamiltonians also yield accurate band structures. These results demonstrate the value of representation learning in the direct-product space for accurate and efficient electronic-structure prediction, materials screening, and discovery.