Fast classical simulation of quantum circuits via parametric rewriting
in the ZX-calculus
- URL: http://arxiv.org/abs/2403.06777v1
- Date: Mon, 11 Mar 2024 14:44:59 GMT
- Title: Fast classical simulation of quantum circuits via parametric rewriting
in the ZX-calculus
- Authors: Matthew Sutcliffe and Aleks Kissinger
- Abstract summary: We show that it is possible to perform the final stage of classical simulation quickly utilising a high degree of GPU parallelism.
We demonstrate speedups upwards of 100x for certain classical simulation tasks vs. the non-parametric approach.
- Score: 0.0
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: The ZX-calculus is an algebraic formalism that allows quantum computations to
be simplified via a small number of simple graphical rewrite rules. Recently,
it was shown that, when combined with a family of "sum-over-Cliffords"
techniques, the ZX-calculus provides a powerful tool for classical simulation
of quantum circuits. However, for several important classical simulation tasks,
such as computing the probabilities associated with many measurement outcomes
of a single quantum circuit, this technique results in reductions over many
very similar diagrams, where much of the same computational work is repeated.
In this paper, we show that the majority of this work can be shared across
branches, by developing reduction strategies that can be run parametrically on
diagrams with boolean free parameters. As parameters only need to be fixed
after the bulk of the simplification work is already done, we show that it is
possible to perform the final stage of classical simulation quickly utilising a
high degree of GPU parallelism. Using these methods, we demonstrate speedups
upwards of 100x for certain classical simulation tasks vs. the non-parametric
approach.
Related papers
- Efficient Learning for Linear Properties of Bounded-Gate Quantum Circuits [63.733312560668274]
Given a quantum circuit containing d tunable RZ gates and G-d Clifford gates, can a learner perform purely classical inference to efficiently predict its linear properties?
We prove that the sample complexity scaling linearly in d is necessary and sufficient to achieve a small prediction error, while the corresponding computational complexity may scale exponentially in d.
We devise a kernel-based learning model capable of trading off prediction error and computational complexity, transitioning from exponential to scaling in many practical settings.
arXiv Detail & Related papers (2024-08-22T08:21:28Z) - Simulating Quantum Circuits by Model Counting [0.0]
We show for the first time that a strong simulation of universal quantum circuits can be efficiently tackled through weighted model counting.
Our work paves the way to apply the existing array of powerful classical reasoning tools to realize efficient quantum circuit compilation.
arXiv Detail & Related papers (2024-03-11T22:40:15Z) - Hamiltonian simulation for hyperbolic partial differential equations by scalable quantum circuits [1.6268784011387605]
This paper presents a method that enables us to explicitly implement the quantum circuit for Hamiltonian simulation.
We show that the space and time complexities of the constructed circuit are exponentially smaller than those of conventional classical algorithms.
arXiv Detail & Related papers (2024-02-28T15:17:41Z) - Tensor Networks or Decision Diagrams? Guidelines for Classical Quantum
Circuit Simulation [65.93830818469833]
tensor networks and decision diagrams have independently been developed with differing perspectives, terminologies, and backgrounds in mind.
We consider how these techniques approach classical quantum circuit simulation, and examine their (dis)similarities with regard to their most applicable abstraction level.
We provide guidelines for when to better use tensor networks and when to better use decision diagrams in classical quantum circuit simulation.
arXiv Detail & Related papers (2023-02-13T19:00:00Z) - 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) - Constructing Optimal Contraction Trees for Tensor Network Quantum
Circuit Simulation [1.2704529528199062]
One of the key problems in quantum circuit simulation is the construction of a contraction tree.
We introduce a novel time algorithm for constructing an optimal contraction tree.
We show that our method achieves superior results on a majority of tested quantum circuits.
arXiv Detail & Related papers (2022-09-07T02:50:30Z) - Commutation simulator for open quantum dynamics [0.0]
We propose an innovative method to investigate directly the properties of a time-dependent density operator $hatrho(t)$.
We can directly compute the expectation value of the commutation relation and thus of the rate of change of $hatrho(t)$.
A simple but important example is demonstrated in the single-qubit case and we discuss extension of the method for practical quantum simulation with many qubits.
arXiv Detail & Related papers (2022-06-01T16:03:43Z) - Simulation Paths for Quantum Circuit Simulation with Decision Diagrams [72.03286471602073]
We study the importance of the path that is chosen when simulating quantum circuits using decision diagrams.
We propose an open-source framework that allows to investigate dedicated simulation paths.
arXiv Detail & Related papers (2022-03-01T19:00:11Z) - Fixed Depth Hamiltonian Simulation via Cartan Decomposition [59.20417091220753]
We present a constructive algorithm for generating quantum circuits with time-independent depth.
We highlight our algorithm for special classes of models, including Anderson localization in one dimensional transverse field XY model.
In addition to providing exact circuits for a broad set of spin and fermionic models, our algorithm provides broad analytic and numerical insight into optimal Hamiltonian simulations.
arXiv Detail & Related papers (2021-04-01T19:06:00Z) - Efficient calculation of gradients in classical simulations of
variational quantum algorithms [0.0]
We present a novel derivation of an emulation strategy to precisely calculate the gradient in O(P) time.
Our strategy is very simple, uses only 'apply gate', 'clone state' and 'inner product' primitives.
It is compatible with gate parallelisation schemes, and hardware accelerated and distributed simulators.
arXiv Detail & Related papers (2020-09-06T21:39:44Z) - Efficient classical simulation of random shallow 2D quantum circuits [104.50546079040298]
Random quantum circuits are commonly viewed as hard to simulate classically.
We show that approximate simulation of typical instances is almost as hard as exact simulation.
We also conjecture that sufficiently shallow random circuits are efficiently simulable more generally.
arXiv Detail & Related papers (2019-12-31T19:00:00Z)
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.