English

DisCoPy for the quantum computer scientist

Quantum Physics 2022-05-12 v1

Abstract

DisCoPy (Distributional Compositional Python) is an open source toolbox for computing with string diagrams and functors. In particular, the diagram data structure allows to encode various kinds of quantum processes, with functors for classical simulation and optimisation, as well as compilation and evaluation on quantum hardware. This includes the ZX calculus and its many variants, the parameterised circuits used in quantum machine learning, but also linear optical quantum computing. We review the recent developments of the library in this direction, making DisCoPy a toolbox for the quantum computer scientist.

Keywords

Cite

@article{arxiv.2205.05190,
  title  = {DisCoPy for the quantum computer scientist},
  author = {Alexis Toumi and Giovanni de Felice and Richie Yeung},
  journal= {arXiv preprint arXiv:2205.05190},
  year   = {2022}
}

Comments

Submitted to QPL 2022

R2 v1 2026-06-24T11:13:42.156Z