https://medium.com/@monocosmo77/how-probabilistic-circuits-work-part5-artificial-intelligence-24d38d5a298c