A Black-box Testing Framework for Oracle Quantum Programs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Long, Peixun, Zhao, Jianjun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912969843015680
author Long, Peixun
Zhao, Jianjun
author_facet Long, Peixun
Zhao, Jianjun
contents Oracle quantum programs are a fundamental class of quantum programs that serve as a critical bridge between quantum computing and classical computing. Many important quantum algorithms are built upon oracle quantum programs, making it essential to ensure their correctness during development. Although software testing is a well-established approach for improving program reliability, no systematic method has been developed to test oracle quantum programs. This paper proposes a black-box testing framework designed for general oracle quantum programs. We formally define these programs, establish the foundational theory for their testing, and propose a detailed testing framework. We develop a prototype tool and conduct extensive experimental evaluations to evaluate the effectiveness of the framework. Our results demonstrate that the proposed framework significantly aids developers in testing oracle quantum programs, providing insights to enhance the reliability of quantum software.
format Preprint
id arxiv_https___arxiv_org_abs_2505_07243
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Black-box Testing Framework for Oracle Quantum Programs
Long, Peixun
Zhao, Jianjun
Software Engineering
Quantum Physics
Oracle quantum programs are a fundamental class of quantum programs that serve as a critical bridge between quantum computing and classical computing. Many important quantum algorithms are built upon oracle quantum programs, making it essential to ensure their correctness during development. Although software testing is a well-established approach for improving program reliability, no systematic method has been developed to test oracle quantum programs. This paper proposes a black-box testing framework designed for general oracle quantum programs. We formally define these programs, establish the foundational theory for their testing, and propose a detailed testing framework. We develop a prototype tool and conduct extensive experimental evaluations to evaluate the effectiveness of the framework. Our results demonstrate that the proposed framework significantly aids developers in testing oracle quantum programs, providing insights to enhance the reliability of quantum software.
title A Black-box Testing Framework for Oracle Quantum Programs
topic Software Engineering
Quantum Physics
url https://arxiv.org/abs/2505.07243