论文标题

调试量子电路的工具

A Tool For Debugging Quantum Circuits

论文作者

Metwalli, Sara Ayman, Van Meter, Rodney

论文摘要

随着量子程序的规模增长以匹配古典软件的规模,量子软件工程的新生领域必须成熟,诸如调试者之类的工具将变得越来越重要。但是,由于量子计算机的性质,开发量子调试器是具有挑战性的。偷窥量子状态的价值将导致叠加的部分或完全崩溃,并可能破坏必要的纠缠。作为开发完整量子电路调试器的第一步,我们设计并实施了量子电路调试工具。该工具允许用户将电路垂直或水平分为称为切片的较小块,并管理其模拟或执行,以进行交互式调试或自动化测试。该工具还使开发人员能够跟踪整个电路中的门,每个部分都可以更好地理解其行为。早期用户对有用性和可用性的反馈表明,使用该工具切片和测试电路,这有助于使调试过程更加时间效率。

As the scale of quantum programs grows to match that of classical software, the nascent field of quantum software engineering must mature and tools such as debuggers will become increasingly important. However, developing a quantum debugger is challenging due to the nature of a quantum computer; sneaking a peek at the value of a quantum state will cause either partial or complete collapse of the superposition and may destroy the necessary entanglement. As a first step to developing a full quantum circuit debugger, we have designed and implemented a quantum circuit debugging tool. The tool allows the user to divide the circuit vertically or horizontally into smaller chunks known as slices, and manage their simulation or execution for either interactive debugging or automated testing. The tool also enables developers to track gates within the overall circuit and each chunk to understand their behavior better. Feedback on usefulness and usability from early users shows that using the tool to slice and test their circuits has helped make the debugging process more time-efficient for them.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源