REVIEW 3 major objections 5 minor 35 references
Neural nets and self-attention predict bipartite Rényi-2 entropy from fewer random measurements than classical-shadow formulas.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · grok-4.5
2026-07-12 07:09 UTC pith:T2QY3U5E
load-bearing objection Clean empirical win: MLP and parameter-free attention beat Brydges Rényi-2 estimator on 2- and 4-qubit Haar pure states, with transparent heat-maps, but only inside Page-value concentration. the 3 major comments →
Self-Attention for Quantum Entanglement Prediction
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
When trained on finite classical-shadow data of Haar-random pure states, both a feed-forward network and a self-attention network predict the bipartite second Rényi entropy more accurately, and with tighter variance, than the standard analytic estimator, thereby reducing the number of random unitaries and measurement shots required for a target error on systems of two and four qubits.
What carries the argument
A two-stage architecture: a feed-forward map ϕ that embeds each random unitary into a real feature vector, optionally followed by a Gram-matrix self-attention layer built from those embeddings, whose output is concatenated with the empirical outcome probabilities and passed through a second network S that outputs the predicted Rényi-2 entropy.
Load-bearing premise
The networks are trained only on Haar-random pure states whose entanglement sits near the typical Page value; the same accuracy is assumed to carry over to the weakly entangled or mixed states that appear in real experiments.
What would settle it
Train the identical models on Haar data, then evaluate them on a balanced set of weakly entangled pure states (or on mixed states produced by a depolarizing channel) and check whether the mean-squared error stays below the analytic classical-shadow baseline for the same (N_U, N_M) budget.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes two neural models (a feed-forward MLP and a parameter-free self-attention layer built from a Gram matrix of vectorized unitaries) that take classical-shadow inputs—NU random unitaries together with NM computational-basis outcome probabilities—and regress the bipartite second Rényi entropy of pure Haar-random states. Targets are obtained independently via Schmidt decomposition. Performance is benchmarked against the analytical randomized-measurement estimator of Brydges et al. (Eqs. 2–3) on 2- and 4-qubit systems; correlation plots, error heat-maps with variance thresholds, and slope/intercept diagnostics are used to argue higher accuracy and lower sample complexity for the learned estimators.
Significance. If the sample-efficiency gains hold beyond the Haar ensemble, the approach would be a practical tool for low-shot entanglement estimation on near-term devices, where full tomography and large NU/NM budgets are prohibitive. Strengths include clean separation of training targets from the analytical baseline, thorough finite-sample diagnostics (Figs. 3–6, 10–11), an explicit construction of the attention matrix from the unitary ensemble (Sec. III B), and an honest Outlook that flags the Page-value bias and exponential Haar cost. The work therefore supplies a concrete, reproducible numerical baseline for data-driven classical-shadow post-processing.
major comments (3)
- [Abstract, Sec. IV, App. B] Abstract and Sec. IV claim “higher accuracy and improved sample efficiency across a range of system sizes” and “scalable \ldots estimation of quantum correlations.” All training and evaluation data are Haar-random pure states whose Rényi-2 values concentrate tightly about the Page value (App. B, Fig. 7). The analytical estimator (Eqs. 2–3) is unbiased for any pure state; the observed ML advantage is therefore demonstrated only inside this narrow measure. Without error heat-maps or slope diagnostics on any non-Page ensemble (weakly entangled, mixed, or the TFIM/XY circuits suggested in Sec. V), the reduction in NU and NM cannot be asserted for the states that appear in experiments or fault-tolerant protocols. This is load-bearing for the central claim.
- [Sec. III B, Figs. 4 and 6] Sec. III B asserts that the self-attention Gram matrix “plays a crucial role in the generalizability of the model to other forms of entanglement” and is “suited for entropy and purity based calculations.” No experiment tests any other entanglement measure, multipartite cut, or non-Haar ensemble; on the reported Haar bipartite Rényi-2 task the plain MLP consistently meets the error/variance thresholds with fewer resources than the attention model (Figs. 4 and 6). The generalizability claim is therefore unsupported and should be removed or substantiated.
- [Abstract, Introduction, App. C] Only N = 2 and N = 4 are studied, yet the abstract and introduction repeatedly invoke “a range of system sizes” and “scalable” methods. Appendix C already shows that the number of unitaries needed to cover the Haar measure grows as ~4^N; the numerical evidence therefore does not yet underwrite the scalability language used to frame the contribution.
minor comments (5)
- [Eq. (4)] Eq. (4) writes θj ∼ [π/2, π/2), an empty interval; the intended range is almost certainly [−π/2, π/2). Correct the typesetting.
- [passim] Rényi is spelled inconsistently (Renyi / R´enyi / Renyi-2). Standardize throughout, including figure captions.
- [App. D, Table I] Learning rates differ by three orders of magnitude (Attention 5e-8 vs MLP 1e-5, Table I) with no ablation or justification; a short sensitivity check would strengthen reproducibility.
- [Figs. 4 and 6] The highlighted heat-map thresholds (0.04±0.04 for 2 qubits, 0.06±0.1 for 4 qubits) appear chosen after inspection; state the selection criterion or report continuous error surfaces without binary highlighting.
- [App. D] Code and trained weights are not mentioned; releasing them would allow independent verification of the (NU, NM) heat-maps.
Circularity Check
No circularity: independent Schmidt targets, held-out evaluation vs. analytical estimator, attention Gram matrix built only from input unitaries.
full rationale
The paper's central claim is an empirical performance comparison: MLP and self-attention networks map finite classical-shadow inputs (N_U unitaries + N_M-shot probability vectors) to bipartite Rényi-2 entropy and achieve lower MSE / tighter variance than the Brydges et al. analytical estimator (Eqs. 2–3) on the same data. Training targets are obtained independently by Schmidt decomposition of the known pure Haar state (Appendix B), not from the measurement outcomes or from any fitted parameter that is later re-labeled a prediction. The self-attention Gram matrix A = ∑ |u⃗(s)⟩⟨u⃗(s)| is constructed solely from the input unitaries (Section III B) and is trained end-to-end against the independent entropy label; it does not encode the target by construction. Evaluation uses held-out (N_U, N_M) pairs and reports heat-map thresholds (0.04 ± 0.04 for 2 qubits, 0.06 ± 0.1 for 4 qubits) that are direct numerical comparisons, not tautologies. No uniqueness theorem, self-citation chain, or ansatz is load-bearing for the sample-efficiency claim. The acknowledged Haar/Page bias (Fig. 7, Section V) is a generalization limitation, not a circular reduction of the reported results. The derivation chain is therefore self-contained against its own external benchmark.
Axiom & Free-Parameter Ledger
free parameters (4)
- learning rates (Attention 5e-8, MLP 1e-5)
- hidden-layer dimensions of ϕ and S
- embedding dimension d = 2^N
- error/variance thresholds (0.04±0.04 for 2q, 0.06±0.1 for 4q)
axioms (4)
- domain assumption Bipartite second Rényi entropy fully quantifies entanglement for pure states via the spectrum of the reduced density matrix.
- domain assumption The Brydges et al. formula (Eqs. 2–3) correctly estimates H_2 from randomized unitaries and computational-basis probabilities.
- ad hoc to paper Haar-random pure states are a representative ensemble for testing entanglement estimators.
- domain assumption Standard neural-network training (Adam, ReLU, residual connections, L2 loss) yields models that generalize across (N_U, N_M) pairs.
invented entities (1)
-
Self-attention Gram matrix A formed from outer products of vectorized unitaries after the ϕ embedding
no independent evidence
read the original abstract
Quantum entanglement is a powerful resource for quantum-enhanced technologies. However, its reliable quantification remains challenging due to the exponential scaling of the Hilbert space with system size, which renders full state tomography infeasible. Moreover, experimentally estimating entanglement typically requires a large number of measurement samples leading to a significant overhead. In this work, we present two models, a feed-forward neural network and an attention-based model, to accurately predict the bipartite second Renyi from projective measurements of quantum states. We benchmark their performance against standard classical shadow estimators and find that the machine-learning approaches achieve higher accuracy and improved sample efficiency across a range of system sizes. Our results demonstrate the potential of machine learning for scalable and efficient estimation of quantum correlations.
Figures
Reference graph
Works this paper leans on
-
[1]
Bouwmeester, J.-W
D. Bouwmeester, J.-W. Pan, K. Mattle, M. Eibl, H. We- infurter, and A. Zeilinger, Experimental quantum tele- portation, Nature390, 575–579 (1997)
1997
-
[2]
Jozsa and N
R. Jozsa and N. Linden, On the role of entanglement in quantum-computational speed-up, Proceedings of the Royal Society of London. Series A: Mathematical, Phys- ical and Engineering Sciences459, 2011–2032 (2003)
2011
-
[3]
J. Yin, Y. Cao, Y.-H. Li, S.-K. Liao, L. Zhang, J.-G. Ren, W.-Q. Cai, W.-Y. Liu, B. Li, H. Dai, G.-B. Li, Q.-M. Lu, Y.-H. Gong, Y. Xu, S.-L. Li, F.-Z. Li, Y.-Y. Yin, Z.-Q. Jiang, M. Li, J.-J. Jia, G. Ren, D. He, Y.-L. Zhou, X.-X. Zhang, N. Wang, X. Chang, Z.-C. Zhu, N.-L. Liu, Y.-A. Chen, C.-Y. Lu, R. Shu, C.-Z. Peng, J.-Y. Wang, and J.- W. Pan, Satellite...
Pith/arXiv arXiv 2017
-
[5]
Huang, R
H.-Y. Huang, R. Kueng, and J. Preskill, Predicting many properties of a quantum system from very few measure- ments, Nature Physics16, 1050–1057 (2020)
2020
-
[6]
Z. Cai, R. Babbush, S. C. Benjamin, S. Endo, W. J. Hug- gins, Y. Li, J. R. McClean, and T. E. O’Brien, Quan- tum error mitigation, Reviews of Modern Physics95, 10.1103/revmodphys.95.045005 (2023)
-
[7]
H.-Y. Huang, M. Broughton, M. Mohseni, R. Babbush, S. Boixo, H. Neven, and J. R. McClean, Power of data in quantum machine learning, Nature Communications12, 10.1038/s41467-021-22539-9 (2021)
-
[8]
H.-Y. Huang, R. Kueng, G. Torlai, V. V. Albert, and J. Preskill, Provably efficient machine learning for quan- tum many-body problems, Science377, 10.1126/sci- ence.abk3333 (2022)
doi:10.1126/sci- 2022
-
[9]
A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, At- tention is all you need (2023), arXiv:1706.03762 [cs.CL]
Pith/arXiv arXiv 2023
-
[10]
Havl´ ıˇ cek, A
V. Havl´ ıˇ cek, A. D. C´ orcoles, K. Temme, A. W. Harrow, A. Kandala, J. M. Chow, and J. M. Gambetta, Super- vised learning with quantum-enhanced feature spaces, Nature567, 209–212 (2019)
2019
-
[11]
P. R. Hegde, G. Passarelli, A. Scocco, and P. Lucignano, Genetic optimization of quantum annealing, Physical Re- view A105, 10.1103/physreva.105.012612 (2022)
-
[12]
Bausch, A
J. Bausch, A. W. Senior, F. J. H. Heras, T. Edlich, A. Davies, M. Newman, C. Jones, K. Satzinger, M. Y. Niu, S. Blackwell, G. Holland, D. Kafri, J. Atalaya, C. Gidney, D. Hassabis, S. Boixo, H. Neven, and P. Kohli, Learning high-accuracy error decoding for quantum pro- cessors, Nature635, 834–840 (2024)
2024
-
[13]
E. Russo, M. Palesi, D. Patti, G. Ascia, and V. Catania, Attention-based deep reinforcement learning for qubit allocation in modular quantum architectures (2024), arXiv:2406.11452 [quant-ph]
Pith/arXiv arXiv 2024
-
[14]
P. Cha, P. Ginsparg, F. Wu, J. Carrasquilla, P. L. McMa- hon, and E.-A. Kim, Attention-based quantum tomog- raphy, Machine Learning: Science and Technology3, 01LT01 (2021)
2021
-
[15]
Y.-H. Zhang and M. Di Ventra, Transformer quan- tum state: A multipurpose model for quantum many- body problems, Physical Review B107, 10.1103/phys- revb.107.075147 (2023)
doi:10.1103/phys- 2023
-
[16]
D. Luo, Z. Chen, J. Carrasquilla, and B. K. Clark, Au- toregressive neural network for simulating open quantum systems via a probabilistic formulation, Physical Review Letters128, 10.1103/physrevlett.128.090501 (2022)
-
[17]
N. Asif, U. Khalid, A. Khan, T. Q. Duong, and H. Shin, Entanglement detection with artificial neural networks, Scientific Reports13, 1562 (2023)
2023
-
[18]
J. Ure˜ na, A. Sojo, J. Bermejo-Vega, and D. Manzano, Entanglement detection with classical deep neural net- works, Scientific Reports14, 10.1038/s41598-024-68213- 0 (2024)
-
[19]
J. Gray, L. Banchi, A. Bayat, and S. Bose, Machine- learning-assisted many-body entanglement measure- ment, Phys. Rev. Lett.121, 150503 (2018)
2018
-
[20]
Y. Huang, L. Che, C. Wei, F. Xu, X. Nie, J. Li, D. Lu, and T. Xin, Measuring quantum entanglement from local information by machine learning (2022), arXiv:2209.08501 [quant-ph]
Pith/arXiv arXiv 2022
-
[21]
M. B. Plenio and S. Virmani, An introduction to en- tanglement measures (2006), arXiv:quant-ph/0504163 [quant-ph]
Pith/arXiv arXiv 2006
-
[22]
Brydges, A
T. Brydges, A. Elben, P. Jurcevic, B. Vermersch, C. Maier, B. P. Lanyon, P. Zoller, R. Blatt, and C. F. Roos, Probing r´ enyi entanglement entropy via random- ized measurements, Science364, 260–263 (2019)
2019
-
[23]
D. Lewis, R. Wiersema, J. Carrasquilla, and S. Bose, Geodesic algorithm for unitary gate design with time- independent hamiltonians, Physical Review A111, 10.1103/physreva.111.052618 (2025)
-
[24]
L. P. Hughston, R. Jozsa, and W. K. Wootters, A com- plete classification of quantum ensembles having a given density matrix, Physics Letters A183, 14 (1993)
1993
-
[25]
L. Chen, H. Zhu, and T.-C. Wei, Connections of geomet- ric measure of entanglement of pure symmetric states to quantum state estimation, Physical Review A83, 10.1103/physreva.83.012305 (2011)
-
[26]
R. Gielerak and M. Sawerwain, Maximally entangled states of (d,∞) quantum systems: some numerical stud- ies (2019), arXiv:1912.03738 [quant-ph]
Pith/arXiv arXiv 2019
-
[27]
G. K. Brennen, An observable measure of entangle- ment for pure states of multi-qubit systems (2003), arXiv:quant-ph/0305094 [quant-ph]
Pith/arXiv arXiv 2003
-
[28]
A. Paszke, S. Gross, F. Massa, A. Lerer, J. Brad- bury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga, A. Desmaison, A. K¨ opf, E. Yang, Z. De- Vito, M. Raison, A. Tejani, S. Chilamkurthy, B. Steiner, L. Fang, J. Bai, and S. Chintala, Pytorch: An impera- tive style, high-performance deep learning library (2019), arXiv:1912.01703 [cs.LG]
Pith/arXiv arXiv 2019
-
[29]
Bradbury, R
J. Bradbury, R. Frostig, P. Hawkins, M. J. Johnson, C. Leary, D. Maclaurin, G. Necula, A. Paszke, J. Van- derPlas, S. Wanderman-Milne, and Q. Zhang, JAX: com- posable transformations of Python+NumPy programs (2018)
2018
-
[30]
J. Heek, A. Levskaya, A. Oliver, M. Ritter, B. Ronde- pierre, A. Steiner, and M. van Zee, Flax: A neural net- work library and ecosystem for JAX (2024)
2024
-
[31]
LeCun, L
Y. LeCun, L. Bottou, G. B. Orr, and K. R. M¨ uller, Effi- cient backprop, inNeural Networks: Tricks of the Trade, edited by G. B. Orr and K.-R. M¨ uller (Springer Berlin 10 Heidelberg, Berlin, Heidelberg, 1998) pp. 9–50
1998
-
[32]
D. N. Page, Average entropy of a subsystem, Physical Review Letters71, 1291–1294 (1993)
1993
-
[33]
T. Schuster, J. Haferkamp, and H.-Y. Huang, Random unitaries in extremely low depth (2025), arXiv:2407.07754 [quant-ph]. Appendix A: Preliminaries on Quantum Entanglement As stated in Section II, we define entanglement as en- tanglement can be defined as the inseparability of a func- tion in a Hilbert space into two or more constituent sub- spaces. Let us...
Pith/arXiv arXiv 2025
-
[34]
Training Configuration Our training configuration is summarized in Table I. TABLE I. Training hyperparameters. Model architecture is described in the main text. Hyperparameter Value Optimizer Adam Learning rate (Attention) 5×10 −8 Learning rate (MLP) 1×10 −5 Batch size 32 Number of epochs 5000 Loss function L2-loss
-
[35]
TABLE II
Compute Environment Our compute details is summarized in Table II. TABLE II. Compute and software environment. Component Details GPU NVIDIA Tesla V100 (32 GB) Number of GPUs 4 RAM 512 GB Framework Jax 0.4.28 Training time (2 qubits, MLP)∼10 hours Training time (2 qubits, Attention)∼10 hours Training time (4 qubits, MLP)∼46 hours Training time (4 qubits, A...
-
[36]
Both these models had the same number of parame- ters per qubit number - the 2 qubit model had 401,797 parameters while the 4 qubit model had 3,232,529 parameters
Model details As mentioned there are two neural networks - one for processing the unitaryϕand another for processing the outcome probabilities and the processed unitary together S. Both these models had the same number of parame- ters per qubit number - the 2 qubit model had 401,797 parameters while the 4 qubit model had 3,232,529 parameters. For 2 qubits...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.