Predicting Good Quantum Circuit Compilation Options
- URL: http://arxiv.org/abs/2210.08027v3
- Date: Fri, 19 May 2023 11:12:32 GMT
- Title: Predicting Good Quantum Circuit Compilation Options
- Authors: Nils Quetschlich, Lukas Burgholzer, Robert Wille
- Abstract summary: We propose a framework that predicts the best combination of compilation options for quantum circuits.
For more than 95% of the circuits, a combination of compilation options within the top-three is determined.
The resulting methodology lays the foundation for further applications of machine learning in this domain.
- Score: 3.610459670994051
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Any potential application of quantum computing, once encoded as a quantum
circuit, needs to be compiled in order to be executed on a quantum computer.
Deciding which qubit technology, which device, which compiler, and which
corresponding settings are best for the considered problem -- according to a
measure of goodness -- requires expert knowledge and is overwhelming for
end-users from different domains trying to use quantum computing to their
advantage. In this work, we treat the problem as a statistical classification
task and explore the utilization of supervised machine learning techniques to
optimize the compilation of quantum circuits. Based on that, we propose a
framework that, given a quantum circuit, predicts the best combination of these
options and, therefore, automatically makes these decisions for end-users.
Experimental evaluations show that, considering a prototypical setting with
3000 quantum circuits, the proposed framework yields promising results: for
more than three quarters of all unseen test circuits, the best combination of
compilation options is determined. Moreover, for more than 95% of the circuits,
a combination of compilation options within the top-three is determined --
while the median compilation time is reduced by more than one order of
magnitude. Furthermore, the resulting methodology not only provides end-users
with a prediction of the best compilation options, but also provides means to
extract explicit knowledge from the machine learning technique. This knowledge
helps in two ways: it lays the foundation for further applications of machine
learning in this domain and, also, allows one to quickly verify whether a
machine learning algorithm is reasonably trained. The corresponding framework
and the pre-trained classifier are publicly available on GitHub
(https://github.com/cda-tum/MQTPredictor) as part of the Munich Quantum Toolkit
(MQT).
Related papers
- 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) - Supervised binary classification of small-scale digits images with a trapped-ion quantum processor [56.089799129458875]
We show that a quantum processor can correctly solve the basic classification task considered.
With the increase of the capabilities quantum processors, they can become a useful tool for machine learning.
arXiv Detail & Related papers (2024-06-17T18:20:51Z) - MQT Predictor: Automatic Device Selection with Device-Specific Circuit Compilation for Quantum Computing [4.704614749567071]
We propose a methodology that allows one to automatically select a suitable quantum device for a particular application.
The resulting framework -- called the MQT Predictor -- allows mixing and matching compiler passes from various tools to create optimized compilers.
MQT Predictor is publicly available as open-source on GitHub.
arXiv Detail & Related papers (2023-10-10T18:00:00Z) - Quantum algorithms: A survey of applications and end-to-end complexities [90.05272647148196]
The anticipated applications of quantum computers span across science and industry.
We present a survey of several potential application areas of quantum algorithms.
We outline the challenges and opportunities in each area in an "end-to-end" fashion.
arXiv Detail & Related papers (2023-10-04T17:53:55Z) - The Basis of Design Tools for Quantum Computing: Arrays, Decision
Diagrams, Tensor Networks, and ZX-Calculus [55.58528469973086]
Quantum computers promise to efficiently solve important problems classical computers never will.
A fully automated quantum software stack needs to be developed.
This work provides a look "under the hood" of today's tools and showcases how these means are utilized in them, e.g., for simulation, compilation, and verification of quantum circuits.
arXiv Detail & Related papers (2023-01-10T19:00:00Z) - Quantum Clustering with k-Means: a Hybrid Approach [117.4705494502186]
We design, implement, and evaluate three hybrid quantum k-Means algorithms.
We exploit quantum phenomena to speed up the computation of distances.
We show that our hybrid quantum k-Means algorithms can be more efficient than the classical version.
arXiv Detail & Related papers (2022-12-13T16:04:16Z) - Compiler Optimization for Quantum Computing Using Reinforcement Learning [3.610459670994051]
We propose a reinforcement learning framework for developing optimized quantum circuit compilation flows.
The proposed framework is set up with a selection of compilation passes from IBM's Qiskit and Quantinuum's TKET.
It significantly outperforms both individual compilers in 73% of cases regarding the expected fidelity.
arXiv Detail & Related papers (2022-12-08T19:00:01Z) - Data compression for quantum machine learning [2.119778346188635]
We address the problem of efficiently compressing and loading classical data for use on a quantum computer.
Our proposed methods allow both the required number of qubits and depth of the quantum circuit to be tuned.
arXiv Detail & Related papers (2022-04-24T03:03:14Z) - 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) - QUANTIFY: A framework for resource analysis and design verification of
quantum circuits [69.43216268165402]
QUANTIFY is an open-source framework for the quantitative analysis of quantum circuits.
It is based on Google Cirq and is developed with Clifford+T circuits in mind.
For benchmarking purposes QUANTIFY includes quantum memory and quantum arithmetic circuits.
arXiv Detail & Related papers (2020-07-21T15:36:25Z)
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.