A Graphical #SAT Algorithm for Formulae with Small Clause Density

Open Access
Authors
Publication date 12-08-2024
Journal Electronic Proceedings in Theoretical Computer Science
Event 21st International Conference on Quantum Physics and Logic, QPL 2024
Volume | Issue number 406
Pages (from-to) 137-161
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract

We study the counting version of the Boolean satisfiability problem #SAT using the ZH-calculus, a graphical language originally introduced to reason about quantum circuits. Using this, we generalize #SAT to a weighted variant we call #SAT±, which is complete for the class GapP. We show there is an efficient linear-time reduction from #SAT to #2SAT±, unlike previous reductions from #SAT to #2SAT which blow up the size of the formula by a polynomial factor. Our main conceptual contribution is that introducing weights to #SAT allows for more efficient translations, and we use this to remove the dependence on clause width k in this case. We observe that DPLL-style algorithms for #2SAT can be adapted to #2SAT± directly and hence the best-known upper bounds for #2SAT apply. Applying an upper bound for #2SAT in terms of variables gives us upper bounds for #SAT in terms of clauses and variables that are better than O(2n) for small clause densities of mn < 2.25, and improve on previous average-case and worst-case bounds for k ≥ 6 and k ≥ 4, respectively. Applying a similar bound in terms of clauses produces a bound of O(1.1740L) in terms of the length of the formula. These are, to our knowledge, the first non-trivial upper bounds for #SAT that is independent of clause size, and in terms of formula length, respectively. Based on a result of Kutzkov, we find an improved bound on #3SAT for 1.2577 < mn37 . Finally, we use this technique to find an upper bound on the complexity of calculating amplitudes of quantum circuits in terms of the total number of gates. Our results demonstrate that graphical reasoning can lead to new algorithmic insights, even outside the domain of quantum computing that the calculus was intended for.

Document type Article
Note In: Proceedings of the 21st International Conference on Quantum Physics and Logic Buenos Aires, Argentina, July 15-19, 2024. Edited by: Alejandro Díaz-Caro and Vladimir Zamdzhiev.
Language English
Published at https://doi.org/10.4204/EPTCS.406.7
Published at https://cgi.cse.unsw.edu.au/~eptcs/paper.cgi?QPL2024.7
Other links https://cgi.cse.unsw.edu.au/~eptcs/content.cgi?QPL2024 https://www.scopus.com/pages/publications/85202075295
Downloads
Permalink to this page
Back