Flow-preserving ZX-calculus Rewrite Rules for Optimisation and Obfuscation

Tommy McElvanney
(University of Birmingham)
Miriam Backens
(University of Birmingham)

In the one-way model of measurement-based quantum computation (MBQC), computation proceeds via measurements on a resource state. So-called flow conditions ensure that the overall computation is deterministic in a suitable sense, with Pauli flow being the most general of these. Computations, represented as measurement patterns, may be rewritten to optimise resource use and for other purposes. Such rewrites need to preserve the existence of flow to ensure the new pattern can still be implemented deterministically. The majority of existing work in this area has focused on rewrites that reduce the number of qubits, yet it can be beneficial to increase the number of qubits for certain kinds of optimisation, as well as for obfuscation.

In this work, we introduce several ZX-calculus rewrite rules that increase the number of qubits and preserve the existence of Pauli flow. These rules can be used to transform any measurement pattern into a pattern containing only (general or Pauli) measurements within the XY-plane. We also give the first flow-preserving rewrite rule that allows measurement angles to be changed arbitrarily, and use this to prove that the `neighbour unfusion' rule of Staudacher et al. preserves the existence of Pauli flow. This implies it may be possible to reduce the runtime of their two-qubit-gate optimisation procedure by removing the need to regularly run the costly gflow-finding algorithm.

In Shane Mansfield, Benoît Valiron and Vladimir Zamdzhiev: Proceedings of the Twentieth International Conference on Quantum Physics and Logic (QPL 2023), Paris, France, 17-21st July 2023, Electronic Proceedings in Theoretical Computer Science 384, pp. 203–219.
Published: 30th August 2023.

ArXived at: https://dx.doi.org/10.4204/EPTCS.384.12 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org