arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.35822quant-phcs.AI
收藏

基于验证器引导强化学习的多模态生成量子电路优化

Multimodal Generative Quantum Circuit Optimization with Verifier-Guided Reinforcement Learning

Intelligent Quantum Inception Inc.(智能量子创想有限公司);iFLYTEK Research(科大讯飞研究院);Tsinghua University(清华大学)

Xiaodi Li, Linghui Chen, Tao Zhang

AI总结:

该研究提出验证器引导强化学习结合规模课程训练的多模态GNN-Transformer方法,实现量子电路优化,提升等效准确率,减少双量子比特门,可扩展至300门电路并泛化到更深电路。

摘要:

量子电路优化是将电路替换为等效电路,以减少代价高昂的操作:双量子比特门(在有噪声硬件中是错误的主要来源)和非克利福德T门(在容错开销中占主导)。我们将该任务表述为图条件序列到序列生成,并引入\textit{Graph-Augmented Fusion Transformer for Quantum circuit optimization(\textit{method})},这是一种多模态GNN-Transformer,可在Transformer编码器中联合编码源电路的门标记序列和简化ZX图,并自回归生成优化后的电路。该模型首先通过监督学习在数百万个经过验证的三元组上进行预训练,这些三元组包含随机源电路、其简化ZX图以及由PyZX优化得到的目标电路。随后通过强化学习进行微调:一个验证器检查每个生成的电路是否与参考电路等效,奖励函数则根据其相对于参考电路的门数减少量进行评分。我们将Group Relative Policy Optimization(GRPO)与Maximum-Likelihood Reinforcement Learning(MaxRL)进行比较,将MaxRL的二元奖励目标推广到连续非负奖励,并提出一种混合优势估计器,结合两者的优势。规模课程进一步将训练从短(20-100门)电路扩展到5-20量子比特上的300门电路。在保留的基准测试中,采用课程训练的验证器引导强化学习将20-100门电路的等效准确率(pass@8)从监督学习下的67.7%提升至94.1%,同时在双量子比特门减少方面超越PyZX,且T门数量几乎与PyZX相当,并将优化扩展到300门电路,同时对更深的未见过的电路具有泛化能力。

英文摘要:

Quantum circuit optimization replaces a circuit with an equivalent one using fewer costly operations: two-qubit gates, which dominate error on noisy hardware, and non-Clifford $T$ gates, which dominate fault-tolerant overhead. We formulate this task as graph-conditioned sequence-to-sequence generation and introduce \method{} (Graph-Augmented Fusion Transformer for Quantum circuit optimization), a multimodal GNN-Transformer that jointly encodes a source circuit's gate-token sequence and simplified ZX diagram in a Transformer encoder and autoregressively generates an optimized circuit. The model is first pretrained by supervised learning on millions of verified triples of a random source circuit, its simplified ZX diagram, and a target circuit optimized by PyZX. It is then fine-tuned by reinforcement learning: a verifier checks whether each generated circuit is equivalent to the reference circuit, and a reward function scores its gate-count reduction relative to that reference. We compare Group Relative Policy Optimization (GRPO) with Maximum-Likelihood Reinforcement Learning (MaxRL), whose binary-reward objective we generalize to continuous non-negative rewards, and propose a Hybrid advantage estimator that combines the strengths of both. A size curriculum further extends training from short (20--100-gate) circuits up to 300 gates on 5--20 qubits. On held-out benchmarks, verifier-guided RL with curriculum training raises equivalence accuracy (pass@8) on 20--100-gate circuits from $67.7\%$ under supervised learning to $94.1\%$ while surpassing PyZX in two-qubit gate reduction and nearly matching its $T$-gate counts, and scales optimization to 300-gate circuits while generalizing to deeper unseen circuits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑