Watching Quantum Models Think: Hilbert-Space Interpretability in Quantum Transformer Blocks
Not on the map. Why?
Abstract (arXiv)
Deep learning models are powerful but opaque. As quantum machine learning matures, the field faces a defining choice: build quantum models that are equally opaque, or exploit the mathematical structure of quantum mechanics to make them inherently interpretable. We show that the latter is possible. By tracking quantum mutual information~(MI), entanglement entropy, and state fidelity through the layers of a Quantum Transformer Block (qtb), a fully-coherent variational circuit with quantum analogues of both attention and feedforward, we gain direct insight into how the model processes information: which tokens it attends to, when correlations form, and why predictions fail. On four tasks with known dependency structure we show that (i)~learned MI matrices align with ground-truth task structure (AUC,=,0.69 on lookup), (ii)~disabling entangling gates collapses accuracy from 100% to 15% while MI→ 0, proving entanglement is the mechanism, (iii)~accuracy and MI co-evolve during training (ρ,=,0.92 on lookup), and (iv)~per-sample MI predicts prediction correctness on the conditional task with ROC AUC,=,0.84. All results are validated on IBM Quantum hardware (ibmkingston, Heron~r2): the circuit's reasoning process, from product state through structured entanglement, is directly observable on a superconducting processor. These proof-of-concept results, obtained on small synthetic tasks, suggest that the physics of quantum computation can provide intrinsic interpretability signals with no direct classical counterpart, motivating study of whether this advantage persists at scale.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 26 references that are in the map. First posted on arXiv 19 Sep 2026.
Builds on
16 of 26 references.
References · 16
- 2017Attention Is All You Needcited by 60,361
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2020Variational Quantum Algorithmscited by 692
- 2018Barren plateaus in quantum neural network training landscapescited by 630
- 2020The power of quantum neural networkscited by 379
- 2020Power of data in quantum machine learningcited by 338
- 2019Parameterized quantum circuits as machine learning modelscited by 332
- 2021The Dawn of Quantum Natural Language Processingcited by 61
4 more
- 2022Regression Transformer: Concurrent sequence regression and generation for molecular language modelingcited by 50
- 2022Quantum Vision Transformerscited by 48
- 2023On the Interpretability of Quantum Neural Networkscited by 13
- 2024Fourier Analysis of Variational Quantum Circuits for Supervised Learningcited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Entanglement as Memory: Mechanistic Interpretability of Quantum Language Models
- 2026Quantum entanglement provides a competitive advantage in adversarial games
- 2026Entanglement as a Structural Complexity Axis: A PAC-Bayesian View of Generalization in Quantum Policies and Value Functions
- 2023Towards interpretable quantum machine learning via single-photon quantum walks
- 2025Machine Unlearning in the Era of Quantum Machine Learning: An Empirical Study
- 2025Prospects for quantum advantage in machine learning from the representability of functions
- 2024Reinforcement Learning to Disentangle Multiqubit Quantum States from Partial Observations
- 2024QIXAI: A Quantum-Inspired Framework for Enhancing Classical and Quantum Model Transparency and Understanding