arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1903.03276cs.PLquant-ph
收藏

基于形式约束的噪声中尺度量子系统编译

Formal Constraint-based Compilation for Noisy Intermediate-Scale Quantum Systems

Prakash Murali, Ali Javadi-Abhari, Frederic T. Chong, Margaret Martonosi

摘要:

有噪声的中尺度量子(NISQ)系统预计将具有几百个量子位,最小或没有纠错,有限的连接性以及在机器的短相干窗口内可以执行的门的数量限制。过去十年对量子程序设计语言和编译器的研究是针对具有数千个量子位的大型系统。对于近期的量子系统,设计工具流是至关重要的,它可以有效地利用硬件资源,而不会牺牲高级编程环境的易用性和可移植性。在本文中,我们提出了一个编译器的脚手架量子程序设计语言,其中积极的优化专门针对NISQ机与数百个量子位。我们的编译器提取门从脚手架程序,并制定了一个约束优化问题,考虑程序特性和机器的约束。使用Z3 SMT求解器,编译器将程序量子位映射到硬件量子位,调度门,并插入CNOT路由操作,同时优化整体执行时间。优化的输出用于生成OpenQASM语言的目标代码,这些代码可以在现有的量子硬件(如16量子位IBM机器)上执行。使用真正的和合成的基准,我们表明,它是可行的,以综合接近最佳的编译代码,目前和小型NISQ系统。对于大型程序和机器大小,SMT优化方法可以用于合成编译代码,保证在机器的一致性窗口内完成。

英文摘要:

Noisy, intermediate-scale quantum (NISQ) systems are expected to have a few hundred qubits, minimal or no error correction, limited connectivity and limits on the number of gates that can be performed within the short coherence window of the machine. The past decade's research on quantum programming languages and compilers is directed towards large systems with thousands of qubits. For near term quantum systems, it is crucial to design tool flows which make efficient use of the hardware resources without sacrificing the ease and portability of a high-level programming environment. In this paper, we present a compiler for the Scaffold quantum programming language in which aggressive optimization specifically targets NISQ machines with hundreds of qubits. Our compiler extracts gates from a Scaffold program, and formulates a constrained optimization problem which considers both program characteristics and machine constraints. Using the Z3 SMT solver, the compiler maps program qubits to hardware qubits, schedules gates, and inserts CNOT routing operations while optimizing the overall execution time. The output of the optimization is used to produce target code in the OpenQASM language, which can be executed on existing quantum hardware such as the 16-qubit IBM machine. Using real and synthetic benchmarks, we show that it is feasible to synthesize near-optimal compiled code for current and small NISQ systems. For large programs and machine sizes, the SMT optimization approach can be used to synthesize compiled code that is guaranteed to finish within the coherence window of the machine.

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

↑