One-Time Compilation of Device-Level Instructions for Quantum Subroutines

08/21/2023
by   Aniket S. Dalvi, et al.
0

A large class of problems in the current era of quantum devices involve interfacing between the quantum and classical system. These include calibration procedures, characterization routines, and variational algorithms. The control in these routines iteratively switches between the classical and the quantum computer. This results in the repeated compilation of the program that runs on the quantum system, scaling directly with the number of circuits and iterations. The repeated compilation results in a significant overhead throughout the routine. In practice, the total runtime of the program (classical compilation plus quantum execution) has an additional cost proportional to the circuit count. At practical scales, this can dominate the round-trip CPU-QPU time, between 5 quantum execution time. To avoid repeated device-level compilation, we identify that machine code can be parametrized corresponding to pulse/gate parameters which can be dynamically adjusted during execution. Therefore, we develop a device-level partial-compilation (DLPC) technique that reduces compilation overhead to nearly constant, by using cheap remote procedure calls (RPC) from the QPU control software to the CPU. We then demonstrate the performance speedup of this on optimal pulse calibration, system characterization using randomized benchmarking (RB), and variational algorithms. We execute this modified pipeline on real trapped-ion quantum computers and observe significant reductions in compilation time, as much as 2.7x speedup for small-scale VQE problems.

READ FULL TEXT

page 1

page 4

page 5

page 9

page 10

research
02/22/2022

An LLVM-based C++ Compiler Toolchain for Variational Hybrid Quantum-Classical Algorithms and Quantum Accelerators

Variational algorithms are a representative class of quantum computing w...
research
12/16/2022

Variational Quantum Search with Exponential Speedup

With powerful quantum computers already built, we need more efficient qu...
research
01/25/2023

Mathematical approaches for characterization, control, calibration and validation of a quantum computing device

Quantum computing has received significant amounts of interest from many...
research
10/25/2022

Modular Software for Real-Time Quantum Control Systems

Real-time control software and hardware is essential for operating quant...
research
11/29/2022

Communication Trade Offs in Intermediate Qudit Circuits

Quantum computing promises speedup of classical algorithms in the long t...
research
11/28/2019

Poq: Projection-based Runtime Assertions for Debugging on a Quantum Computer

In this paper, we propose Poq, a runtime assertion scheme for debugging ...
research
08/02/2022

PAN: Pulse Ansatz on NISQ Machines

Variational quantum algorithms (VQAs) have demonstrated great potentials...

Please sign up or login with your details

Forgot password? Click here to reset