Picturing counting reductions with the ZH-calculus

04/05/2023
by   Tuomas Laakkonen, et al.
0

Counting the solutions to Boolean formulae defines the problem #SAT, which is complete for the complexity class #P. We use the ZH-calculus, a universal and complete graphical language for linear maps which naturally encodes counting problems in terms of diagrams, to give graphical reductions from #SAT to several related counting problems. Some of these graphical reductions, like to #2SAT, are substantially simpler than known reductions via the matrix permanent. Additionally, our approach allows us to consider the case of counting solutions modulo an integer on equal footing. Finally, since the ZH-calculus was originally introduced to reason about quantum computing, we show that the problem of evaluating ZH-diagrams in the fragment corresponding to the Clifford+T gateset, is in FP^#P. Our results show that graphical calculi represent an intuitive and useful framework for reasoning about counting problems.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/15/2022

A Graphical #SAT Algorithm for Formulae with Small Clause Density

We study the counting version of the Boolean satisfiability problem #SAT...
research
03/11/2021

Classifying Complexity with the ZX-Calculus: Jones Polynomials and Potts Partition Functions

The ZX-calculus is a graphical language which allows for reasoning about...
research
04/14/2020

Tensor Network Rewriting Strategies for Satisfiability and Counting

We provide a graphical treatment of SAT and #SAT on equal footing. Insta...
research
06/01/2023

chemSKI with tokens: world building and economy in the SKI universe

chemSKI with tokens is a confluent graph rewrite system where all rewrit...
research
04/09/2020

Coend Calculus and Open Diagrams

Morphisms in a monoidal category are usually interpreted as processes or...
research
04/01/2022

Modular SAT-based techniques for reasoning tasks in team semantics

We study the complexity of reasoning tasks for logics in team semantics....
research
02/08/2023

Complete Graphical Language for Hermiticity-Preserving Superoperators

Universal and complete graphical languages have been successfully design...

Please sign up or login with your details

Forgot password? Click here to reset