Variational Quantum Transformer Architecture for Synthetic Language Generation
Not on the map. Why?
Abstract (arXiv)
We propose a compact NISQ-compatible quantum transformer architecture for synthetic QNLP sequence modelling. The model preserves the autoregressive next-token interface of a classical transformer, but replaces attention and feed-forward sublayers with variational quantum encoder blocks, connector circuits, decoder blocks and a direct two-qubit measurement readout. Token contexts are angle-encoded into small quantum registers, processed by parallel variational heads and encoder integration circuits and conditioned through decoder ancillae to produce a distribution over a four-token vocabulary. We evaluate several architecture variants on deterministic and lexicographic grammar-generation tasks against a compact classical transformer baseline. The quantum models are trainable end-to-end and learn nontrivial grammar structure, including perfect deterministic generation in individual runs and high lexicographic validity in the strongest variant. The classical baseline remains more accurate and stable and the quantum models are sensitive to initialization. The contribution is therefore not a claim of quantum advantage, but a concrete architecture and evaluation of transformer-inspired QNLP sequence modelling under near-term quantum constraints.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 14 references that are in the map. First posted on arXiv 16 Sep 2026.
Builds on
9 of 14 references.
References · 9
- 2017Attention Is All You Needcited by 59,932
- 2020Variational Quantum Algorithmscited by 687
- 2019Parameterized quantum circuits as machine learning modelscited by 330
- 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
- 2022Quantum Self-Attention Neural Networks for Text Classificationcited by 42
- 2020Quantum Natural Language Processing on Near-Term Quantum Computerscited by 39
- 2022Quantum Natural Language Generation on Near-Term Devicescited by 10
- 2024Quantum Transformer: Accelerating model inference via quantum linear algebracited by 8
Built on by
Not cited yet.