Table of Contents
Fetching ...

Reducing Quantum Circuit Synthesis to #SAT

Dekel Zak, Jingyi Mei, Jean-Marie Lagniez, Alfons Laarman

TL;DR

The paper tackles the challenge of synthesizing quantum circuits within a finite gate set by reducing universal circuit synthesis to maximum weighted model counting (MWMC). It introduces two encodings, computational basis (CB) and Pauli basis (PB), enabling exact and approximate depth-optimal synthesis for Clifford+T circuits through a single MWMC call per equivalence check and fidelity evaluation. An open-source tool, Quokka#-syn, demonstrates the approach, extending MWMC solvers to handle complex and negative weights and providing layer-based synthesis with pruning rules. While results show the approach is promising and competitive with existing methods in certain regimes, scalability remains a key challenge, guiding future work toward incremental solving, solver enhancements, symmetry exploitation, and broader gate-set applicability.

Abstract

Quantum circuit synthesis is the task of decomposing a given quantum operator into a sequence of elementary quantum gates. Since the finite target gate set cannot exactly implement any given operator, approximation is often necessary. Model counting, or #SAT, has recently been demonstrated as a promising new approach for tackling core problems in quantum circuit analysis. In this work, we show for the first time that the universal quantum circuit synthesis problem can be reduced to maximum model counting. We formulate a #SAT encoding for exact and approximate depth-optimal quantum circuit synthesis into the Clifford+T gate set. We evaluate our method with an open-source implementation that uses the maximum model counter d4Max as a backend. For this purpose, we extended d4Max with support for complex and negative weights to represent amplitudes. Experimental results show that existing classical tools have potential for the quantum circuit synthesis problem.

Reducing Quantum Circuit Synthesis to #SAT

TL;DR

The paper tackles the challenge of synthesizing quantum circuits within a finite gate set by reducing universal circuit synthesis to maximum weighted model counting (MWMC). It introduces two encodings, computational basis (CB) and Pauli basis (PB), enabling exact and approximate depth-optimal synthesis for Clifford+T circuits through a single MWMC call per equivalence check and fidelity evaluation. An open-source tool, Quokka#-syn, demonstrates the approach, extending MWMC solvers to handle complex and negative weights and providing layer-based synthesis with pruning rules. While results show the approach is promising and competitive with existing methods in certain regimes, scalability remains a key challenge, guiding future work toward incremental solving, solver enhancements, symmetry exploitation, and broader gate-set applicability.

Abstract

Quantum circuit synthesis is the task of decomposing a given quantum operator into a sequence of elementary quantum gates. Since the finite target gate set cannot exactly implement any given operator, approximation is often necessary. Model counting, or #SAT, has recently been demonstrated as a promising new approach for tackling core problems in quantum circuit analysis. In this work, we show for the first time that the universal quantum circuit synthesis problem can be reduced to maximum model counting. We formulate a #SAT encoding for exact and approximate depth-optimal quantum circuit synthesis into the Clifford+T gate set. We evaluate our method with an open-source implementation that uses the maximum model counter d4Max as a backend. For this purpose, we extended d4Max with support for complex and negative weights to represent amplitudes. Experimental results show that existing classical tools have potential for the quantum circuit synthesis problem.

Paper Structure

This paper contains 17 sections, 6 theorems, 20 equations, 5 tables.

Key Result

Lemma 2

Given an input state $\ket{\varphi} = \sum_{b\in{\{0,1\}}^n}\alpha_b\ket{b}$, such that $\ketbra{\varphi}{\varphi} = \sum_{j\in [4^n]}\beta_j\mathcal{P}_j$, an $n$-qubit circuit $\mathcal{C}$, a computational basis state $\ket{b}$ ($b\in\{0,1\}^n$) and a Pauli string $\mathcal{P}_j\in\{I,X,Y,Z\}^{\o

Theorems & Definitions (12)

  • Definition 1: MWMC audemard2022maxsat
  • Lemma 2: mei2024gapp
  • Definition 3: Unitary equivalence
  • Theorem 5
  • Example 6
  • Example 7
  • Proposition 8
  • Example 9
  • Theorem 10
  • Proposition 11
  • ...and 2 more