open-hypergraphs 0.1.2

Data-Parallel Algorithms for Open Hypergraphs
Documentation

Open Hypergraphs

An implementation of Data Parallel Algorithms for String Diagrams. See also the Python implementation.

Features:

  • Algebraic construction by tensor and composition
  • Functors, including optic transformation for reverse differentiation of morphisms
  • Data-parallel diagram layering

Examples:

An example for defining a simple expression language (polynomial circuits) and evaluating its terms is given here.