quAssert: Automatic Generation of Quantum Assertions

03/02/2023
by   Hasini Witharana, et al.
0

Functional validation is necessary to detect any errors during quantum computation. There are promising avenues to debug quantum circuits using runtime assertions. However, the existing approaches rely on the expertise of the verification engineers to manually design and insert the assertions in suitable locations. In this paper, we propose automated generation and placement of quantum assertions based on static analysis and random sampling of quantum circuits. Specifically, this paper makes two important contributions. We automatically uncover special properties of a quantum circuit, such as purely classical states, superposition states, and entangled states using statistical methods. We also perform automated placement of quantum assertions to maximize the functional coverage as well as minimize the hardware overhead. We demonstrate the effectiveness of the generated assertions in error detection using a suite of quantum benchmarks, including Shor's factoring algorithm and Grover's search algorithm.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/02/2017

Quantum programming made easy

We introduce the functional language IQu ("Haiku") which, under the para...
research
05/31/2023

Bell sampling from quantum circuits

A central challenge in the verification of quantum computers is benchmar...
research
05/17/2018

Towards Large-scale Functional Verification of Universal Quantum Circuits

We introduce a framework for the formal specification and verification o...
research
12/15/2020

Sampling Overhead Analysis of Quantum Error Mitigation: Uncoded vs. Coded Systems

Quantum error mitigation (QEM) is a promising technique of protecting hy...
research
07/01/2022

Automated Quantum Circuit Design with Nested Monte Carlo Tree Search

Quantum algorithms based on variational approaches are one of the most p...
research
12/11/2018

Multi-objective evolutionary algorithms for quantum circuit discovery

Quantum hardware continues to advance, yet finding new quantum algorithm...
research
12/27/2015

ePlace-3D: Electrostatics based Placement for 3D-ICs

We propose a flat, analytic, mixed-size placement algorithm ePlace-3D fo...

Please sign up or login with your details

Forgot password? Click here to reset