arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.03147quant-ph
收藏

通过能量最小化实现稳健的量子编译和电路优化

Robust quantum compilation and circuit optimisation via energy minimisation

Tyson Jones, Simon C Benjamin

摘要:

我们探索了一种将量子线路A自动重编译为目标线路B的方法,目标是两个线路对特定输入即B具有相同的动作|in> = A| in>.这是特别相关的混合动力,NISQ时代的算法的动态模拟或特征值求解。用户最初指定B为空白模板:配置为标识的参数化单式门的布局。然后,使用量子硬件进行编译以执行同构能量最小化任务,以及可选的门消除阶段来压缩电路。如果B不足以进行完美的重新编译,那么该方法将得到近似解。我们优化使用虚时间演化,和最近扩展的量子自然梯度噪声设置。我们成功地将一个涉及186个多种类型的门的7量子位电路重新编译成具有不同拓扑结构的替代形式,少得多的两个量子位门和更小的门类型家族。此外,我们验证了该过程是鲁棒的,发现高达1%的每门噪声仍然可以产生近乎完美的重新编译。我们测试我们的算法的缩放高达20量子位,重新编译成电路多达400个参数化门,并纳入自定义自适应时间步长技术。我们注意到,该过程的经典模拟对于优化当今原型的电路可能是有用的,并且更一般地,该方法可以实现“盲”编译,即利用其对控制参数的响应是确定性的但未知的设备。

英文摘要:

We explore a method for automatically recompiling a quantum circuit A into a target circuit B, with the goal that both circuits have the same action on a specific input i.e. B|in> = A|in>. This is of particular relevance to hybrid, NISQ-era algorithms for dynamical simulation or eigensolving. The user initially specifies B as a blank template: a layout of parameterised unitary gates configured to the identity. The compilation then proceeds using quantum hardware to perform an isomorphic energy-minimisation task, and an optional gate elimination phase to compress the circuit. If B is insufficient for perfect recompilation then the method will result in an approximate solution. We optimise using imaginary time evolution, and a recent extension of quantum natural gradient for noisy settings. We successfully recompile a 7-qubit circuit involving 186 gates of multiple types into an alternative form with a different topology, far fewer two-qubit gates, and a smaller family of gate types. Moreover we verify that the process is robust, finding that per-gate noise of up to 1% can still yield near-perfect recompilation. We test the scaling of our algorithm on up to 20 qubits, recompiling into circuits with up to 400 parameterized gates, and incorporate a custom adaptive timestep technique. We note that a classical simulation of the process can be useful to optimise circuits for today's prototypes, and more generally the method may enable 'blind' compilation i.e. harnessing a device whose response to control parameters is deterministic but unknown.

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

↑