Back to Search Start Over

DisCoPy: Monoidal Categories in Python

Authors :
de Felice, Giovanni
Toumi, Alexis
Coecke, Bob
Source :
EPTCS 333, 2021, pp. 183-197
Publication Year :
2020

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.<br />Comment: In Proceedings ACT 2020, arXiv:2101.07888

Subjects

Subjects :
Mathematics - Category Theory

Details

Database :
arXiv
Journal :
EPTCS 333, 2021, pp. 183-197
Publication Type :
Report
Accession number :
edsarx.2005.02975
Document Type :
Working Paper
Full Text :
https://doi.org/10.4204/EPTCS.333.13