# PyZX: Large Scale Automated Diagrammatic Reasoning

**Authors:** Aleks Kissinger, John van de Wetering

arXiv: 1904.04735 · 2020-05-04

## TL;DR

PyZX is an open source library that automates reasoning about large ZX-diagrams, aiding quantum circuit optimization, validation, and visualization through the ZX-calculus framework.

## Contribution

Introduction of PyZX, a comprehensive tool for automated diagrammatic reasoning in quantum computing using ZX-calculus, supporting optimization and validation of quantum circuits.

## Key findings

- PyZX enables efficient circuit optimization.
- PyZX validates quantum circuit equivalences.
- PyZX integrates with other quantum software tools.

## Abstract

The ZX-calculus is a graphical language for reasoning about ZX-diagrams, a type of tensor networks that can represent arbitrary linear maps between qubits. Using the ZX-calculus, we can intuitively reason about quantum theory, and optimise and validate quantum circuits. In this paper we introduce PyZX, an open source library for automated reasoning with large ZX-diagrams. We give a brief introduction to the ZX-calculus, then show how PyZX implements methods for circuit optimisation, equality validation, and visualisation and how it can be used in tandem with other software. We end with a set of challenges that when solved would enhance the utility of automated diagrammatic reasoning.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1904.04735/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/1904.04735/full.md

## References

34 references — full list in the complete paper: https://tomesphere.com/paper/1904.04735/full.md

---
Source: https://tomesphere.com/paper/1904.04735