Advances in compilation for quantum hardware -- A demonstration of magic
state distillation and repeat-until-success protocols
- URL: http://arxiv.org/abs/2310.12106v1
- Date: Wed, 18 Oct 2023 16:57:36 GMT
- Title: Advances in compilation for quantum hardware -- A demonstration of magic
state distillation and repeat-until-success protocols
- Authors: Natalie C. Brown, John Peter Campora III, Cassandra Granade, Bettina
Heim, Stefan Wernli, Ciaran Ryan-Anderson, Dominic Lucchetti, Adam Paetznick,
Martin Roetteler, Krysta Svore, Alex Chernoguzov
- Abstract summary: Fault-tolerant protocols enable large and precise quantum algorithms.
We explore two such protocols and analyze the performance of the subroutines using Quantum Intermediate Representation (QIR)
QIR offers a viable representation for a compiled high-level program that performs nearly as well as a hand-optimized version written directly in quantum assembly.
- Score: 7.9977250359018095
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Fault-tolerant protocols enable large and precise quantum algorithms. Many
such protocols rely on a feed-forward processing of data, enabled by a hybrid
of quantum and classical logic. Representing the control structure of such
programs can be a challenge. Here we explore two such fault-tolerant
subroutines and analyze the performance of the subroutines using Quantum
Intermediate Representation (QIR) as their underlying intermediate
representation. First, we look at QIR's ability to leverage the LLVM compiler
toolchain to unroll the quantum iteration logic required to perform magic state
distillation on the $[[5,1,3]]$ quantum error-correcting code as originally
introduced by Bravyi and Kitaev [Phys. Rev. A 71, 022316 (2005)]. This allows
us to not only realize the first implementation of a real-time magic state
distillation protocol on quantum hardware, but also demonstrate QIR's ability
to optimize complex program structures without degrading machine performance.
Next, we investigate a different fault-tolerant protocol that was first
introduced by Paetznick and Svore [arXiv:1311.1074 (2013)], that reduces the
amount of non-Clifford gates needed for a particular algorithm. We look at four
different implementations of this two-stage repeat-until-success algorithm to
analyze the performance changes as the results of programming choices. We find
the QIR offers a viable representation for a compiled high-level program that
performs nearly as well as a hand-optimized version written directly in quantum
assembly. Both of these results demonstrate QIR's ability to accurately and
efficiently expand the complexity of fault-tolerant protocols that can be
realized today on quantum hardware.
Related papers
- Quantum Wasserstein Compilation: Unitary Compilation using the Quantum Earth Mover's Distance [2.502222151305252]
We present a quantum Wasserstein compilation (QWC) cost function based on the quantum Wasserstein distance of order 1.
An estimation method based on measurements of local Pauli-observable is utilized in a generative adversarial network to learn a given quantum circuit.
arXiv Detail & Related papers (2024-09-09T17:46:40Z) - Quantum Compiling with Reinforcement Learning on a Superconducting Processor [55.135709564322624]
We develop a reinforcement learning-based quantum compiler for a superconducting processor.
We demonstrate its capability of discovering novel and hardware-amenable circuits with short lengths.
Our study exemplifies the codesign of the software with hardware for efficient quantum compilation.
arXiv Detail & Related papers (2024-06-18T01:49:48Z) - Quantum Subroutine for Variance Estimation: Algorithmic Design and Applications [80.04533958880862]
Quantum computing sets the foundation for new ways of designing algorithms.
New challenges arise concerning which field quantum speedup can be achieved.
Looking for the design of quantum subroutines that are more efficient than their classical counterpart poses solid pillars to new powerful quantum algorithms.
arXiv Detail & Related papers (2024-02-26T09:32:07Z) - Compilation of algorithm-specific graph states for quantum circuits [55.90903601048249]
We present a quantum circuit compiler that prepares an algorithm-specific graph state from quantum circuits described in high level languages.
The computation can then be implemented using a series of non-Pauli measurements on this graph state.
arXiv Detail & Related papers (2022-09-15T14:52:31Z) - Efficient and practical quantum compiler towards multi-qubit systems
with deep reinforcement learning [17.567408246024964]
We devise an efficient and practical quantum compiler assisted by advanced deep reinforcement learning (RL) techniques.
Our protocol is compatible with various quantum machines and can be used to compile multi-qubit operators.
For the first time, we demonstrate how to leverage RL-based quantum compilers to accomplish two-qubit operator compiling.
arXiv Detail & Related papers (2022-04-14T12:03:47Z) - Efficient Bipartite Entanglement Detection Scheme with a Quantum
Adversarial Solver [89.80359585967642]
Proposal reformulates the bipartite entanglement detection as a two-player zero-sum game completed by parameterized quantum circuits.
We experimentally implement our protocol on a linear optical network and exhibit its effectiveness to accomplish the bipartite entanglement detection for 5-qubit quantum pure states and 2-qubit quantum mixed states.
arXiv Detail & Related papers (2022-03-15T09:46:45Z) - Quantum Circuit Transformations with a Multi-Level Intermediate
Representation Compiler [1.5855260762884629]
We present a novel adaptation of the multi-level intermediate representation (MLIR) integrated into a quantum compiler.
We first present how MLIR enables quantum circuit transformations for efficient execution on quantum computing devices.
We demonstrate that mirror circuits inserted during compilation may test hardware performance.
arXiv Detail & Related papers (2021-12-20T16:59:27Z) - Enabling Multi-programming Mechanism for Quantum Computing in the NISQ
Era [0.0]
NISQ devices have several physical limitations and unavoidable noisy quantum operations.
Only small circuits can be executed on a quantum machine to get reliable results.
We propose a Quantum Multi-programming Compiler (QuMC) to execute multiple quantum circuits on quantum hardware simultaneously.
arXiv Detail & Related papers (2021-02-10T08:46:16Z) - A MLIR Dialect for Quantum Assembly Languages [78.8942067357231]
We demonstrate the utility of the Multi-Level Intermediate Representation (MLIR) for quantum computing.
We extend MLIR with a new quantum dialect that enables the expression and compilation of common quantum assembly languages.
We leverage a qcor-enabled implementation of the QIR quantum runtime API to enable a retargetable (quantum hardware agnostic) compiler workflow.
arXiv Detail & Related papers (2021-01-27T13:00:39Z) - Quantum circuit architecture search for variational quantum algorithms [88.71725630554758]
We propose a resource and runtime efficient scheme termed quantum architecture search (QAS)
QAS automatically seeks a near-optimal ansatz to balance benefits and side-effects brought by adding more noisy quantum gates.
We implement QAS on both the numerical simulator and real quantum hardware, via the IBM cloud, to accomplish data classification and quantum chemistry tasks.
arXiv Detail & Related papers (2020-10-20T12:06:27Z) - Verifying Results of the IBM Qiskit Quantum Circuit Compilation Flow [7.619626059034881]
We propose an efficient scheme for quantum circuit equivalence checking.
The proposed scheme allows to verify even large circuit instances with tens of thousands of operations within seconds or even less.
arXiv Detail & Related papers (2020-09-04T19:58:53Z)
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.