Sketching the Best Approximate Quantum Compiling Problem
- URL: http://arxiv.org/abs/2205.04025v1
- Date: Mon, 9 May 2022 04:21:33 GMT
- Title: Sketching the Best Approximate Quantum Compiling Problem
- Authors: Liam Madden, Albert Akhriev, Andrea Simonetto
- Abstract summary: We solve the optimization problem classically and consider algorithmic tools to scale it to higher numbers of qubits.
For all three algorithms, we compute the gradient efficiently using matrix-vector instead of matrix-matrix computations.
Our implementation is able to compile 9 qubit, 27 CNOT circuits; 12 qubit, 24 CNOT circuits; and 15 qubit, 15 CNOT circuits.
- Score: 4.125187280299247
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: This paper considers the problem of quantum compilation from an optimization
perspective by fixing a circuit structure of CNOTs and rotation gates then
optimizing over the rotation angles. We solve the optimization problem
classically and consider algorithmic tools to scale it to higher numbers of
qubits. We investigate stochastic gradient descent and two sketch-and-solve
algorithms. For all three algorithms, we compute the gradient efficiently using
matrix-vector instead of matrix-matrix computations. Allowing for a runtime on
the order of one hour, our implementation using either sketch-and-solve
algorithm is able to compile 9 qubit, 27 CNOT circuits; 12 qubit, 24 CNOT
circuits; and 15 qubit, 15 CNOT circuits. Without our algorithmic tools,
standard optimization does not scale beyond 9 qubit, 9 CNOT circuits, and,
beyond that, is theoretically dominated by barren plateaus.
Related papers
- Accelerating Cutting-Plane Algorithms via Reinforcement Learning
Surrogates [49.84541884653309]
A current standard approach to solving convex discrete optimization problems is the use of cutting-plane algorithms.
Despite the existence of a number of general-purpose cut-generating algorithms, large-scale discrete optimization problems continue to suffer from intractability.
We propose a method for accelerating cutting-plane algorithms via reinforcement learning.
arXiv Detail & Related papers (2023-07-17T20:11:56Z) - Learning the Positions in CountSketch [49.57951567374372]
We consider sketching algorithms which first compress data by multiplication with a random sketch matrix, and then apply the sketch to quickly solve an optimization problem.
In this work, we propose the first learning-based algorithms that also optimize the locations of the non-zero entries.
arXiv Detail & Related papers (2023-06-11T07:28:35Z) - Accelerated First-Order Optimization under Nonlinear Constraints [73.2273449996098]
We exploit between first-order algorithms for constrained optimization and non-smooth systems to design a new class of accelerated first-order algorithms.
An important property of these algorithms is that constraints are expressed in terms of velocities instead of sparse variables.
arXiv Detail & Related papers (2023-02-01T08:50:48Z) - Automatic Depth-Optimized Quantum Circuit Synthesis for Diagonal Unitary
Matrices with Asymptotically Optimal Gate Count [9.194399933498323]
It is of great importance to optimize the depth/gate-count when designing quantum circuits for specific tasks.
In this paper, we propose a depth-optimized synthesis algorithm that automatically produces a quantum circuit for any given diagonal unitary matrix.
arXiv Detail & Related papers (2022-12-02T06:58:26Z) - Size optimization of CNOT circuits on NISQ [13.391818915679796]
We study the optimization of the CNOT circuits on some noisy intermediate-scale quantum(NISQ) devices.
We implement our algorithm on IBM20 and some other NISQ devices, the results are better than most other methods in our experiment.
arXiv Detail & Related papers (2022-10-11T06:44:04Z) - A Structured Method for Compilation of QAOA Circuits in Quantum
Computing [5.560410979877026]
The flexibility in reordering the two-qubit gates allows compiler optimizations to generate circuits with better depths, gate count, and fidelity.
We propose a structured method that ensures linear depth for any compiled QAOA circuit on multi-dimensional quantum architectures.
Overall, we can compile a circuit with up to 1024 qubits in 10 seconds with a 3.8X speedup in depth, 17% reduction in gate count, and 18X improvement for circuit ESP.
arXiv Detail & Related papers (2021-12-12T04:00:45Z) - RAMA: A Rapid Multicut Algorithm on GPU [23.281726932718232]
We propose a highly parallel primal-dual algorithm for the multicut (a.k.a.magnitude correlation clustering) problem.
Our algorithm produces primal solutions and dual lower bounds that estimate the distance to optimum.
We can solve very large scale benchmark problems with up to $mathcalO(108)$ variables in a few seconds with small primal-dual gaps.
arXiv Detail & Related papers (2021-09-04T10:33:59Z) - Provably Faster Algorithms for Bilevel Optimization [54.83583213812667]
Bilevel optimization has been widely applied in many important machine learning applications.
We propose two new algorithms for bilevel optimization.
We show that both algorithms achieve the complexity of $mathcalO(epsilon-1.5)$, which outperforms all existing algorithms by the order of magnitude.
arXiv Detail & Related papers (2021-06-08T21:05:30Z) - Efficient decomposition of unitary matrices in quantum circuit compilers [0.0]
Unitary decomposition is a widely used method to map quantum algorithms to an arbitrary set of quantum gates.
We show that our implementation generates circuits with half the number of CNOT gates and a third of the total circuit length.
In addition to that, it is also up to 10 times as fast.
arXiv Detail & Related papers (2021-01-08T12:54:27Z) - Learning the Positions in CountSketch [51.15935547615698]
We consider sketching algorithms which first compress data by multiplication with a random sketch matrix, and then apply the sketch to quickly solve an optimization problem.
In this work we propose the first learning algorithm that also optimize the locations of the non-zero entries.
We show this algorithm gives better accuracy for low rank approximation than previous work, and apply it to other problems such as $k$-means clustering for the first time.
arXiv Detail & Related papers (2020-07-20T05:06:29Z) - Private Stochastic Convex Optimization: Optimal Rates in Linear Time [74.47681868973598]
We study the problem of minimizing the population loss given i.i.d. samples from a distribution over convex loss functions.
A recent work of Bassily et al. has established the optimal bound on the excess population loss achievable given $n$ samples.
We describe two new techniques for deriving convex optimization algorithms both achieving the optimal bound on excess loss and using $O(minn, n2/d)$ gradient computations.
arXiv Detail & Related papers (2020-05-10T19:52:03Z)
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.