Automatic accuracy management of quantum programs via (near-)symbolic resource estimation

03/18/2020
by   Giulia Meuli, et al.
0

When compiling programs for fault-tolerant quantum computers, approximation errors must be taken into account. We propose a methodology that tracks such errors automatically and solves the optimization problem of finding accuracy parameters that guarantee a specified overall accuracy while aiming to minimize a custom implementation cost. The core idea is to extract constraint and cost functions directly from the high-level description of the quantum program. Then, our custom compiler passes optimize these functions, turning them into (near-)symbolic expressions for (1) the total error and (2) the implementation cost (e.g., total gate count). All unspecified parameters of the quantum program will show up as variables in these expressions, including accuracy parameters. After solving the corresponding optimization problem, a circuit can be instantiated from the found solution. We develop two prototype implementations, one in C++ based on Clang/LLVM, and another using the Q# compiler infrastructure. We benchmark our prototypes on typical quantum computing programs, including the quantum Fourier transform, quantum phase estimation, and Shor's algorithm.

READ FULL TEXT

page 1

page 2

page 3

page 4

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
03/31/2020

An Open-Source, Industrial-Strength Optimizing Compiler for Quantum Programs

Quilc is an open-source, optimizing compiler for gate-based quantum prog...
research
06/02/2017

Capri: A Control System for Approximate Programs

Approximate computing trades off accuracy of results for resources such ...
research
04/25/2022

A quantum Fourier transform (QFT) based note detection algorithm

In quantum information processing (QIP), the quantum Fourier transform (...
research
12/05/2022

symQV: Automated Symbolic Verification of Quantum Programs

We present symQV, a symbolic execution framework for writing and verifyi...
research
01/30/2019

Noise-Adaptive Compiler Mappings for Noisy Intermediate-Scale Quantum Computers

A massive gap exists between current quantum computing (QC) prototypes, ...
research
12/09/2022

Digital quantum simulation of Schrödinger dynamics using adaptive approximations of potential functions

Digital quantum simulation (DQS) of continuous-variable quantum systems ...

Please sign up or login with your details

Forgot password? Click here to reset