Optimizing Tensor Network Contraction Using Reinforcement Learning

04/18/2022
by   Eli A. Meirom, et al.
0

Quantum Computing (QC) stands to revolutionize computing, but is currently still limited. To develop and test quantum algorithms today, quantum circuits are often simulated on classical computers. Simulating a complex quantum circuit requires computing the contraction of a large network of tensors. The order (path) of contraction can have a drastic effect on the computing cost, but finding an efficient order is a challenging combinatorial optimization problem. We propose a Reinforcement Learning (RL) approach combined with Graph Neural Networks (GNN) to address the contraction ordering problem. The problem is extremely challenging due to the huge search space, the heavy-tailed reward distribution, and the challenging credit assignment. We show how a carefully implemented RL-agent that uses a GNN as the basic policy construct can address these challenges and obtain significant improvements over state-of-the-art techniques in three varieties of circuits, including the largest scale networks used in contemporary QC.

READ FULL TEXT

page 1

page 2

page 3

page 4

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
07/17/2023

Quarl: A Learning-Based Quantum Circuit Optimizer

Optimizing quantum circuits is challenging due to the very large search ...
research
01/01/2021

Simulating Quantum Computations with Tutte Polynomials

We establish a classical heuristic algorithm for exactly computing quant...
research
04/28/2023

X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformation

Tensor graph superoptimisation systems perform a sequence of subgraph su...
research
09/07/2022

Constructing Optimal Contraction Trees for Tensor Network Quantum Circuit Simulation

One of the key problems in tensor network based quantum circuit simulati...
research
12/09/2022

Validating quantum-supremacy experiments with exact and fast tensor network contraction

The quantum circuits that declare quantum supremacy, such as Google Syca...

Please sign up or login with your details

Forgot password? Click here to reset