Skip to main content
QUICK REVIEW

[Paper Review] Towards a SAT Encoding for Quantum Circuits: A Journey From Classical Circuits to Clifford Circuits and Beyond

Lucas Berent, Lukas Burgholzer|arXiv (Cornell University)|Mar 1, 2022
Quantum Computing Algorithms and ArchitectureComputer Science5 citations
TL;DR

This paper proposes a generalized propositional SAT encoding for quantum circuits, demonstrating feasibility for Clifford circuits—where it enables efficient, scalable verification of circuits with over 100 qubits and 1 million gates. The approach encodes quantum circuit functionality into Boolean formulas using state vector representations and constraints, with experimental results showing SAT solving times under 5 seconds for large instances, establishing a foundation for applying classical SAT techniques to quantum circuit design.

ABSTRACT

Satisfiability Testing (SAT) techniques are well-established in classical computing where they are used to solve a broad variety of problems, e.g., in the design of classical circuits and systems. Analogous to the classical realm, quantum algorithms are usually modelled as circuits and similar design tasks need to be tackled. Thus, it is natural to pose the question whether these design tasks in the quantum realm can also be approached using SAT techniques. To the best of our knowledge, no SAT formulation for arbitrary quantum circuits exists and it is unknown whether such an approach is feasible at all. In this work, we define a propositional SAT encoding that, in principle, can be applied to arbitrary quantum circuits. However, we show that due to the inherent complexity of representing quantum states, constructing such an encoding is not feasible in general. Therefore, we establish general criteria for determining the feasibility of the proposed encoding and identify classes of quantum circuits fulfilling these criteria. We explicitly demonstrate how the proposed encoding can be applied to the class of Clifford circuits as a representative. Finally, we empirically demonstrate the applicability and efficiency of the proposed encoding for Clifford circuits. With these results, we lay the foundation for continuing the ongoing success of SAT in classical circuit and systems design for quantum circuits.

Motivation & Objective

  • To investigate whether SAT-based techniques can be generalized to quantum circuit design, given their success in classical circuit design.
  • To identify the feasibility limits of encoding arbitrary quantum circuits into propositional logic due to the exponential complexity of quantum state representation.
  • To define a generalized SAT encoding applicable to arbitrary quantum circuits, with a focus on identifying tractable subclasses.
  • To empirically validate the encoding's scalability and efficiency on Clifford circuits, a prominent class of quantum circuits.
  • To lay the groundwork for applying powerful classical SAT solvers to quantum circuit design tasks such as equivalence checking and verification.

Proposed method

  • Proposes a generalized SAT encoding that symbolically represents quantum circuits using propositional variables for qubit states and gate operations, with constraints encoding unitary evolution and measurement.
  • Models quantum state evolution by encoding superposition and entanglement through logical constraints over propositional variables representing amplitude coefficients.
  • Introduces a pre-processing pipeline to translate quantum circuits into a miter structure for equivalence checking, where two circuit instances are compared via a SAT solver.
  • Employs the Z3 SAT solver to verify circuit equivalence by checking for unsatisfiability of a contradiction formula derived from comparing outputs across multiple input states.
  • Uses 16 random input states per circuit instance to increase confidence in detecting non-equivalence, based on theoretical guarantees from prior work.
  • Applies the encoding to Clifford circuits, which are closed under unitary operations and allow efficient state representation using stabilizer formalism, enabling scalable encoding.

Experimental results

Research questions

  • RQ1Can a general SAT encoding be constructed for arbitrary quantum circuits, and what are the fundamental limitations due to quantum state representation complexity?
  • RQ2Which classes of quantum circuits allow for efficient and scalable SAT encodings, and what criteria determine this feasibility?
  • RQ3Can the proposed encoding be practically applied to real-world quantum circuit design tasks such as equivalence checking?
  • RQ4How does the encoding scale with increasing qubit count and gate count in terms of encoding time and SAT solving performance?
  • RQ5To what extent can modern SAT solvers efficiently solve problems encoded from large-scale quantum circuits?

Key findings

  • The proposed SAT encoding can be constructed for Clifford circuits with up to 124 qubits and over 1.2 million gates, with encoding and pre-processing times under 90 seconds.
  • SAT solving times for equivalence checking remain under 5 seconds even for circuits with more than 100 qubits and 1 million gates, demonstrating high scalability.
  • For equivalent instances, the number of conflicts reported by Z3 ranged from 0 to 38, while non-equivalent instances consistently produced conflicts, confirming correct detection.
  • The encoding pipeline scales linearly with circuit size, with pre-processing time increasing from 0.82 s (4 qubits) to 88.65 s (124 qubits), and solving time remaining stable around 2.5–4.5 seconds.
  • The method successfully detects single-gate errors in circuits by introducing random gate removals and verifying non-equivalence across 16 input states, with high detection confidence.
  • The results confirm that Clifford circuits are a viable target class for SAT-based quantum circuit design, enabling efficient verification and paving the way for broader application to other structured quantum circuit families.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.