arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.12816quant-phcs.AI
收藏

加权约束采样与加权模型计数的量子算法

Quantum Algorithms for Weighted Constrained Sampling and Weighted Model Counting

University of Ferrara(费拉拉大学)

Fabrizio Riguzzi

AI总结:

本文提出量子算法QWCS和QWMC,分别解决加权约束采样和加权模型计数问题,在黑盒模型中实现二次加速。

摘要:

我们考虑加权约束采样和加权模型计数问题,其中给定一个命题公式和每个世界的权重。第一个问题是在公式满足的条件下,以与权重成比例的概率对世界进行采样。后一个问题是计算公式模型权重之和。两者在概率推理、图模型、统计物理、统计学和硬件验证等许多领域都有应用。在本文中,我们提出QWCS和QWMC,分别用于执行加权约束采样和加权模型计数的量子算法。两者都基于量子搜索/量子模型计数算法,并进行了修改以考虑权重。在计算的黑盒模型中,我们只能查询一个预言机来评估给定赋值的布尔函数,QWCS需要$O(2^{\frac{n}{2}}+1/\sqrt{\text{WMC}})$次预言机调用,其中$n$是布尔变量的数量,$\text{WMC}$是公式的归一化在0到1之间的加权模型计数,而经典算法的复杂度为$Ω(1/\text{WMC})$。QWMC需要$Θ(2^{\frac{n}{2}})$次预言机调用,而经典最佳复杂度为$Θ(2^n)$,因此实现了二次加速。

英文摘要:

We consider the problems of weighted constrained sampling and weighted model counting, where we are given a propositional formula and a weight for each world. The first problem consists of sampling worlds with a probability proportional to their weight given that the formula is satisfied. The latter is the problem of computing the sum of the weights of the models of the formula. Both have applications in many fields such as probabilistic reasoning, graphical models, statistical physics, statistics and hardware verification. In this article, we propose QWCS and QWMC, quantum algorithms for performing weighted constrained sampling and weighted model counting, respectively. Both are based on the quantum search/quantum model counting algorithms that are modified to take into account the weights. In the black box model of computation, where we can only query an oracle for evaluating the Boolean function given an assignment, QWCS requires $O(2^{\frac{n}{2}}+1/\sqrt{\text{WMC}})$ oracle calls, where where $n$ is the number of Boolean variables and $\text{WMC}$ is the normalized between 0 and 1 weighted model count of the formula, while a classical algorithm has a complexity of $Ω(1/\text{WMC})$. QWMC takes $Θ(2^{\frac{n}{2}})$ oracle calss, while classically the best complexity is $Θ(2^n)$, thus achieving a quadratic speedup.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑