RubriQ:制約意識の量子回路合成のための、制約に基づくグループ相対政策最適化
RubriQ: Rubric-Guided Group Relative Policy Optimization for Constraint-Aware Quantum Circuit Synthesis
RubriQ: Rubric-Guided Group Relative Policy Optimization for Constraint-Aware Quantum Circuit Synthesis
@misc{guo2026rubriq,
title = {RubriQ: Rubric-Guided Group Relative Policy Optimization for Constraint-Aware Quantum Circuit Synthesis},
author = {Ziqing Guo and Ziwen Pan},
year = {2026},
eprint = {2607.07554},
archivePrefix = {arXiv},
primaryClass = {quant-ph},
url = {https://arxiv.org/abs/2607.07554}
}
Guo, Z., & Pan, Z. (2026). RubriQ: Rubric-Guided Group Relative Policy Optimization for Constraint-Aware Quantum Circuit Synthesis [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2607.07554
GUO Z, PAN Z. RubriQ: Rubric-Guided Group Relative Policy Optimization for Constraint-Aware Quantum Circuit Synthesis[EB/OL]. (2026-07-08)[2026-11-29]. https://arxiv.org/abs/2607.07554.
要旨
量子回路は量子アルゴリズムの理解に不可欠であり、量子処理ユニット(QPU)上で正しく効率的に動作する必要がある。検証器を用いた強化学習(RL)では、大規模言語モデル(LLM)を回路合成に訓練可能であるが、報酬システムは未定である。本研究では、正しさを検証器が保証し、コストをスコアで評価する量子ルーブリック RubriQ を提案する。我々は、グループ相対政策最適化を活用することで、検証器が正しさを制御し、スコアが正しい回路をランク付けすることを示した。評価には、量子フーリエ変換(QFT)、位相推定(QPE)、トロッターユニタリを含むユニタリ、状態ベクトル、安定化子表、ランダム化された検証器と、クリフォード、エンタングルメント、ユニタリ、算術、加法子量子回路(最大 192 qubit)が含まれる。結果は、訓練により正しい出力が 7% から 91% に増加し、二値報酬では 10% 未満に閉じることを示している。特に、検証された回路においてルーブリックは平均コストを 91% 削減した。我々は、本フレームワークが実用的な量子計算への貴重な洞察を提供すると信じる。
Quantum circuits are crucial for understanding quantum algorithms and must be correct and efficient on quantum processing units (QPUs). Reinforcement learning (RL) with verifiers can train large language models (LLMs) to synthesize circuits; however, the reward system is unclear. In this study, we present RubriQ, a quantum rubric, where a verifier ensures correctness and scores assess cost. We demonstrate that, leveraging group relative policy optimization, the verifier controls correctness, while scores rank correct circuits. Our evaluation includes unitary, statevector, stabilizer-tableau, and randomized verifiers consisting of quantum Fourier transform (QFT), phase-estimation (QPE), and Trotter unitaries, along with Clifford, entanglement, unitary, arithmetic, and adder quantum circuits, up to 192 qubits. Our results show that training increases correct outputs from 7% to 91%, whereas the binary reward closes less than 10%. Notably, among verified circuits, the rubric reduces average cost by 91%. We believe our framework provides valuable insights into practical quantum computing.