跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2209.04860 (cs)
[提交于 2022年9月11日]

标题:Using Quantum Computers to Speed Up Dynamic Testing of Software

作者:Andriy Miranskyy
查看论文《Using Quantum Computers to Speed Up Dynamic Testing of Software》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Software under test can be analyzed dynamically, while it is being executed, to find defects. However, as the number and possible values of input parameters increase, the cost of dynamic testing rises. This paper examines whether quantum computers (QCs) can help speed up the dynamic testing of programs written for classical computers (CCs). To accomplish this, an approach is devised involving the following three steps: (1) converting a classical program to a quantum program; (2) computing the number of inputs causing errors, denoted by $K$, using a quantum counting algorithm; and (3) obtaining the actual values of these inputs using Grover's search algorithm. This approach can accelerate exhaustive and non-exhaustive dynamic testing techniques. On the CC, the computational complexity of these techniques is $O(N)$, where $N$ represents the count of combinations of input parameter values passed to the software under test. In contrast, on the QC, the complexity is $O(\varepsilon^{-1} \sqrt{N/K})$, where $\varepsilon$ is a relative error of measuring $K$. The paper illustrates how the approach can be applied and discusses its limitations. Moreover, it provides a toy example executed on a simulator and an actual QC. This paper may be of interest to academics and practitioners as the approach presented in the paper may serve as a starting point for exploring the use of QC for dynamic testing of CC code.
评论: To appear in Proceedings of the 1st International Workshop on Quantum Programming for Software Engineering (QP4SE '22), November 18, 2022, Singapore
主题: 软件工程 (cs.SE); 新兴技术 (cs.ET); 量子物理 (quant-ph)
引用方式: arXiv:2209.04860 [cs.SE]
  (或者 arXiv:2209.04860v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2209.04860
相关 DOI: https://doi.org/10.1145/3549036.3562061

提交历史

来自:Andriy Miranskyy
[v1] 2022年9月11日 星期日 13:28:26 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-09
切换浏览方式为:
cs
cs.ET
quant-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站