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 EiNet implementation #42

Closed lkct closed 1 year ago

lkct commented 1 year ago

Closes #30

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 still inconsistencies unresolved.

The code in .py.bak files may be useful later on but is not looked into for now and is excluded from linting. There's also something deprecated by NotImplementedError and removed from the files. The commit history can be always referred for the originally adopted code.

arranger1044 commented 1 year ago

Well done! we will refactor and rename architectures later.