# HyperQ：为冻结的扩散语言模型加量子残差分支的 Circuit Hypernetworks

- 来源：HuggingFace Daily Papers（社区热门论文）
- 发布时间：2026-09-21 08:00
- AIHOT 分数：36
- AIHOT 链接：https://aihot.news/items/cmudj6uwj0cojroggd7vwlv48
- 原文链接：https://arxiv.org/abs/2609.24657

## AI 摘要

HyperQ 在冻结的掩码扩散语言模型每个 transformer block 中加入 token 条件化的量子残差分支，由轻量级 circuit hypernetwork 生成 token 专属的旋转角、耦合强度与测量轴，仅训练新增分支。

## 正文

Language models can be adapted by changing the computations applied to individual tokens. Quantum circuits offer one such approach, but evaluating wider circuits inside a large model can be computationally demanding. Here we introduce HyperQ, which adds token-conditioned quantum residual branches to a frozen masked-diffusion language model. A quantum residual branch is a module in each transformer block that reads a token's hidden state, emits the coordinates of that token's circuit, executes it, and adds the measured values back through a residual connection.

The backbone remains frozen, and only the added branches are trained. Within each branch, a lightweight circuit hypernetwork emits token-specific rotation angles, coupling strengths, and measurement axes in a shared sparse circuit structure. The required expectation values have an exact classical expression whose evaluation cost grows linearly with the qubit count, enabling circuits from 16 to 64 qubits to be trained within a 1.1-billion-parameter backbone. Across downstream benchmarks, increasing circuit width raises the average score from 47.65 to 54.30.

At 64 qubits, HyperQ exceeds the backbone and its low-rank-adapted counterpart by 4.71 and 3.67 points, respectively. HyperQ is fine-tuned on 20,000 prompt-response pairs, compared with 200,000 for the classical baselines. These findings support token-conditioned circuit emission as a tractable architectural approach to quantum-augmented language modelling.
