arXiv cs.CL· Jun Liu·· 13 小时前AI 评分18
基于全连接量子玻尔兹曼机的量子语言模型 FC-QBM-LM 提出
Wave Is All You Need: A Quantum Language Model Based on Fully Connected Quantum Boltzmann Machine
AI 导读
研究者提出基于全连接量子玻尔兹曼机(FC-QBM)的自注意力机制,并据此构建语言模型 FC-QBM-LM,该机制通过语义量子态的酉演化隐式完成位置编码与自注意力计算,数学上等价于经典自注意力。
正文 · 原文
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.
| Comments: | 44 pages, 6 figures, 2 tables, 2 algorithms |
| Subjects: | Quantum Physics (quant-ph); Statistical Mechanics (cond-mat.stat-mech); Computation and Language (cs.CL); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.34492 [quant-ph] |
| (or arXiv:2610.34492v1 [quant-ph] for this version) | |
| https://doi.org/10.48550/arXiv.2610.34492 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jun Liu [view email]
[v1]
Sun, 25 Oct 2026 18:35:48 UTC (1,454 KB)
来源:arXiv cs.CL · arxiv.org