Quantum Machine Learning using the ZXW-Calculus

Mark Koch
10/18/2022
quant-phcs.LO

Official code: mark-koch/msc-code (4 stars, Rust, Rust, last commit 2022-10-28).

Abstract

The field of quantum machine learning (QML) explores how quantum computers can be used to more efficiently solve machine learning problems. As an application of hybrid quantum-classical algorithms, it promises a potential quantum advantages in the near term.

Show full abstract

In this thesis, we use the ZXW-calculus to diagrammatically analyse two key problems that QML applications face. First, we discuss algorithms to compute gradients on quantum hardware that are needed to perform gradient-based optimisation for QML. Concretely, we give new diagrammatic proofs of the common 2- and 4-term parameter shift rules used in the literature. Additionally, we derive a novel, generalised parameter shift rule with 2n terms that is applicable to gates that can be represented with n parametrised spiders in the ZXW-calculus. Furthermore, to the best of our knowledge, we give the first proof of a conjecture by Anselmetti et al. by proving a no-go theorem ruling out more efficient alternatives to the 4-term shift rule. Secondly, we analyse the gradient landscape of quantum ansätze for barren plateaus using both empirical and analytical techniques. Concretely, we develop a tool that automatically calculates the variance of gradients and use it to detect likely barren plateaus in commonly used quantum ansätze. Furthermore, we formally prove the existence or absence of barren plateaus for a selection of ansätze using diagrammatic techniques from the ZXW-calculus.

View on arXivView PDF

Code Implementations(1)

mark-koch/msc-codeOfficial100%
Rust

Code to reproduce results from my MSc thesis

40Rust, PythonOct 14, 20224 years ago

Similar Papers

Cite this paper

@article{koch2022quantum,
  title  = {Quantum Machine Learning using the ZXW-Calculus},
  author = {Mark Koch},
  year   = {2022},
  eprint = {2210.11523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11523}
}

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/2210.11523.svg)](https://codeofpaper.com/paper/2210.11523)

Discussion