基于强化学习的参数化量子态制备:一种比较研究
Reinforcement Learning for Parameterized Quantum State Preparation: A Comparative Study
AI总结:
本文通过强化学习比较了单阶段和双阶段方法在参数化量子态制备中的表现,发现单阶段PPO在计算效率和准确性上更优。
摘要:
我们扩展了定向量子电路合成(DQCS),通过从纯粹的离散门选择强化学习,将其扩展到具有连续单量子位旋转$R_x$、$R_y$和$R_z$的参数化量子态制备。我们比较了两种训练模式:一种是联合选择门类型、受影响的量子位(s)和旋转角度的单阶段智能体;另一种是首先提出一个离散电路,然后使用Adam优化器和参数移位梯度优化旋转角度。使用Gymnasium和PennyLane,我们在包含两个到十个量子位的系统和逐渐增加复杂度的目标上评估Proximal Policy Optimization(PPO)和Advantage Actor-Critic(A2C)。虽然A2C在这种情况下无法学习有效的策略,但PPO在稳定的超参数下成功(单阶段:学习率大约为$5\times10^{-4}$,自保真度误差阈值为0.01;双阶段:学习率大约为$10^{-4}$)。两种方法都能可靠地重建计算基态(成功率在83%到99%之间)和贝尔态(成功率在61%到77%之间)。然而,可扩展性在$λ$约为三到四时饱和,并且即使在$λ=2$时也无法扩展到十量子位目标。双阶段方法只能提供微小的精度提升,但需要大约三倍的运行时间。在固定计算预算下,因此我们推荐单阶段PPO策略,提供显式合成电路,并与经典变分基线进行对比,以阐明改进可扩展性的途径。
英文摘要:
We extend directed quantum circuit synthesis (DQCS) with reinforcement learning from purely discrete gate selection to parameterized quantum state preparation with continuous single-qubit rotations \(R_x\), \(R_y\), and \(R_z\). We compare two training regimes: a one-stage agent that jointly selects the gate type, the affected qubit(s), and the rotation angle; and a two-stage variant that first proposes a discrete circuit and subsequently optimizes the rotation angles with Adam using parameter-shift gradients. Using Gymnasium and PennyLane, we evaluate Proximal Policy Optimization (PPO) and Advantage Actor--Critic (A2C) on systems comprising two to ten qubits and on targets of increasing complexity with \(λ\) ranging from one to five. Whereas A2C does not learn effective policies in this setting, PPO succeeds under stable hyperparameters (one-stage: learning rate approximately \(5\times10^{-4}\) with a self-fidelity-error threshold of 0.01; two-stage: learning rate approximately \(10^{-4}\)). Both approaches reliably reconstruct computational basis states (between 83\% and 99\% success) and Bell states (between 61\% and 77\% success). However, scalability saturates for \(λ\) of approximately three to four and does not extend to ten-qubit targets even at \(λ=2\). The two-stage method offers only marginal accuracy gains while requiring around three times the runtime. For practicality under a fixed compute budget, we therefore recommend the one-stage PPO policy, provide explicit synthesized circuits, and contrast with a classical variational baseline to outline avenues for improved scalability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。