arrow
Return

Generating Property-Based Tests for Quantum Algorithms

delete2026-01-01
delete0
PRE
AI
A
Antonio García de la Barrera
M
Manuel Serrano
I
Ignacio García‐Rodríguez de Guzmán *
M
Macario Polo
M
Mario Piattini
DOI:10.1007/978-981-96-7423-7_2delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The stochastic nature of quantum software introduces unique challenges for its verification, as traditional testing techniques may be insufficient for handling the probabilistic characteristics of quantum systems. This paper proposes an alternative method for autogenerating unit tests in quantum computing, particularly for quantum oracles in fundamental algorithms like quantum teleportation. Property-based testing is used, addressing assertions related to classical values, quantum superposition, and entanglement. The testing method involves specifying properties abstractly and autogenerating tests through Exemplar-Based Development. The approach is language-agnostic and adaptable to different assertion techniques, demonstrating its ability to test quantum algorithms in multiple programming languages. This work marks progress in quantum software verification, aiding the broader adoption of quantum computing across various sectors.
Keywords:
Quantum Testing
Quantum Computing
Quantum Software Engineering
Quantum Property-based Testing

Journal

S
SERVICE-ORIENTED COMPUTING-ICSOC 2024 WORKSHOPS, ASOCA, AI-PA, WESOACS, GAISS, LAIS, AI ON EDGE, RTSEMS, SQS, SOCAISA, SOC4AI AND SATELLITE EVENTS, PT II
IF:
0
Papers:
32
Citations:
0

Organization

U
Universidad de Castilla-La Mancha
Scholars:
9.9K
Papers: 9.1K
Citations: 7