Optimizing ZX-Diagrams with Deep Reinforcement Learning

Maximilian Nägele, Florian Marquardt
11/30/2023
quant-phcs.LG

No confident code implementation found for this paper.

Abstract

ZX-diagrams are a powerful graphical language for the description of quantum processes with applications in fundamental quantum mechanics, quantum circuit optimization, tensor network simulation, and many more. The utility of ZX-diagrams relies on a set of local transformation rules that can be applied to them without changing the underlying quantum process they describe. These rules can be exploited to optimize the structure of ZX-diagrams for a range of applications. However, finding an optimal sequence of transformation rules is generally an open problem. In this work, we bring together ZX-diagrams with reinforcement learning, a machine learning technique designed to discover an optimal sequence of actions in a decision-making problem and show that a trained reinforcement learning agent can significantly outperform other optimization techniques like a greedy strategy, simulated annealing, and state-of-the-art hand-crafted algorithms. The use of graph neural networks to encode the policy of the agent enables generalization to diagrams much bigger than seen during the training phase.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ngele2023optimizing,
  title  = {Optimizing ZX-Diagrams with Deep Reinforcement Learning},
  author = {Maximilian Nägele and Florian Marquardt},
  year   = {2023},
  eprint = {2311.18588},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.18588v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.18588.svg)](https://codeofpaper.com/paper/2311.18588)

Discussion