arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.04387cs.SEcs.PL
收藏

QChecker:通过静态分析检测量子程序中的错误

QChecker: Detecting Bugs in Quantum Programs via Static Analysis

Pengzhan Zhao, Xiongfei Wu, Zhuo Li, Jianjun Zhao

AI总结:

本文提出了一种名为QChecker的静态分析工具,通过基于AST提取程序信息和基于模式检测错误的两个模块,有效检测Qiskit量子程序中的错误。

摘要:

静态分析是在不执行软件的情况下分析软件代码的过程。它可以帮助发现可能仅在运行时出现的软件错误和潜在问题。尽管已经为经典软件开发了许多静态分析工具,但由于量子程序的特性,这些现有工具不适合用于分析量子程序。本文提出了QChecker,这是一种支持查找Qiskit中量子程序错误的静态分析工具。QChecker由两个主要模块组成:一个基于抽象语法树(AST)提取程序信息的模块,以及一个基于模式检测错误的模块。我们使用Bugs4Q基准评估了QChecker的性能。评估结果表明,QChecker能够有效地检测量子程序中的各种错误。

英文摘要:

Static analysis is the process of analyzing software code without executing the software. It can help find bugs and potential problems in software that may only appear at runtime. Although many static analysis tools have been developed for classical software, due to the nature of quantum programs, these existing tools are unsuitable for analyzing quantum programs. This paper presents QChecker, a static analysis tool that supports finding bugs in quantum programs in Qiskit. QChecker consists of two main modules: a module for extracting program information based on abstract syntax tree (AST), and a module for detecting bugs based on patterns. We evaluate the performance of QChecker using the Bugs4Q benchmark. The evaluation results show that QChecker can effectively detect various bugs in quantum programs.

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

↑