Papers › DisCoPy: Monoidal Categories in Python

DisCoPy: Monoidal Categories in Python

6 May 2020arXiv:2005.02975links table onlyarchive 2025-07-28

Giovanni de Felice, Alexis Toumi, Bob Coecke

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

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.

PaperPDFCode

Code

oxford-quantum-group/discopy officialmentioned in papermentioned on GitHubtf report
neu-pml/discopy mentioned on GitHubpytorch report
toumix/discopy mentioned on GitHubtfBSD-3-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections