Metamorphic Testing of Oracle Quantum Programs

Rui Abreu, J. Fernandes, Luis Llana, Guilherme Tavares
{"title":"Metamorphic Testing of Oracle Quantum Programs","authors":"Rui Abreu, J. Fernandes, Luis Llana, Guilherme Tavares","doi":"10.1145/3528230.3529189","DOIUrl":null,"url":null,"abstract":"Quantum Computing is regarded with a growing sense of excite-ment and expectation. While the preliminary evidences of its prac-tical interest accumulate, there are numerous challenges that must be addressed before quantum computing can reach generalized adoption and realize its full potential. One such challenge concerns assessing whether a quantum program is correct, namely in the sense that it implements the desired functionality. In the classical realm, program testing is a well-established approach to find de-fects in programs. While this approach should inspire quantum software development, porting classical testing techniques to the quantum world is by no means trivial. We propose a novel approach to test quantum programs. Our approach is based on the use of metamorphic relations, which allows us to overcome the well-known quantum measurement problem. We describe a series of exploratory experiments whose results provide evidence of the usefulness of our approach.","PeriodicalId":371128,"journal":{"name":"2022 IEEE/ACM 3rd International Workshop on Quantum Software Engineering (Q-SE)","volume":"74 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE/ACM 3rd International Workshop on Quantum Software Engineering (Q-SE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3528230.3529189","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

Quantum Computing is regarded with a growing sense of excite-ment and expectation. While the preliminary evidences of its prac-tical interest accumulate, there are numerous challenges that must be addressed before quantum computing can reach generalized adoption and realize its full potential. One such challenge concerns assessing whether a quantum program is correct, namely in the sense that it implements the desired functionality. In the classical realm, program testing is a well-established approach to find de-fects in programs. While this approach should inspire quantum software development, porting classical testing techniques to the quantum world is by no means trivial. We propose a novel approach to test quantum programs. Our approach is based on the use of metamorphic relations, which allows us to overcome the well-known quantum measurement problem. We describe a series of exploratory experiments whose results provide evidence of the usefulness of our approach.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Oracle量子程序的变形测试
人们对量子计算越来越感到兴奋和期待。虽然其实际利益的初步证据不断积累,但在量子计算能够广泛采用并充分发挥其潜力之前,必须解决许多挑战。其中一个挑战涉及评估量子程序是否正确,也就是说,它是否实现了期望的功能。在传统领域中,程序测试是一种在程序中发现缺陷的行之有效的方法。虽然这种方法应该激发量子软件开发,但将经典测试技术移植到量子世界绝非易事。我们提出了一种新的方法来测试量子程序。我们的方法是基于使用变质关系,这使我们能够克服众所周知的量子测量问题。我们描述了一系列探索性实验,其结果为我们的方法的有效性提供了证据。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Investigating Quantum Cause-Effect Graphs A Multi-Lingual Benchmark for Property-Based Testing of Quantum Programs Metamorphic Testing of Oracle Quantum Programs
×
引用
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