april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
71 stars 1 forks source link

Add region graph implementation #36

Closed lkct closed 1 year ago

lkct commented 1 year ago

Closes #6

Originally from https://github.com/cambridge-mlg/EinsumNetworks. Modified and adopted here by @antoniomari. Reworked by @lkct.

We're currently including many TODOs, etc., but we're not fixing those in this version. The goal of this first version is to annotate and doc most things.

There're parts coupled with the implementation of EiNet and subject to change.

The code in .py.bak files may be useful later on but is not looked into for now and is excluded from linting.