Pith. sign in

REVIEW

DisCoPy: the Hierarchy of Graphical Languages in Python

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2311.10608 v1 pith:IM72NE4M submitted 2023-11-17 math.CT cs.MS

classification math.CTcs.MS
keywords categoriesmonoidaldiagramspythonstringdiscopygraphicalhierarchy
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

DisCoPy is a Python toolkit for computing with monoidal categories. It comes with two flexible data structures for string diagrams: the first one for planar monoidal categories based on lists of layers, the second one for symmetric monoidal categories based on cospans of hypergraphs. Algorithms for functor application then allow to translate string diagrams into code for numerical computation, be it differentiable, probabilistic or quantum. This report gives an overview of the library and the new developments released in its version 1.0. In particular, we showcase the implementation of diagram equality for a large fragment of the hierarchy of graphical languages for monoidal categories, as well as a new syntax for defining string diagrams as Python functions.

Discussion (0). Continue with ORCID to comment.

Pith tools