English

Picturing Counting Reductions with the ZH-Calculus

Computational Complexity 2023-09-01 v2

Abstract

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.

Keywords

Cite

@article{arxiv.2304.02524,
  title  = {Picturing Counting Reductions with the ZH-Calculus},
  author = {Tuomas Laakkonen and Konstantinos Meichanetzidis and John van de Wetering},
  journal= {arXiv preprint arXiv:2304.02524},
  year   = {2023}
}

Comments

In Proceedings QPL 2023, arXiv:2308.15489

R2 v1 2026-06-28T09:51:09.665Z