discopy

Official

Diagrams and categories for quantum computation.

Authorplurigrid
Version1.0.0
Installs0

System Documentation

What problem does it solve?

DisCoPy provides a Python library to compute with string diagrams for monoidal categories, along with operads, quantum circuits, and tensor networks.

Core Features & Use Cases

  • Categorical framework: Ty, Ob, Box, Arrow, Diagram.
  • Operads and colored operads: CFG, free operads, and algebras.
  • Quantum computing & QNLP: Circuits, gates, ZX-calculus, and DisCoCat mappings.

Quick Start

Just run: just discopy-demo

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: discopy
Download link: https://github.com/plurigrid/asi/archive/main.zip#discopy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository