Picturing Counting Reductions with the ZH-Calculus

Open Access
Authors
Publication date 30-08-2023
Journal Electronic Proceedings in Theoretical Computer Science
Event 20th International Conference on Quantum Physics and Logic
Volume | Issue number 384
Pages (from-to) 89-113
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
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.
Document type Article
Note In: Proceedings of the Twentieth International Conference on Quantum Physics and Logic : Paris, France, 17-21st July 2023. Edited by: Shane Mansfield, BenoƮt Valiron and Vladimir Zamdzhiev .
Language English
Published at https://doi.org/10.4204/EPTCS.384.6
Published at https://cgi.cse.unsw.edu.au/~eptcs/paper.cgi?QPL2023.6
Other links https://cgi.cse.unsw.edu.au/~eptcs/content.cgi?QPL2023
Downloads
Permalink to this page
Back