Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 30 min ago
PreprintarXiv licencearXiv

Wave Is All You Need: A Quantum Language Model Based on Fully Connected Quantum Boltzmann Machine

Abstract

This work proposes a self-attention mechanism based on the fully connected quantum Boltzmann machine (FC-QBM), and further constructs a fully connected quantum Boltzmann machine language model (FC-QBM-LM) using the mechanism as the core engine. By performing unitary evolution on semantic quantum states, the mechanism implicitly implements positional encoding and self-attention computation, eliminating the need to decompose continuous semantic streams into discrete matrices for explicit matrix multiplication, with the measurement results naturally satisfying the normalization condition. Specifically, this work rigorously derives the computational principle of the self-attention mechanism based on FC-QBM, and demonstrates that this mechanism is mathematically equivalent to the classical self-attention mechanism. The mathematical principles governing the training and generation of FC-QBM-LM are thoroughly derived, and the two corresponding algorithms are subsequently developed. An 8-qubit FC-QBM-LM is finally constructed and trained on the corpus of Tang poetry. Under the 8-qubit setting, the quantum layer implements the entire positional encoding and self-attention computation pipeline with only 44 parameters. In the noiseless scenario, the model exhibits favorable convergence. Furthermore, the quantum circuit proposed in this work, which terminates with Y-axis rotation gates, achieves better convergence than the counterpart terminating with X-axis rotation gates. Under the small-sample regime and across eight distinct noise intensity levels, the model demonstrates strong noise robustness, retaining over 99% of its noiseless convergence performance. Experiments on five-character quatrain generation reveal that the model preliminarily exhibits three core capabilities: associative and divergent thinking, content generation across imagery and human-aligned word ordering.

Related

  1. A Restricted Boltzmann Machine with Quantum-State Visible Units
    Zhe-Hao Zhang, Yi-Cong Yu, Xiaoming Cai +1
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  2. Hyperbolic Restricted Boltzmann Machine Neural Quantum State
    H. L. Dao
    arXivPreprintarXiv licenceFull textCondensed matterQuantum physics & quantum informationarXiv
  3. Demonstrating RFSoC-based Control of a Fully Connected Exchange-Only Qubit
    Abigail L. Wessels, M. Garrett Bimstefer, Joseph D. Broz +2
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
  4. Quantum Encoding Agents: A Natural Language Interface for Data Embedding Strategy Selection in Quantum Machine Learning
    Ana Paula Appel
    arXivPreprintCC BY-NC-SA 4.0Full textQuantum physics & quantum informationarXiv
  5. On the upper critical dimension of the KPZ universality class: KPZ and related equations on a fully connected graph
    Jesús María Marcos Merino, Juan José Meléndez, Rodolfo Cuerno +1
    SciPost PhysicsPeer-reviewedCC BY 4.0Full textCondensed matterCrossref
BibTeX
@misc{liu2026wave,
  title = {{Wave Is All You Need: A Quantum Language Model Based on Fully Connected Quantum Boltzmann Machine}},
  author = {Jun Liu},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.34492},
  eprint = {2610.34492},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34492},
}
RIS
TY  - UNPB
TI  - Wave Is All You Need: A Quantum Language Model Based on Fully Connected Quantum Boltzmann Machine
AU  - Jun Liu
PY  - 2026
DA  - 2026/10/25
PB  - arXiv
DO  - 10.48550/arxiv.2610.34492
UR  - https://arxiv.org/abs/2610.34492
AB  - This work proposes a self-attention mechanism based on the fully connected quantum Boltzmann machine (FC-QBM), and further constructs a fully connected quantum Boltzmann machine language model (FC-QBM-LM) using the mechanism as the core engine. By performing unitary evolution on semantic quantum states, the mechanism implicitly implements positional encoding and self-attention computation, eliminating the need to decompose continuous semantic streams into discrete matrices for explicit matrix multiplication, with the measurement results naturally satisfying the normalization condition. Specifically, this work rigorously derives the computational principle of the self-attention mechanism based on FC-QBM, and demonstrates that this mechanism is mathematically equivalent to the classical self-attention mechanism. The mathematical principles governing the training and generation of FC-QBM-LM are thoroughly derived, and the two corresponding algorithms are subsequently developed. An 8-qubit FC-QBM-LM is finally constructed and trained on the corpus of Tang poetry. Under the 8-qubit setting, the quantum layer implements the entire positional encoding and self-attention computation pipeline with only 44 parameters. In the noiseless scenario, the model exhibits favorable convergence. Furthermore, the quantum circuit proposed in this work, which terminates with Y-axis rotation gates, achieves better convergence than the counterpart terminating with X-axis rotation gates. Under the small-sample regime and across eight distinct noise intensity levels, the model demonstrates strong noise robustness, retaining over 99% of its noiseless convergence performance. Experiments on five-character quatrain generation reveal that the model preliminarily exhibits three core capabilities: associative and divergent thinking, content generation across imagery and human-aligned word ordering.
ER  -