Skip to content
forked from discopy/discopy

a toolbox for computing with monoidal categories

License

Notifications You must be signed in to change notification settings

neu-pml/discopy

This branch is 83 commits ahead of, 308 commits behind discopy/discopy:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7a2b181 · Dec 14, 2024
Dec 14, 2022
May 8, 2023
Feb 17, 2023
Dec 22, 2022
Jan 23, 2023
Jul 3, 2020
Dec 8, 2022
Dec 15, 2022
Nov 7, 2022
Jan 12, 2023
Dec 12, 2022
Jan 20, 2023
Oct 28, 2020
Dec 12, 2022
Dec 15, 2022

Repository files navigation

snake equation

DisCoPy

build readthedocs PyPI version DOI: 10.4204/EPTCS.333.13

DisCoPy is a Python toolkit for computing with string diagrams.

DisCoPy began as an implementation of DisCoCat and QNLP. This has now become its own library: lambeq.

Features

Architecture

Software dependencies between modules go top-to-bottom, left-to-right and forgetful functors between categories go the other way.

architecture

Quickstart

pip install discopy

If you want to see DisCoPy in action, check out the QNLP tutorial!

Contribute

We're keen to welcome new contributors!

First, read the contributing guidelines. Then get in touch on Discord or open an issue.

How to cite

If you wish to cite DisCoPy in an academic publication, we suggest you cite:

  • G. de Felice, A. Toumi & B. Coecke, DisCoPy: Monoidal Categories in Python, EPTCS 333, 2021, pp. 183-197, DOI: 10.4204/EPTCS.333.13

If furthermore your work is related to quantum computing, you can also cite:

  • A. Toumi, G. de Felice & R. Yeung, DisCoPy for the quantum computer scientist, arXiv:2205.05190

About

a toolbox for computing with monoidal categories

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%