arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2009.02376quant-ph
收藏

IBM Qiskit量子线路编译流程的测试结果

Verifying Results of the IBM Qiskit Quantum Circuit Compilation Flow

Lukas Burgholzer, Rudy Raymond, Robert Wille

摘要:

在实际物理设备上实现概念量子算法需要算法的量子线路描述经历某些变换,以便遵守硬件施加的所有约束。在这方面,各个高级电路组件首先被合成到量子计算机的支持的低级门集,然后被映射到目标的架构-利用几个优化来改善编译结果。存在用于此复杂任务的专用工具,例如,IBM的Qiskit、Google的Cirq、微软的QDK或Rigetti的Forest。然而,到目前为止,这些工具产生的电路几乎没有得到验证,这主要是由于检查两个量子线路是否确实实现了相同的功能的巨大复杂性。本文提出了一种有效的量子线路等价性检验方案--专门用于验证IBM Qiskit量子线路编译流程的结果。为此,我们结合了量子计算特有的特性,例如,其固有的可逆性以及关于编译的某些知识流入专用的等价性检查策略中。实验评估证实,所提出的方案允许验证即使是大型电路实例,在几秒钟或更短的时间内进行数万次操作,而最先进的技术经常超时或需要更多的运行时间。在https://github.com/iic-jku/qcec上公开了所提出的方法的相应开源实现。

英文摘要:

Realizing a conceptual quantum algorithm on an actual physical device necessitates the algorithm's quantum circuit description to undergo certain transformations in order to adhere to all constraints imposed by the hardware. In this regard, the individual high-level circuit components are first synthesized to the supported low-level gate-set of the quantum computer, before being mapped to the target's architecture---utilizing several optimizations in order to improve the compilation result. Specialized tools for this complex task exist, e.g., IBM's Qiskit, Google's Cirq, Microsoft's QDK, or Rigetti's Forest. However, to date, the circuits resulting from these tools are hardly verified, which is mainly due to the immense complexity of checking if two quantum circuits indeed realize the same functionality. In this paper, we propose an efficient scheme for quantum circuit equivalence checking---specialized for verifying results of the IBM Qiskit quantum circuit compilation flow. To this end, we combine characteristics unique to quantum computing, e.g., its inherent reversibility, and certain knowledge about the compilation flow into a dedicated equivalence checking strategy. Experimental evaluations confirm that the proposed scheme allows to verify even large circuit instances with tens of thousands of operations within seconds or even less, whereas state-of-the-art techniques frequently time-out or require substantially more runtime. A corresponding open source implementation of the proposed method is publicly available at https://github.com/iic-jku/qcec.

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

↑