QDB: From Quantum Algorithms Towards Correct Quantum Programs

Yipeng Huang, M. Martonosi
{"title":"QDB: From Quantum Algorithms Towards Correct Quantum Programs","authors":"Yipeng Huang, M. Martonosi","doi":"10.4230/OASIcs.PLATEAU.2018.4","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":408760,"journal":{"name":"PLATEAU@SPLASH","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"33","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"PLATEAU@SPLASH","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/OASIcs.PLATEAU.2018.4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 33

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
QDB:从量子算法到正确的量子程序
随着小型原型量子计算机的出现,研究人员现在可以编写和运行以前提出但尚未完全实现的量子算法。为了支持这种对量子计算实验日益增长的兴趣,程序员需要新的工具和技术来编写和调试QC代码。在这项工作中,我们实现了一系列QC算法和程序,以发现QC程序中发生的错误类型以及针对这些错误的防御措施。我们通过在QC模拟器中运行小型QC程序来进行研究,以便在QC实现中复制已发表的结果。在可能的情况下,我们交叉验证用不同QC语言编写的程序对相同问题和输入的结果。根据这些经验,我们提供了QC错误的分类,并提出了有助于编写正确代码的QC语言特性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Randomized Controlled Trial on the Impact of Polyglot Programming in a Database Context QDB: From Quantum Algorithms Towards Correct Quantum Programs Programming by Example: Efficient, but Not "Helpful" Observing the Uptake of a Language Change Making Strings Immutable Understanding Java Usability by Mining GitHub Repositories
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1