Relaxed Peephole Optimization: A Novel Compiler Optimization for Quantum
Circuits
- URL: http://arxiv.org/abs/2012.07711v1
- Date: Mon, 14 Dec 2020 17:03:06 GMT
- Title: Relaxed Peephole Optimization: A Novel Compiler Optimization for Quantum
Circuits
- Authors: Ji Liu, Luciano Bello, Huiyang Zhou
- Abstract summary: We propose a novel quantum compiler optimization, named relaxed peephole optimization (RPO) for quantum computers.
We define a qubit is in a basis state when, at a given point in time, its state is either in the X-, Y-, or Z-basis.
We extend our approach to optimize the quantum gates when some input qubits are in known pure states.
- Score: 15.9208532173357
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: In this paper, we propose a novel quantum compiler optimization, named
relaxed peephole optimization (RPO) for quantum computers. RPO leverages the
single-qubit state information that can be determined statically by the
compiler. We define that a qubit is in a basis state when, at a given point in
time, its state is either in the X-, Y-, or Z-basis. When basis qubits are used
as inputs to quantum gates, there exist opportunities for strength reduction,
which replaces quantum operations with equivalent but less expensive ones.
Compared to the existing peephole optimization for quantum programs, the
difference is that our proposed optimization does not require an identical
unitary matrix, thereby named `relaxed' peephole optimization. We also extend
our approach to optimize the quantum gates when some input qubits are in known
pure states. Both optimizations, namely the Quantum Basis-state Optimization
(QBO) and the Quantum Pure-state Optimization (QPO), are implemented in the
IBM's Qiskit transpiler. Our experimental results show that our proposed
optimization pass is fast and effective. The circuits optimized with our
compiler optimizations obtain up to 18.0% (11.7% on average) fewer CNOT gates
and up to 8.2% (7.1% on average) lower transpilation time than that of the most
aggressive optimization level in the Qiskit compiler. When running on real
quantum computers, the success rates of 3-qubit quantum phase estimation
algorithm improve by 2.30X due to the reduced gate counts.
Related papers
- Bayesian Parameterized Quantum Circuit Optimization (BPQCO): A task and hardware-dependent approach [49.89480853499917]
Variational quantum algorithms (VQA) have emerged as a promising quantum alternative for solving optimization and machine learning problems.
In this paper, we experimentally demonstrate the influence of the circuit design on the performance obtained for two classification problems.
We also study the degradation of the obtained circuits in the presence of noise when simulating real quantum computers.
arXiv Detail & Related papers (2024-04-17T11:00:12Z) - Randomized Benchmarking of Local Zeroth-Order Optimizers for Variational
Quantum Systems [65.268245109828]
We compare the performance of classicals across a series of partially-randomized tasks.
We focus on local zeroth-orders due to their generally favorable performance and query-efficiency on quantum systems.
arXiv Detail & Related papers (2023-10-14T02:13:26Z) - Quantum Circuit Optimization through Iteratively Pre-Conditioned
Gradient Descent [0.4915744683251151]
iteratively preconditioned gradient descent (IPG) for optimizing quantum circuits and demonstrate performance speedups for state preparation and implementation of quantum algorithmics.
We show an improvement in fidelity by a factor of $104$ for preparing a 4-qubit W state and a maximally entangled 5-qubit GHZ state compared to other commonly used classicals tuning the same ansatz.
We also show gains for optimizing a unitary for a quantum Fourier transform using IPG, and report results of running such optimized circuits on IonQ's quantum processing unit (QPU)
arXiv Detail & Related papers (2023-09-18T17:30:03Z) - Efficient DCQO Algorithm within the Impulse Regime for Portfolio
Optimization [41.94295877935867]
We propose a faster digital quantum algorithm for portfolio optimization using the digitized-counterdiabatic quantum optimization (DCQO) paradigm.
Our approach notably reduces the circuit depth requirement of the algorithm and enhances the solution accuracy, making it suitable for current quantum processors.
We experimentally demonstrate the advantages of our protocol using up to 20 qubits on an IonQ trapped-ion quantum computer.
arXiv Detail & Related papers (2023-08-29T17:53:08Z) - Optimizing Quantum Algorithms on Bipotent Architectures [0.0]
We investigate the trade-off between hardware-level and algorithm-level improvements on bipotent quantum architectures.
Our results indicate that the benefits of pulse-level optimizations currently outweigh the improvements due to vigorously optimized monolithic gates.
arXiv Detail & Related papers (2023-03-23T08:57:06Z) - The QAOA with Few Measurements [4.713817702376467]
The Approximate Quantum Optimization Algorithm (QAOA) was originally developed to solve optimization problems.
Fully descriptive benchmarking techniques are often expensive for large numbers of qubits.
Some experimental quantum computing platforms such as neutral atom quantum computers have slow repetition rates.
arXiv Detail & Related papers (2022-05-13T18:42:20Z) - Variational Quantum Optimization with Multi-Basis Encodings [62.72309460291971]
We introduce a new variational quantum algorithm that benefits from two innovations: multi-basis graph complexity and nonlinear activation functions.
Our results in increased optimization performance, two increase in effective landscapes and a reduction in measurement progress.
arXiv Detail & Related papers (2021-06-24T20:16:02Z) - Accelerating variational quantum algorithms with multiple quantum
processors [78.36566711543476]
Variational quantum algorithms (VQAs) have the potential of utilizing near-term quantum machines to gain certain computational advantages.
Modern VQAs suffer from cumbersome computational overhead, hampered by the tradition of employing a solitary quantum processor to handle large data.
Here we devise an efficient distributed optimization scheme, called QUDIO, to address this issue.
arXiv Detail & Related papers (2021-06-24T08:18:42Z) - Enabling Dataflow Optimization for Quantum Programs [11.71212583708166]
IR for quantum computing exposes quantum and classical data dependencies for the purpose of optimization.
We present a prototype implementation based on MLIR that includes several quantum-specific optimization passes.
arXiv Detail & Related papers (2021-01-26T19:01:12Z) - Adaptive pruning-based optimization of parameterized quantum circuits [62.997667081978825]
Variisy hybrid quantum-classical algorithms are powerful tools to maximize the use of Noisy Intermediate Scale Quantum devices.
We propose a strategy for such ansatze used in variational quantum algorithms, which we call "Efficient Circuit Training" (PECT)
Instead of optimizing all of the ansatz parameters at once, PECT launches a sequence of variational algorithms.
arXiv Detail & Related papers (2020-10-01T18:14:11Z) - Space-efficient binary optimization for variational computing [68.8204255655161]
We show that it is possible to greatly reduce the number of qubits needed for the Traveling Salesman Problem.
We also propose encoding schemes which smoothly interpolate between the qubit-efficient and the circuit depth-efficient models.
arXiv Detail & Related papers (2020-09-15T18:17:27Z)
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.