There and back again: A circuit extraction tale
- URL: http://arxiv.org/abs/2003.01664v3
- Date: Tue, 23 Mar 2021 20:04:56 GMT
- Title: There and back again: A circuit extraction tale
- Authors: Miriam Backens, Hector Miller-Bakewell, Giovanni de Felice, Leo
Lobski, John van de Wetering
- Abstract summary: We give the first circuit-extraction algorithm to work for one-way computations containing measurements in all three planes.
The algorithm is efficient and the resulting circuits do not contain ancillae.
We bring together several known rewrite rules for measurement patterns and formalise them in a unified notation using the ZX-calculus.
- Score: 0.0
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Translations between the quantum circuit model and the measurement-based
one-way model are useful for verification and optimisation of quantum
computations. They make crucial use of a property known as gflow. While gflow
is defined for one-way computations allowing measurements in three different
planes of the Bloch sphere, most research so far has focused on computations
containing only measurements in the XY-plane. Here, we give the first
circuit-extraction algorithm to work for one-way computations containing
measurements in all three planes and having gflow. The algorithm is efficient
and the resulting circuits do not contain ancillae. One-way computations are
represented using the ZX-calculus, hence the algorithm also represents the most
general known procedure for extracting circuits from ZX-diagrams. In developing
this algorithm, we generalise several concepts and results previously known for
computations containing only XY-plane measurements. We bring together several
known rewrite rules for measurement patterns and formalise them in a unified
notation using the ZX-calculus. These rules are used to simplify measurement
patterns by reducing the number of qubits while preserving both the semantics
and the existence of gflow. The results can be applied to circuit optimisation
by translating circuits to patterns and back again.
Related papers
- Qubit-count optimization using ZX-calculus [3.129187821625805]
We show how to optimize the number of qubits in a quantum circuit while preserving the number of non-Clifford gates.
One of our approaches consists in reversing the gadgetization of Hadamard gates, which is a procedure used by some $T$-counts.
We also show how this method can be used to efficiently optimize the number of qubits in a quantum circuit by using the ZX-calculus as an intermediate representation.
arXiv Detail & Related papers (2024-07-14T11:58:53Z) - Automatically Identifying Local and Global Circuits with Linear Computation Graphs [45.760716193942685]
We introduce our circuit discovery pipeline with Sparse Autoencoders (SAEs) and a variant called Transcoders.
Our methods do not require linear approximation to compute the causal effect of each node.
We analyze three kinds of circuits in GPT-2 Small: bracket, induction, and Indirect Object Identification circuits.
arXiv Detail & Related papers (2024-05-22T17:50:04Z) - Fast classical simulation of quantum circuits via parametric rewriting
in the ZX-calculus [0.0]
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.
arXiv Detail & Related papers (2024-03-11T14:44:59Z) - A two-circuit approach to reducing quantum resources for the quantum lattice Boltzmann method [41.66129197681683]
Current quantum algorithms for solving CFD problems use a single quantum circuit and, in some cases, lattice-based methods.
We introduce the a novel multiple circuits algorithm that makes use of a quantum lattice Boltzmann method (QLBM)
The problem is cast as a stream function--vorticity formulation of the 2D Navier-Stokes equations and verified and tested on a 2D lid-driven cavity flow.
arXiv Detail & Related papers (2024-01-20T15:32:01Z) - AutoNumerics-Zero: Automated Discovery of State-of-the-Art Mathematical
Functions [46.36204442052778]
Computers operate on few limited precision types, such as the popular float32.
We show that when aiming for limited precision, existing approximation methods can be outperformed by programs automatically discovered from scratch by a simple evolutionary algorithm.
arXiv Detail & Related papers (2023-12-13T19:17:43Z) - QuIP: 2-Bit Quantization of Large Language Models With Guarantees [44.212441764241]
This work studies post-training parameter quantization in large language models (LLMs)
We introduce quantization with incoherence processing (QuIP), a new method based on the insight that quantization benefits from $textitincoherent$ weight and Hessian matrices.
arXiv Detail & Related papers (2023-07-25T07:44:06Z) - Three-qubit Deutsch-Jozsa in measurement-based quantum computing [0.0]
Measurement-based quantum computing (MBQC) is an alternate paradigm for formulating quantum algorithms.
We describe and apply a general scheme for reformulating quantum circuits as MBQC implementations.
We derive a ZX graph-diagram that encodes a general MBQC implementation for the three-qubit Deutsch-Jozsa algorithm.
arXiv Detail & Related papers (2023-06-23T08:53:11Z) - Linearized Wasserstein dimensionality reduction with approximation
guarantees [65.16758672591365]
LOT Wassmap is a computationally feasible algorithm to uncover low-dimensional structures in the Wasserstein space.
We show that LOT Wassmap attains correct embeddings and that the quality improves with increased sample size.
We also show how LOT Wassmap significantly reduces the computational cost when compared to algorithms that depend on pairwise distance computations.
arXiv Detail & Related papers (2023-02-14T22:12:16Z) - Quantum Sparse Coding [5.130440339897477]
We develop a quantum-inspired algorithm for sparse coding.
The emergence of quantum computers and Ising machines can potentially lead to more accurate estimations.
We conduct numerical experiments with simulated data on Lightr's quantum-inspired digital platform.
arXiv Detail & Related papers (2022-09-08T13:00:30Z) - Triangle and Four Cycle Counting with Predictions in Graph Streams [59.05440236993604]
We propose data-driven one-pass streaming algorithms for estimating the number of triangles and four cycles.
We use a trained oracle that can predict certain properties of the stream elements to improve on prior "classical" algorithms.
Our methodology expands upon prior work on "classical" streaming algorithms, as previous multi-pass and random order streaming algorithms can be seen as special cases.
arXiv Detail & Related papers (2022-03-17T19:26:00Z) - Qubit-efficient entanglement spectroscopy using qubit resets [0.0]
We develop qubit-efficient quantum algorithms for entanglement spectroscopy on NISQ devices.
Our algorithms use fewer qubits than any previous efficient algorithm while achieving similar performance in the presence of noise.
We also introduce the notion of effective circuit depth as a generalization of standard circuit depth suitable for circuits with qubit resets.
arXiv Detail & Related papers (2020-10-06T23:22:57Z)
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.