Hybrid Quantum Transformer for Language Generation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kong, Desheng, Cui, Xiangshuo, Jin, Jiaying, Xu, Jing, Wang, Donglin
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917079477649408
author Kong, Desheng
Cui, Xiangshuo
Jin, Jiaying
Xu, Jing
Wang, Donglin
author_facet Kong, Desheng
Cui, Xiangshuo
Jin, Jiaying
Xu, Jing
Wang, Donglin
contents Although quantum computing has been increasingly applied to replace classical computation, most existing quantum or hybrid models remain confined to simple tasks, with no successful application to large-scale natural language generation to date. In this work, we present the first hybrid quantum-classical large language model (LLM) for natural language generation, HyQuT, capable of performing coherent and context-aware dialogue. The proposed architecture integrates variational quantum circuits (VQCs) into the Transformer framework at both 8M and 150M parameter scales. Experimental results show that a minimal number of qubits (10 qubits with 80 quantum gates) can replace about 10% of the classical parameters in the 150M-parameter model, while achieving comparable convergence stability and generation quality. This study provides an early demonstration of the feasibility of integrating quantum computing to large-scale generative language models.
format Preprint
id arxiv_https___arxiv_org_abs_2511_10653
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Hybrid Quantum Transformer for Language Generation
Kong, Desheng
Cui, Xiangshuo
Jin, Jiaying
Xu, Jing
Wang, Donglin
Computation and Language
Artificial Intelligence
Quantum Physics
Although quantum computing has been increasingly applied to replace classical computation, most existing quantum or hybrid models remain confined to simple tasks, with no successful application to large-scale natural language generation to date. In this work, we present the first hybrid quantum-classical large language model (LLM) for natural language generation, HyQuT, capable of performing coherent and context-aware dialogue. The proposed architecture integrates variational quantum circuits (VQCs) into the Transformer framework at both 8M and 150M parameter scales. Experimental results show that a minimal number of qubits (10 qubits with 80 quantum gates) can replace about 10% of the classical parameters in the 150M-parameter model, while achieving comparable convergence stability and generation quality. This study provides an early demonstration of the feasibility of integrating quantum computing to large-scale generative language models.
title Hybrid Quantum Transformer for Language Generation
topic Computation and Language
Artificial Intelligence
Quantum Physics
url https://arxiv.org/abs/2511.10653