arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.13142quant-phcs.ET
收藏

ForeSight:通过自适应多候选人评估减少NISQ计划中的SWAP

ForeSight: Reducing SWAPs in NISQ Programs via Adaptive Multi-Candidate Evaluations

Poulami Das, Suhas K. Vittal, Moinuddin Qureshi

摘要:

近期量子计算机是嘈杂的,量子比特之间的连接有限。为了在不相邻的量子位之间执行两个量子位门,需要引入SWAP操作。SWAP增加了程序的门数和深度,使它们更容易出错。此外,它们重新定位量子位,这会影响程序中未来门的SWAP选择。因此,编译器必须选择SWAP路由,不仅要最小化当前操作的开销,还要最小化未来门的开销。现有的编译器倾向于为当前操作选择具有最少SWAP的路径,但不评估从所选SWAP候选者的重定位对未来SWAP的影响。此外,它们收敛于当前操作的SWAP候选,然后才决定未来门的SWAP路由,从而严重限制了未来操作的SWAP候选搜索空间。我们提出了ForeSight,一个编译器,同时评估多个SWAP候选人的几个操作到未来,延迟SWAP选择,以分析其对未来SWAP决策的影响,并避免过早收敛次优候选人。此外,ForeSight还评估了当前运营中稍长的SWAP路线,如果它们有可能减少未来关口的SWAP,从而减少全球计划的SWAP。随着编译的进行,ForeSight会动态地将新的SWAP候选项添加到解决方案空间中,并删除较弱的候选项。这使得ForeSight能够在程序级减少SWAP开销,同时保持编译复杂性易于处理。我们对三种设备的一百个基准进行了评估,结果表明,与基线相比,ForeSight平均将SWAP开销减少了17%,最佳情况下减少了81%。ForeSight只需几分钟,使其可扩展到大型程序。

英文摘要:

Near-term quantum computers are noisy and have limited connectivity between qubits. Compilers are required to introduce SWAP operations in order to perform two-qubit gates between non-adjacent qubits. SWAPs increase the number of gates and depth of programs, making them even more vulnerable to errors. Moreover, they relocate qubits which affect SWAP selections for future gates in a program. Thus, compilers must select SWAP routes that not only minimize the overheads for the current operation, but also for future gates. Existing compilers tend to select paths with the fewest SWAPs for the current operations, but do not evaluate the impact of the relocations from the selected SWAP candidate on future SWAPs. Also, they converge on SWAP candidates for the current operation and only then decide SWAP routes for future gates, thus severely restricting the SWAP candidate search space for future operations. We propose ForeSight, a compiler that simultaneously evaluates multiple SWAP candidates for several operations into the future, delays SWAP selections to analyze their impact on future SWAP decisions and avoids early convergence on sub-optimal candidates. Moreover, ForeSight evaluates slightly longer SWAP routes for current operations if they have the potential to reduce SWAPs for future gates, thus reducing SWAPs for the program globally. As compilation proceeds, ForeSight dynamically adds new SWAP candidates to the solution space and eliminates the weaker ones. This allows ForeSight to reduce SWAP overheads at program-level while keeping the compilation complexity tractable. Our evaluations with a hundred benchmarks across three devices show that ForeSight reduces SWAP overheads by 17% on average and 81% in the best-case, compared to the baseline. ForeSight takes minutes, making it scalable to large programs.

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

↑