Entanglement as Memory: Mechanistic Interpretability of Quantum Language Models
Not on the map. Why?
Abstract (arXiv)
Quantum language models have shown competitive performance on sequential tasks, yet whether trained quantum circuits exploit genuinely quantum resources -- or merely embed classical computation in quantum hardware -- remains unknown. Prior work has evaluated these models through endpoint metrics alone, without examining the memory strategies they actually learn internally. We introduce the first mechanistic interpretability study of quantum language models, combining causal gate ablation, entanglement tracking, and density-matrix interchange interventions on a controlled long-range dependency task. We find that single-qubit models are exactly classically simulable and converge to the same geometric strategy as matched classical baselines, while two-qubit models with entangling gates learn a representationally distinct strategy that encodes context in inter-qubit entanglement -- confirmed by three independent causal tests (p < 0.0001, d = 0.89). On real quantum hardware, only the classical geometric strategy survives device noise; the entanglement strategy degrades to chance. These findings open mechanistic interpretability as a tool for the science of quantum language models and reveal a noise-expressivity tradeoff governing which learned strategies survive deployment.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 43 references that are in the map. First posted on arXiv 27 Mar 2026.
Builds on
23 of 43 references.
References · 23
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022In-context Learning and Induction Headscited by 930
- 2022Toy Models of Superpositioncited by 928
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2020Variational Quantum Algorithmscited by 687
- 2018Supervised learning with quantum enhanced feature spacescited by 654
- 2018Barren plateaus in quantum neural network training landscapescited by 624
- 2021Causal Abstractions of Neural Networkscited by 401
- 2020The power of quantum neural networkscited by 377
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
11 more
- 2020A rigorous and robust quantum speed-up in supervised machine learningcited by 270
- 2018Targeted Syntactic Evaluation of Language Modelscited by 239
- 2020Predicting Many Properties of a Quantum System from Very Few Measurementscited by 229
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2018Colorless green recurrent networks dream hierarchicallycited by 210
- 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 183
- 2020Quantum Long Short-Term Memorycited by 118
- 2021Quantum machine learning beyond kernel methodscited by 91
- 2021QNLP in Practice: Running Compositional Models of Meaning on a Quantum Computercited by 65
- 2021lambeq: An Efficient High-Level Python Library for Quantum NLPcited by 43
- 2025Hybrid Quantum-Classical Recurrent Neural Networkscited by 1
Built on by
Not cited yet.