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

Corner case when `num_vars=1` #131

Closed lkct closed 4 months ago

lkct commented 1 year ago

When num_vars=1, the current implementation only generates an input layer.

However, we would expect a mixture model in this case (the only structure with smooth and decomposable circuit).