DisCoPy: Monoidal Categories in Python
Category Theory
2021-02-01 v3
Abstract
We introduce DisCoPy, an open source toolbox for computing with monoidal categories. The library provides an intuitive syntax for defining string diagrams and monoidal functors. Its modularity allows the efficient implementation of computational experiments in the various applications of category theory where diagrams have become a lingua franca. As an example, we used DisCoPy to perform natural language processing on quantum hardware for the first time.
Cite
@article{arxiv.2005.02975,
title = {DisCoPy: Monoidal Categories in Python},
author = {Giovanni de Felice and Alexis Toumi and Bob Coecke},
journal= {arXiv preprint arXiv:2005.02975},
year = {2021}
}
Comments
In Proceedings ACT 2020, arXiv:2101.07888