arXiv:2611.11935quant-phNov 2026

Manuscript Offprint

arXiv:2611.11935

AI-Driven Discovery of Entanglement Witness in Spin Hamiltonians

Jiwei Tian, Mouyang Cheng, Mingda Li

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

Jiwei Tian,1,∗^{1,*} Mouyang Cheng,2,3,†^{2,3,\dagger} and Mingda Li2,4,‡^{2,4,\ddagger}

1^{1}School of Physics, Peking University, Beijing 100084, China

2^{2}Center for Computational Science and Engineering, MIT, Cambridge, MA 02139, USA

3^{3}Department of Materials Science and Engineering, MIT, Cambridge, MA 02139, USA

4^{4}Department of Nuclear Science and Engineering, MIT, Cambridge, MA 02139, USA

Entanglement is a crucial resource in quantum science and engineering, but detecting it in many-body states from experimentally accessible observables remains challenging. Here we introduce EntNet, an AI-driven framework to discover compact combinations of spin observables that accurately distinguish entangled from fully separable many-body mixed states in one-dimensional spin-1/2 chains governed by short-range Hamiltonians. We construct local-unitary-invariant representations of measurable Pauli correlators up to four-body order, sparsely select 16 candidate invariant feature channels, and learn their spatial structure using a Transformer architecture with rotary positional embeddings. Using only expectation values of these low-order observables, EntNet achieves > 98% recall on certified entangled states with near-zero false-positive rates on separable states. Remarkably, it exhibits transferability across system sizes and distinct Hamiltonian families, including frustrated and disordered spin models, with minimal loss of accuracy. Beyond detection, EntNet provides physical insight into entanglement detection by revealing a selective spatial organization of pair correlations, while its finite-temperature decision boundary tracks the excitation gap of Jordan–Wigner quasiparticles. These results establish a transferable and physically interpretable framework for data-driven discovery of entanglement witnesses from local correlation functions.

I. INTRODUCTION

Quantum entanglement is one of the defining features of quantum mechanics in many-body systems. Beyond its fundamental significance, entanglement serves as a key resource in quantum communication, quantum computation, and quantum cryptography protocols [1–5]. It is also deeply connected to the structure and complexity of quantum many-body states. In particular, entanglement entropy and the entanglement spectrum for pure states characterize entanglement between subsystems, revealing information that is not readily captured by conventional local observables. Their characteristic behavior can provide signatures of quantum criticality, symmetry breaking, and topological order, making entanglement a powerful tool for characterizing strongly correlated quantum matter [6–8]. The scaling and structure of entanglement also strongly constrain the efficiency of tensor-network representations, such as matrix-product states (MPS) and projected entangled-pair states (PEPS), and help explain the success of numerical methods such as the density-matrix renormalization group (DMRG) [9–11]. Reliable characterization of entanglement is therefore important both for understanding quantum matter and for developing efficient methods to represent and manipulate many-body quantum states.

However, detecting entanglement in generic many-body mixed states is computationally challenging. In fact, even in a simplified case, such as the weak-membership problem for bipartite separability, the computational task is still NP-hard [12]. A variety of computable entanglement criteria and witnesses have consequently been developed, including the positive-partial-transpose (PPT) criterion and negativity, realignment and cross-norm criteria (CCNR) [1, 13], spin-squeezing inequalities [14], covariance-matrix criteria [15], and the quantum-Fisher-information-based criteria [16, 17]. Recent advances have connected quantum Fisher information to dynamical susceptibilities and demonstrated entanglement witnessing using inelastic neutron scattering [17, 18]. Related protocols have also been proposed for resonant inelastic x-ray scattering (RIXS) to probe electronic and spin-orbital entanglement [19, 20]. A three-spin chirality operator has also been proposed to characterize topological phases of Kitaev quantum spin liquids [21]. Despite these advances, existing approaches often require density-matrix information or rely on predefined witness constructions and specific experimentally accessible observables, potentially overlooking broader entanglement signatures. This motivates the search for generalizable entanglement signatures that can be learned from diverse low-order local spin correlations without reconstructing the full quantum state, which is generally inaccessible in condensed matter systems.

Recent advances in artificial intelligence (AI) and machine learning (ML) provide a complementary, data-driven route to identifying entanglement from experimentally or numerically accessible information [22, 23]. ML models have been used, for example, to infer logarithmic negativity or entanglement entropy from a restricted set of observables [24, 25], or to classify entanglement within structured families such as few-body GHZ- and W-type states [26, 27]. Two key challenges nevertheless remain. First, extending such approaches to spatially extended many-body systems requires capturing correlations across different length scales while remaining transferable across system sizes and Hamiltonians. Second, practical entanglement detection calls for methods that operate directly on experimentally accessible observables without reconstructing the full density matrix or assuming a narrowly prescribed family of target states. Addressing these limitations in extended many-body systems demands a scalable and

∗^{*} Equal contribution

†^{\dagger} Equal contribution; vipandyc@mit.edu

∗^{*} mingda@mit.edu transferable ML framework capable of resolving entanglement across diverse states, system sizes, and Hamiltonians.

In this work, we develop EntNet, an ML framework for detecting entanglement in finite-temperature mixed states of extended one-dimensional spin-1/2 systems using only low-order spin correlation functions. A central consideration is that entanglement is invariant under local unitary (LU) transformations of individual spins, whereas the measured spin correlations generally depend on the choice of local basis. Learning this invariance directly from data is difficult, particularly when a large number of potentially redundant correlators are involved. To address these challenges, we construct LU-invariant representations of two-, three-, and four-body correlators using singular values and tensor contractions, and sparsely distill high-dimensional candidate invariant channels into only 16 features. Their spatial organization is subsequently learned by a Transformer architecture with rotary positional embeddings (RoPE) [28, 29]. Trained using 35,000 synthetically generated N = 16 spin-chain states, comprising certified entangled and fully separable examples, EntNet achieves > 98% detection accuracy on the evaluated benchmarks, while maintaining near-zero false-positive rates on separable states. Without retraining, the model transfers from N = 16 to N = 32 XY chains and generalizes across the tested XXZ, frustrated J1J_{1}- J2J_{2}, and random local spin Hamiltonians, with minimal loss of accuracy. Beyond the high detection accuracy, the distilled representation from EntNet provides physical insight into the entanglement structure encoded in low-order observables. For example, pair correlations at lattice-site separations r = 1 and r = 4 emerge as particularly important, in contrast to the negligible contributions from r = 2 and r = 3 pair features. At finite temperature, EntNet further resolves a narrow crossover between entangled and separable regimes: in the saturated XX chain, its lower decision boundary quantitatively tracks the thermal excitation scale set by the quasiparticle gap. These results establish EntNet as a scalable AI-driven framework for discovering compact, transferable, and physically interpretable entanglement witnesses from low-order observables in generic many-body mixed states.