“…That is, it has an additional output that indicates if a generated samples was created successfully or if it has to be discarded. Indeed, quantum algorithms for learning and inference of specific probabilistic models have been proposed, including quantum Bayesian networks [22], quantum Boltzmann machines [2,19,37,42], and Markov random fields [40,4,25]. However, many of these methods are either approximate or require so-called fault-tolerant quantum computers-a concept that cannot yet be realized with the state-of-the-art quantum hardware.…”