QuanFuzz: Fuzz Testing of Quantum Program

10/16/2018
by   Jiyuan Wang, et al.
0

Nowadays, quantum program is widely used and quickly developed. However, the absence of testing methodology restricts their quality. Different input format and operator from traditional program make this issue hard to resolve. In this paper, we present QuanFuzz, a search-based test input generator for quantum program. We define the quantum sensitive information to evaluate test input for quantum program and use matrix generator to generate test cases with higher coverage. First, we extract quantum sensitive information -- measurement operations on those quantum registers and the sensitive branches associated with those measurement results, from the quantum source code. Then, we use the sensitive information guided algorithm to mutate the initial input matrix and select those matrices which improve the probability weight for a value of the quantum register to trigger the sensitive branch. The process keeps iterating until the sensitive branch triggered. We tested QuanFuzz on benchmarks and acquired 20 generation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/18/2022

QuSBT: Search-Based Testing of Quantum Programs

Generating a test suite for a quantum program such that it has the maxim...
research
08/19/2022

Testing Quantum Programs with Multiple Subroutines

Errors in quantum programs are challenging to track down due to the unce...
research
04/18/2019

Optimizing Quantum Programs against Decoherence: Delaying Qubits into Quantum Superposition

Quantum computing technology has reached a second renaissance in the las...
research
08/23/2018

Enhancing POI testing approach through the use of additional information

Recently, a new approach to perform regression testing has been defined:...
research
08/01/2019

Quantum Temporal Logic

In this paper, we introduce a model of quantum concurrent program, which...
research
08/01/2019

Quantum Temporal Logic: from Birkhoff and von Neumann to Pnueli

In this paper, we introduce a model of quantum concurrent program, which...
research
09/11/2022

Using Quantum Computers to Speed Up Dynamic Testing of Software

Software under test can be analyzed dynamically, while it is being execu...

Please sign up or login with your details

Forgot password? Click here to reset