Constructing Optimal Contraction Trees for Tensor Network Quantum Circuit Simulation

09/07/2022
by   Cameron Ibrahim, et al.
0

One of the key problems in tensor network based quantum circuit simulation is the construction of a contraction tree which minimizes the cost of the simulation, where the cost can be expressed in the number of operations as a proxy for the simulation running time. This same problem arises in a variety of application areas, such as combinatorial scientific computing, marginalization in probabilistic graphical models, and solving constraint satisfaction problems. In this paper, we reduce the computationally hard portion of this problem to one of graph linear ordering, and demonstrate how existing approaches in this area can be utilized to achieve results up to several orders of magnitude better than existing state of the art methods for the same running time. To do so, we introduce a novel polynomial time algorithm for constructing an optimal contraction tree from a given order. Furthermore, we introduce a fast and high quality linear ordering solver, and demonstrate its applicability as a heuristic for providing orderings for contraction trees. Finally, we compare our solver with competing methods for constructing contraction trees in quantum circuit simulation on a collection of randomly generated Quantum Approximate Optimization Algorithm Max Cut circuits and show that our method achieves superior results on a majority of tested quantum circuits. Reproducibility: Our source code and data are available at https://github.com/cameton/HPEC2022_ContractionTrees.

READ FULL TEXT
research
05/04/2023

Speeding up quantum circuits simulation using ZX-Calculus

We present a simple and efficient way to reduce the contraction cost of ...
research
09/12/2017

qTorch: The Quantum Tensor Contraction Handler

Classical simulation of quantum computation is necessary for studying th...
research
04/22/2020

Simple heuristics for efficient parallel tensor contraction and quantum circuit simulation

Tensor networks are the main building blocks in a wide variety of comput...
research
09/25/2022

On the Optimal Linear Contraction Order for Tree Tensor Networks

Tensor networks are nowadays the backbone of classical simulations of qu...
research
07/12/2018

Benchmarking treewidth as a practical component of tensor-network--based quantum simulation

Tensor networks are powerful factorization techniques which reduce resou...
research
04/18/2022

Optimizing Tensor Network Contraction Using Reinforcement Learning

Quantum Computing (QC) stands to revolutionize computing, but is current...
research
05/08/2023

Reducing Reconfiguration Time in Hybrid Optical-Electrical Datacenter Networks (Extended Abstract)

We study how to reduce the reconfiguration time in hybrid optical-electr...

Please sign up or login with your details

Forgot password? Click here to reset