arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.05447cs.PLquant-ph
收藏

QDB:从量子算法到正确的量子程序

QDB: From Quantum Algorithms Towards Correct Quantum Programs

Yipeng Huang, Margaret Martonosi

摘要:

随着小规模量子计算机原型的出现,研究人员现在可以编码和运行以前提出但尚未完全实现的量子算法。为了支持对量子计算实验日益增长的兴趣,程序员需要新的工具和技术来编写和调试QC代码。在这项工作中,我们实现了一系列的QC算法和程序,以发现什么类型的错误发生和什么样的防御措施,对这些错误是可能的QC程序。我们通过在QC模拟器中运行小型QC程序来进行研究,以便在QC实施中复制已发布的结果。在可能的情况下,我们交叉验证来自不同QC语言编写的程序的结果,以解决相同的问题和输入。借鉴这一经验,我们提供了一个分类的QC错误,我们提出的QC语言功能,将有助于编写正确的代码。

英文摘要:

With the advent of small-scale prototype quantum computers, researchers can now code and run quantum algorithms that were previously proposed but not fully implemented. In support of this growing interest in quantum computing experimentation, programmers need new tools and techniques to write and debug QC code. In this work, we implement a range of QC algorithms and programs in order to discover what types of bugs occur and what defenses against those bugs are possible in QC programs. We conduct our study by running small-sized QC programs in QC simulators in order to replicate published results in QC implementations. Where possible, we cross-validate results from programs written in different QC languages for the same problems and inputs. Drawing on this experience, we provide a taxonomy for QC bugs, and we propose QC language features that would aid in writing correct code.

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

↑