Quantum Gate Decomposition: A Study of Compilation Time vs. Execution Time Trade-offs
- URL: http://arxiv.org/abs/2504.20291v1
- Date: Mon, 28 Apr 2025 22:24:55 GMT
- Title: Quantum Gate Decomposition: A Study of Compilation Time vs. Execution Time Trade-offs
- Authors: Evandro C. R. Rosa, Jerusa Marchi, Eduardo I. Duzzioni, Rafael de Santiago,
- Abstract summary: High-level quantum programming languages generate code that cannot be executed directly by quantum hardware and must be compiled.<n>Unlike classical code, quantum programs must be compiled before each execution, making the trade-off between compilation time and execution time significant.<n>We analyze the trade-offs of state-of-the-art decomposition algorithms by implementing them in the Ket quantum programming platform.
- Score: 0.31457219084519
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Similar to classical programming, high-level quantum programming languages generate code that cannot be executed directly by quantum hardware and must be compiled. However, unlike classical code, quantum programs must be compiled before each execution, making the trade-off between compilation time and execution time particularly significant. In this paper, we address the first step of quantum compilation: multi-qubit gate decomposition. We analyze the trade-offs of state-of-the-art decomposition algorithms by implementing them in the Ket quantum programming platform and collecting numerical performance data. This is the first study to both implement and analyze the current state-of-the-art decomposition methods within a single platform. Based on our findings, we propose two compilation profiles: one optimized for minimizing compilation time and another for minimizing quantum execution time. Our results provide valuable insights for both quantum compiler developers and quantum programmers, helping them make informed decisions about gate decomposition strategies and their impact on overall performance.
Related papers
- Breaking Down Quantum Compilation: Profiling and Identifying Costly Passes [40.11095094521714]
We perform a preliminary analysis of the quantum circuit compilation process in Qiskit.<n>We identify the tasks that most strongly impact the overall compilation time.<n>Our results indicate that, as the desired level of optimization increases, circuit synthesis and gate passes become the dominant tasks.
arXiv Detail & Related papers (2025-04-21T14:45:01Z) - Constant-time hybrid compilation of Shor's algorithm with quantum just-in-time compilation [0.0]
This work provides an implementation of Shor's factoring algorithm, compiled to elementary quantum gates using PennyLane and Catalyst.<n>We demonstrate that with QJIT compilation, the algorithm is compiled once per bit width of $N$, even when $N$-specific optimizations are applied to circuit generation.<n>The implementation is benchmarked up to 32-bit $N$, and both the size of the compiled program and the pure compilation time are found to be constant.
arXiv Detail & Related papers (2025-04-16T19:30:10Z) - 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) - Near-Term Distributed Quantum Computation using Mean-Field Corrections
and Auxiliary Qubits [77.04894470683776]
We propose near-term distributed quantum computing that involve limited information transfer and conservative entanglement production.
We build upon these concepts to produce an approximate circuit-cutting technique for the fragmented pre-training of variational quantum algorithms.
arXiv Detail & Related papers (2023-09-11T18:00:00Z) - One-Time Compilation of Device-Level Instructions for Quantum Subroutines [21.79238078751215]
We develop a device-level partial-compilation (DLPC) technique that reduces compilation overhead to nearly constant.
We execute this modified pipeline on real trapped-ion quantum computers and observe significant reductions in compilation time.
arXiv Detail & Related papers (2023-08-21T15:23:09Z) - 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) - 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) - Entanglement and coherence in Bernstein-Vazirani algorithm [58.720142291102135]
Bernstein-Vazirani algorithm allows one to determine a bit string encoded into an oracle.
We analyze in detail the quantum resources in the Bernstein-Vazirani algorithm.
We show that in the absence of entanglement, the performance of the algorithm is directly related to the amount of quantum coherence in the initial state.
arXiv Detail & Related papers (2022-05-26T20:32:36Z) - Deterministic Algorithms for Compiling Quantum Circuits with Recurrent
Patterns [0.0]
Current quantum processors are noisy, have limited coherence and imperfect gate implementations.
We present novel deterministic algorithms for compiling recurrent quantum circuit patterns in time.
Our solution produces unmatched results on RyRz circuits.
arXiv Detail & Related papers (2021-02-17T13:59:12Z) - Extending C++ for Heterogeneous Quantum-Classical Computing [56.782064931823015]
qcor is a language extension to C++ and compiler implementation that enables heterogeneous quantum-classical programming, compilation, and execution in a single-source context.
Our work provides a first-of-its-kind C++ compiler enabling high-level quantum kernel (function) expression in a quantum-language manner.
arXiv Detail & Related papers (2020-10-08T12:49:07Z) - 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.