论文标题
广场:通过成本效益的模块化量子程序的战略量子Ancilla重复使用
SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective Uncomputation
论文作者
论文摘要
将高级量子程序汇编为尺寸约束的机器(即量子位数量有限)和时间约束(即量子操作数量有限)是具有挑战性的。在本文中,我们提出了Square(战略性量子Ancilla Reuse),这是一个汇编基础设施,可在模块化量子程序中解决刮擦量量计(称为Ancilla)的分配和回收。从策略上讲,Square从策略上履行了不成功,以创造Qubit Reuse的机会。 当前的噪声中间尺度量子(NISQ)计算机和前瞻性故障(FT)量子计算机具有从根本上不同的约束,例如数据位置,指令并行性和通信开销。我们的基于启发式的Ancilla-Reuse算法可以平衡这些考虑因素,并将计算拟合到资源受限的NISQ或FT量子机中,并在必要时进行限制并行性。为了准确捕获程序的工作量,我们提出了一个改进的度量标准,即“主动量子量”,并使用此指标来评估我们的算法的有效性。我们的结果表明,正方形将NISQ应用程序的平均成功率提高了1.47倍。令人惊讶的是,不贡献的额外大门会创造出更好的位置的Ancilla,并且总体上会导致更少的交换门和门噪声更少。正方形还可以在FT机器的活动量子体积中平均减少1.5倍(最高9.6倍)。
Compiling high-level quantum programs to machines that are size constrained (i.e. limited number of quantum bits) and time constrained (i.e. limited number of quantum operations) is challenging. In this paper, we present SQUARE (Strategic QUantum Ancilla REuse), a compilation infrastructure that tackles allocation and reclamation of scratch qubits (called ancilla) in modular quantum programs. At its core, SQUARE strategically performs uncomputation to create opportunities for qubit reuse. Current Noisy Intermediate-Scale Quantum (NISQ) computers and forward-looking Fault-Tolerant (FT) quantum computers have fundamentally different constraints such as data locality, instruction parallelism, and communication overhead. Our heuristic-based ancilla-reuse algorithm balances these considerations and fits computations into resource-constrained NISQ or FT quantum machines, throttling parallelism when necessary. To precisely capture the workload of a program, we propose an improved metric, the "active quantum volume," and use this metric to evaluate the effectiveness of our algorithm. Our results show that SQUARE improves the average success rate of NISQ applications by 1.47X. Surprisingly, the additional gates for uncomputation create ancilla with better locality, and result in substantially fewer swap gates and less gate noise overall. SQUARE also achieves an average reduction of 1.5X (and up to 9.6X) in active quantum volume for FT machines.