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

基于ZX演算的量子-经典混合电路简化

Hybrid quantum-classical circuit simplification with the ZX-calculus

Agustín Borgna, Simon Perdrix, Benoît Valiron

摘要:

我们提出了一个完整的优化过程的混合量子经典电路与经典奇偶逻辑。虽然用于量子算法的常见优化技术集中于仅重写纯量子段,但是对于诸如量子纠错和量子断言之类的应用,有兴趣应用全局优化过程。本工作基于Duncan等人的纯量子线路优化方法,使用一个正式的图形ZX演算称为ZX-地面的扩展作为中间表示的混合电路,允许粒度优化低于量子门的水平。我们定义了一个翻译从混合电路到图表,承认图形理论的重点gFlow属性,需要最后提取回电路。然后,我们推导出一些gFlow保持优化规则的ZX-接地图,减少图形的大小,并设计一种策略,通过重写高斯消除过程指导下的图,以找到优化的机会。然后,提取电路后,我们提出了一个通用的程序检测段的电路一样的ZX-接地图,可以实现与经典的门在提取的电路。我们已经实现了我们的优化过程作为开源Python库PyZX的扩展。

英文摘要:

We present a complete optimization procedure for hybrid quantum-classical circuits with classical parity logic. While common optimization techniques for quantum algorithms focus on rewriting solely the pure quantum segments, there is interest in applying a global optimization process for applications such as quantum error correction and quantum assertions. This work, based on the pure-quantum circuit optimization procedure by Duncan et al., uses an extension of the formal graphical ZX-calculus called ZX-ground as an intermediary representation of the hybrid circuits to allow for granular optimizations below the quantum-gate level. We define a translation from hybrid circuits into diagrams that admit the graph-theoretical focused-gFlow property, needed for the final extraction back into a circuit. We then derive a number of gFlow-preserving optimization rules for ZX-ground diagrams that reduce the size of the graph, and devise an strategy to find optimization opportunities by rewriting the diagram guided by a Gauss elimination process. Then, after extracting the circuit, we present a general procedure for detecting segments of circuit-like ZX-ground diagrams which can be implemented with classical gates in the extracted circuit. We have implemented our optimization procedure as an extension to the open-source python library PyZX.

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

↑