DisCoPy:Python中的幺半范畴
DisCoPy: Monoidal Categories in Python
摘要:
我们介绍了DiscoPy,一个用于计算幺半范畴的开源工具箱。该库提供了一个直观的语法来定义字符串图和monoidal函子。它的模块化允许在范畴论的各种应用中有效地实现计算实验,其中图已经成为通用语言。例如,我们首次使用DisCoPy在量子硬件上进行自然语言处理。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。