Quantum Weighted Model Counting

10/22/2019
by   Fabrizio Riguzzi, et al.
0

In Weighted Model Counting (WMC) we assign weights to Boolean literals and we want to compute the sum of the weights of the models of a Boolean function where the weight of a model is the product of the weights of its literals. WMC was shown to be particularly effective for performing inference in graphical models, with a complexity of O(n2^w) where n is the number of variables and w is the treewidth. In this paper, we propose a quantum algorithm for performing WMC, Quantum WMC (QWMC), that modifies the quantum model counting algorithm to take into account the weights. In turn, the model counting algorithm uses the algorithms of quantum search, phase estimation and Fourier transform. In the black box model of computation, where we can only query an oracle for evaluating the Boolean function given an assignment, QWMC solves the problem approximately with a complexity of Θ(2^n/2) oracle calls while classically the best complexity is Θ(2^n), thus achieving a quadratic speedup.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/25/2022

A quantum algorithm to estimate the closeness to the Strict Avalanche criterion in Boolean functions

We propose a quantum algorithm (in the form of a quantum oracle) that es...
research
08/28/2019

Quantum Approximate Counting, Simplified

In 1998, Brassard, Hoyer, Mosca, and Tapp (BHMT) gave a quantum algorith...
research
11/25/2018

Quantum Differential Cryptanalysis

In this paper, we propose a quantum version of the differential cryptana...
research
08/07/2018

Quantum Lower Bound for Approximate Counting Via Laurent Polynomials

We consider the following problem: estimate the size of a nonempty set S...
research
02/24/2020

Markov Logic Networks with Complex Weights: Expressivity, Liftability and Fourier Transforms

We study expressivity of Markov logic networks (MLNs). We introduce comp...
research
04/11/2014

Distribution-Aware Sampling and Weighted Model Counting for SAT

Given a CNF formula and a weight for each assignment of values to variab...
research
11/25/2021

Quantum Motif Clustering

We present three quantum algorithms for clustering graphs based on highe...

Please sign up or login with your details

Forgot password? Click here to reset