Quantum circuits for discrete graphical models | Synapse