跳到主要导航 跳到搜索 跳到主要内容

A Strategy of Dynamic Random Testing with Hybrid Distance Metrics for Quantum Programs

  • Beihang University
  • University of Science and Technology Beijing

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Quantum Computing (QC) leverages quantum mechanics to manipulate quantum information, holding greater potential than classical computing. To fully exploit QC's potential, it is crucial to ensure the reliability and quality of quantum programs. Research on quantum program testing is still at its early stage, in which some distinctive features of quantum programs, e.g., superposition and entanglement, may be overlooked, and the fault detection capability and testing effectiveness are rather limited. Besides, the input space of quantum programs may exponentially grow when the number of qubits increases, posing great challenges to testing quantum programs. It is imperative to develop a proper testing strategy to effectively select the potential failure-causing test cases and detect faults faster. In this paper, test cases with both basis states and superposition ones are considered and generated to cover more input space. A hybrid distance measurement method based on quantum fidelity and Hamming distance is presented for measuring the similarity among quantum test cases. Furthermore, a Dynamic Random Testing strategy based on Hybrid distance metrics (DRT-H) for quantum programs is proposed, which combines the hybrid distance metrics and the feedback mechanism of the classical Dynamic Random Testing (DRT) strategy to adjust the testing profile and guide the test case selection. Experimental studies demonstrate that the proposed DRT-H strategy outperforms the baseline testing strategies in most cases.

源语言英语
主期刊名Proceedings - 2024 IEEE 24th International Conference on Software Quality, Reliability and Security, QRS 2024
出版商Institute of Electrical and Electronics Engineers Inc.
1-12
页数12
ISBN(电子版)9798350365634
DOI
出版状态已出版 - 2024
活动24th IEEE International Conference on Software Quality, Reliability and Security, QRS 2024 - Cambridge, 英国
期限: 1 7月 20245 7月 2024

出版系列

姓名IEEE International Conference on Software Quality, Reliability and Security, QRS
ISSN(印刷版)2693-9177

会议

会议24th IEEE International Conference on Software Quality, Reliability and Security, QRS 2024
国家/地区英国
Cambridge
时期1/07/245/07/24

指纹

探究 'A Strategy of Dynamic Random Testing with Hybrid Distance Metrics for Quantum Programs' 的科研主题。它们共同构成独一无二的指纹。

引用此