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

面向NISQ电路编译器的200行Python微基准测试套件

A 200-Line Python Micro-Benchmark Suite for NISQ Circuit Compilers

University of Vaasa(瓦萨大学)

Juhani Merilehto

AI总结:

本文提出约200行的Python微基准测试套件microbench.py,用于自动测量Qiskit、tket、Cirq等NISQ电路编译器的门深度、双量子比特门数、编译时间和内存占用,为编译器研究提供快速回归测试工具。

摘要:

我们提出microbench.py,这是一个紧凑(约200行)的Python脚本,可自动收集多个开源量子电路转译器的关键编译器指标,即门深度、双量子比特门数量、墙钟编译时间和内存占用。该套件附带六个教学电路(3至8量子比特),实现基础量子算法,并支持Qiskit、tket、Cirq和Qiskit-Braket provider;本文展示了Qiskit 0.46和Braket 1.16的结果。整个运行在笔记本电脑上不到三分钟即可完成,输出一个CSV文件以及可发表的图表,并通过一条命令复现本文中的图形。我们在MIT许可证下发布代码,作为NISQ编译器研究的快速入门回归测试工具。

英文摘要:

We present microbench.py, a compact (approx. 200 lines) Python script that automates the collection of key compiler metrics, i.e., gate depth, two-qubit-gate count, wall-clock compilation time, and memory footprint, across multiple open-source quantum circuit transpilers. The suite ships with six didactic circuits (3 to 8 qubits) implementing fundamental quantum algorithms and supports Qiskit, tket, Cirq, and the Qiskit-Braket provider; in this paper we showcase results for Qiskit 0.46 and Braket 1.16. The entire run completes in under three minutes on a laptop, emits a single CSV plus publisheable plot, and reproduces the figure here with one command. We release the code under the MIT licence to serve as a quick-start regression harness for NISQ compiler research.

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

↑