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

Coqa:面向QAOA的极速编译器优化

Coqa: Blazing Fast Compiler Optimizations for QAOA

Yuchen Zhu, Yidong Zhou, Jinglei Cheng, Yuwei Jin, Boxi Li, Siyuan Niu, Zhiding Liang

AI总结:

针对现有量子编译器缺乏QAOA线路专用优化方法的问题,提出Coqa方案,结合LNN拓扑与哈密顿量权重启发式映射减少SWAP门,相较通用编译器实现门数降30%、编译提速39倍。

摘要:

量子近似优化算法(Quantum Approximate Optimization Algorithm, QAOA)是有望实现量子计算优于经典计算的量子优势的候选方案之一。然而,现有编译器缺乏针对QAOA线路优化的专用方法。QAOA线路内部存在特定的线路模式,且当前量子硬件具有特定的量子比特连接拓扑结构。为此,我们提出Coqa,用于针对不同类型的量子硬件优化QAOA线路编译。我们的方法整合了线性最近邻(linear nearest-neighbor, LNN)拓扑,通过基于问题哈密顿量的权重启发式检查相互作用,将QAOA线路的模式高效映射到LNN拓扑上。该方法可减少编译过程中的SWAP门数量,而SWAP门数量直接影响量子计算的线路深度和整体保真度。利用QAOA线路的固有模式,我们的方法相比通用编译器实现了更高效的编译。通过所提出的方法,我们在测试基准集上实现了门数平均减少30%、编译时间加速39倍的效果。

英文摘要:

The Quantum Approximate Optimization Algorithm (QAOA) is one of the most promising candidates for achieving quantum advantage over classical computers. However, existing compilers lack specialized methods for optimizing QAOA circuits. There are circuit patterns inside the QAOA circuits, and current quantum hardware has specific qubit connectivity topologies. Therefore, we propose Coqa to optimize QAOA circuit compilation tailored to different types of quantum hardware. Our method integrates a linear nearest-neighbor (LNN) topology and efficiently map the patterns of QAOA circuits to the LNN topology by heuristically checking the interaction based on the weight of problem Hamiltonian. This approach allows us to reduce the number of SWAP gates during compilation, which directly impacts the circuit depth and overall fidelity of the quantum computation. By leveraging the inherent patterns in QAOA circuits, our approach achieves more efficient compilation compared to general-purpose compilers. With our proposed method, we are able to achieve an average of 30% reduction in gate count and a 39x acceleration in compilation time across our benchmarks.

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

↑