Verified Compilation of Quantum Oracles

12/13/2021
by   Liyi Li, et al.
0

Quantum algorithms often apply classical operations, such as arithmetic or predicate checks, over a quantum superposition of classical data; these so-called oracles are often the largest components of a quantum program. To ease the construction of efficient, correct oracle functions, this paper presents VQO, a high-assurance framework implemented with the Coq proof assistant. The core of VQO is OQASM, the oracle quantum assembly language. OQASM operations move qubits between two different bases via the quantum Fourier transform, thus admitting important optimizations, but without inducing entanglement and the exponential blowup that comes with it. OQASM's design enabled us to prove correct VQO's compilers – from a simple imperative language called OQIMP to OQASM, and from OQASM to SQIR, a general-purpose quantum assembly language – and allowed us to efficiently test properties of OQASM programs using the QuickChick property-based testing framework. We have used VQO to implement a variety of arithmetic and geometric operators that are building blocks for important oracles, including those used in Shor's and Grover's algorithms. We found that VQO's QFT-based arithmetic oracles require fewer qubits, sometimes substantially fewer, than those constructed using "classical" gates; VQO's versions of the latter were nevertheless on par with or better than (in terms of both qubit and gate counts) oracles produced by Quipper, a state-of-the-art but unverified quantum programming platform.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/24/2021

A Programming Language For Quantum Oracle Construction

Many quantum programs require circuits for addition, subtraction and log...
research
05/01/2020

Quantum arithmetic operations based on quantum Fourier transform on signed integers

The quantum Fourier transform brings efficiency in many respects, especi...
research
12/04/2019

A Verified Optimizer for Quantum Circuits

We present VOQC, the first fully verified compiler for quantum circuits,...
research
03/15/2021

Efficient Construction of Functional Representations for Quantum Algorithms

Due to the significant progress made in the implementation of quantum ha...
research
10/26/2017

Q|SI〉: A Quantum Programming Environment

This paper describes a quantum programming environment, named Q|SI〉. It ...
research
08/18/2020

Just another quantum assembly language (Jaqal)

The Quantum Scientific Computing Open User Testbed (QSCOUT) is a trapped...
research
05/30/2023

Unified Information Dynamic Analysis of Quantum Decision-Making and Search Algorithms: Computational Intelligence Measure

There are important algorithms built upon a mixture of basic techniques ...

Please sign up or login with your details

Forgot password? Click here to reset