Quantum Algorithms for Compositional Text Processing
Not on the map. Why?
Abstract (arXiv)
Quantum computing and AI have found a fruitful intersection in the field of natural language processing. We focus on the recently proposed DisCoCirc framework for natural language, and propose a quantum adaptation, QDisCoCirc. This is motivated by a compositional approach to rendering AI interpretable: the behavior of the whole can be understood in terms of the behavior of parts, and the way they are put together. For the model-native primitive operation of text similarity, we derive quantum algorithms for fault-tolerant quantum computers to solve the task of question-answering within QDisCoCirc, and show that this is BQP-hard; note that we do not consider the complexity of question-answering in other natural language processing models. Assuming widely-held conjectures, implementing the proposed model classically would require super-polynomial resources. Therefore, it could provide a meaningful demonstration of the power of practical quantum processors. The model construction builds on previous work in compositional quantum natural language processing. Word embeddings are encoded as parameterized quantum circuits, and compositionality here means that the quantum circuits compose according to the linguistic structure of the text. We outline a method for evaluating the model on near-term quantum processors, and elsewhere we report on a recent implementation of this on quantum hardware. In addition, we adapt a quantum algorithm for the closest vector problem to obtain a Grover-like speedup in the fault-tolerant regime for our model. This provides an unconditional quadratic speedup over any classical algorithm in certain circumstances, which we will verify empirically in future work.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 21 of its 55 references that are in the map. First posted on arXiv 12 Aug 2024.
Builds on
21 of 55 references.
References · 21
- 2019Parameterized quantum circuits as machine learning modelscited by 330
- 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 309
- 2018Towards Quantum Machine Learning with Tensor Networkscited by 74
- 2021QNLP in Practice: Running Compositional Models of Meaning on a Quantum Computercited by 65
- 2020Foundations for Near-Term Quantum Natural Language Processingcited by 51
- 2021lambeq: An Efficient High-Level Python Library for Quantum NLPcited by 43
- 2020Quantum Natural Language Processing on Near-Term Quantum Computerscited by 39
- 2023Seeing is Believing: Brain-Inspired Modular Training for Mechanistic Interpretabilitycited by 38
- 2016Criticality in Formal Languages and Statistical Physicscited by 33
- 2024CompactifAI: Extreme Compression of Large Language Models using Quantum-Inspired Tensor Networkscited by 29
- 2014The Frobenius anatomy of word meanings I: subject and object relative pronounscited by 24
- 2016Quantum Algorithms for Compositional Natural Language Processingcited by 24
9 more
- 2019The Mathematics of Text Structurecited by 24
- 2020Grammar-aware sentence classification on quantum computerscited by 16
- 2021Compositionality as we see it, everywhere around uscited by 11
- 2021Conversational Negation using Worldly Context in Compositional Distributional Semanticscited by 9
- 2023Distilling Text into Circuitscited by 7
- 2022Near-Term Advances in Quantum Natural Language Processingcited by 6
- 2013A quantum teleportation inspired algorithm produces sentence meaning from word meaning and grammatical structurecited by 4
- 2023A Pipeline For Discourse Circuits From CCGcited by 3
- 2021Efficient Universal Quantum Compilation: An Inverse-free Solovay-Kitaev Algorithmcited by 2
Built on by
Citing papers per year: 2025: 3.
3 papers.