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

Generalize circuit product algorithm to support products of compatible circuits with different structures #269

Open loreloc opened 1 month ago

loreloc commented 1 month ago

That is, cover the missing cases (see #TODOs in the symbolic product function):

arranger1044 commented 1 month ago

We should keep the overlapping scopes case around (perhaps in a different issue?).