quAssert: Automatic Generation of Quantum Assertions
- URL: http://arxiv.org/abs/2303.01487v1
- Date: Thu, 2 Mar 2023 18:49:14 GMT
- Title: quAssert: Automatic Generation of Quantum Assertions
- Authors: Hasini Witharana, Daniel Volya and Prabhat Mishra
- Abstract summary: We propose automated generation and placement of quantum assertions based on static analysis and random sampling of quantum circuits.
We uncover special properties of a quantum circuit, such as purely classical states, superposition states, and entangled states using statistical methods.
We demonstrate the effectiveness of the generated assertions in error detection using a suite of quantum benchmarks.
- Score: 5.263910852465185
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: 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.
Related papers
- The curse of random quantum data [62.24825255497622]
We quantify the performances of quantum machine learning in the landscape of quantum data.
We find that the training efficiency and generalization capabilities in quantum machine learning will be exponentially suppressed with the increase in qubits.
Our findings apply to both the quantum kernel method and the large-width limit of quantum neural networks.
arXiv Detail & Related papers (2024-08-19T12:18:07Z) - QuantumSEA: In-Time Sparse Exploration for Noise Adaptive Quantum
Circuits [82.50620782471485]
QuantumSEA is an in-time sparse exploration for noise-adaptive quantum circuits.
It aims to achieve two key objectives: (1) implicit circuits capacity during training and (2) noise robustness.
Our method establishes state-of-the-art results with only half the number of quantum gates and 2x time saving of circuit executions.
arXiv Detail & Related papers (2024-01-10T22:33:00Z) - Quantum cellular automata for quantum error correction and density
classification [0.0]
Quantum cellular automata are alternative quantum-computing paradigms to quantum Turing machines and quantum circuits.
We propose two (quasi-)one dimensional quantum cellular automata based on known classical cellular-automata rules with density-classification capabilities.
We investigate the performances of those quantum cellular automata as quantum-memory components by simulating the number of update steps required for the logical information they act upon to be afflicted by a logical bit flip.
arXiv Detail & Related papers (2023-09-07T10:05:37Z) - Design by Contract Framework for Quantum Software [1.9988400064884826]
We propose a design-by-contract framework for quantum software.
It provides assertions on the input and output states of all quantum circuits built by certain procedures.
Our framework has sufficient expressive power to verify the whole procedure of quantum software.
arXiv Detail & Related papers (2023-03-31T00:21:28Z) - Qafny: A Quantum-Program Verifier [39.47005122712576]
We present Qafny, an automated proof system for verifying quantum programs.
At its core, Qafny uses a type-guided quantum proof system that translates quantum operations to classical array operations.
We show how Qafny can efficiently verify important quantum algorithms, including quantum-walk algorithms, Grover's algorithm, and Shor's algorithm.
arXiv Detail & Related papers (2022-11-11T18:50:52Z) - Automated error correction in superdense coding, with implementation on
superconducting quantum computer [0.28675177318965034]
We present a task-specific error-correction technique that provides a complete protection over a restricted set of quantum states.
Specifically, we give an automated error correction in Superdense Coding algorithms utilizing n-qubit generalized Bell states.
We experimentally realize our automated error correction technique for three different types of superdense coding algorithm on a 7-qubit superconducting IBM quantum computer and also on a 27-qubit quantum simulator in the presence of noise.
arXiv Detail & Related papers (2022-10-27T04:02:13Z) - Noisy Quantum Kernel Machines [58.09028887465797]
An emerging class of quantum learning machines is that based on the paradigm of quantum kernels.
We study how dissipation and decoherence affect their performance.
We show that decoherence and dissipation can be seen as an implicit regularization for the quantum kernel machines.
arXiv Detail & Related papers (2022-04-26T09:52:02Z) - Quantum algorithms for estimating quantum entropies [6.211541620389987]
We propose quantum algorithms to estimate the von Neumann and quantum $alpha$-R'enyi entropies of an fundamental quantum state.
We also show how to efficiently construct the quantum entropy circuits for quantum entropy estimation using single copies of the input state.
arXiv Detail & Related papers (2022-03-04T15:44:24Z) - Circuit Symmetry Verification Mitigates Quantum-Domain Impairments [69.33243249411113]
We propose circuit-oriented symmetry verification that are capable of verifying the commutativity of quantum circuits without the knowledge of the quantum state.
In particular, we propose the Fourier-temporal stabilizer (STS) technique, which generalizes the conventional quantum-domain formalism to circuit-oriented stabilizers.
arXiv Detail & Related papers (2021-12-27T21:15:35Z) - Analytical and experimental study of center line miscalibrations in M\o
lmer-S\o rensen gates [51.93099889384597]
We study a systematic perturbative expansion in miscalibrated parameters of the Molmer-Sorensen entangling gate.
We compute the gate evolution operator which allows us to obtain relevant key properties.
We verify the predictions from our model by benchmarking them against measurements in a trapped-ion quantum processor.
arXiv Detail & Related papers (2021-12-10T10:56:16Z) - Depth-efficient proofs of quantumness [77.34726150561087]
A proof of quantumness is a type of challenge-response protocol in which a classical verifier can efficiently certify quantum advantage of an untrusted prover.
In this paper, we give two proof of quantumness constructions in which the prover need only perform constant-depth quantum circuits.
arXiv Detail & Related papers (2021-07-05T17:45:41Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.