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.
CITATION STYLE
de Felice, G., Toumi, A., & Coecke, B. (2021). DisCoPy: Monoidal categories in python. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 333, pp. 183–197). Open Publishing Association. https://doi.org/10.4204/EPTCS.333.13
Mendeley helps you to discover research relevant for your work.