Circuit Hypernetworks for Quantum-Augmented Diffusion Language Models
Abstract
Improving pretrained language models with limited adaptation data calls for computational modules that are both effective and scalable. Parameterized quantum circuits offer expressive transformations for language modeling, yet existing quantum-enhanced language models apply the same predefined circuit design to every token in an input sequence, regardless of its content. This limitation is particularly acute in masked-diffusion language models, where token representations evolve across iterative denoising steps while the circuit design remains fixed. We introduce HyperQ, a quantum-augmented masked-diffusion language model that dynamically synthesizes token-specific quantum circuits. Built upon an IQP-inspired architecture, HyperQ employs a lightweight circuit hypernetwork to generate rotation angles and measurement bases conditioned on each token's hidden state. The resulting quantum expectation values are projected back into the frozen language-model backbone through a residual connection. To support wider quantum registers, HyperQ bounds circuit interaction degree, maintaining per-qubit gradient scale and readout cost independent of register width. Across six zero-shot benchmarks, scaling HyperQ from 16 to 64 qubits improves average accuracy from 47.65 to 54.30, surpassing the frozen backbone's 49.59 by 4.71 points while using only one tenth of the fine-tuning data used by classical baselines. We further execute the generated circuits on an IBM 156-qubit superconducting quantum processor, demonstrating their feasibility on physical quantum hardware.
Create a lesson
Metadata
- Categories
- quant-ph, cs.CL
- Comments
- Work in progress
Related papers
Thinking Needs Forgetting: A Quantum Language Model Cannot Afford To
Shared title terminologyquant-phZijian Zhang, Varinia Bernales, Alán Aspuru-Guzik
Hybrid Quantum--Classical Proximal Policy Optimization with Variational Quantum Circuits
Shared title terminologyquant-phSheng-Chieh Tseng, Samuel Yen-Chi Chen, Ying-Jer Kao
Shallow quantum circuits are deeper than you think
Shared title terminologyquant-phMarten Folkertsma, Florian Speelman
Compact Models of Charge and Spin Qubits for Quantum Computing and Hybrid Quantum-Classical Microwave Circuit Simulations
Shared title terminologyquant-phLorenzo Peri, Alberto Gomez-Saiz, M. Fernando Gonzalez-Zalba
Transmitted-Local-Oscillator-Assisted Quantum Receiver for Binary Coherent States under Phase Diffusion
Shared title terminologyquant-phEnhao Bai, Fengkai Sun, Hao Yang et al.
Efficient Classical Algorithm for Non-Unital Noisy Quantum Circuit Sampling
Shared title terminologyquant-phLing-Yun Pu, Chuan Wang, Xiao-Yu Dong et al.