Optimizing ZX-diagrams with deep reinforcement learning
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.
Authors
- M Nägele (ORCID: https://orcid.org/0000-0001-6382-2077)
- Florian Marquardt (ORCID: https://orcid.org/0000-0003-4566-1753)
Institutions
- Friedrich-Alexander-Universität Erlangen-Nürnberg (DE)
- Max Planck Institute for the Science of Light (DE)
Publication Details
- Journal
- Machine Learning Science and Technology
- Published
- 2024-09-01
- DOI
- https://doi.org/10.1088/2632-2153/ad76f7
- Citations
- 9
- Primary Topic
- Machine Learning in Materials Science
- Type
- article
- Field-Weighted Citation Impact
- 1.05
Funders
- Max-Planck-Gesellschaft
- Bayerisches Staatsministerium für Wissenschaft, Forschung und Kunst