Skip to main content
Science Catalogs
Physical Sciences and Engineering

Optimal Clifford circuit synthesis with a CNOT budget shown to be NP-complete

A preprint by Søren Fuglede Jørgensen of Kvantify shows that finding the cheapest way to build a Clifford operator, counted in CNOT gates, is NP-complete. The result holds even when any number of single-qubit Clifford gates may be used for free. It offers a theoretical explanation for why optimal Clifford circuit synthesis has proved so hard.

Why CNOT counts matter

On current quantum hardware, two-qubit operations generally carry higher error rates than single-qubit gates. Reducing the number of two-qubit gates, such as CNOTs, is therefore a central aim of circuit optimisation. Clifford circuits are built from Hadamard, phase and CNOT gates. They can be simulated efficiently on classical computers, but that tractability does not extend to finding their most economical implementation.

Construction versus optimisation

The work separates two tasks that are easy to confuse. Building some valid circuit for a given Clifford operator can be done efficiently. Deciding whether a circuit exists within a stated CNOT limit is a different question, and the paper, titled "Clifford synthesis is NP-complete", shows it is NP-complete. A proposed solution can be checked quickly, but finding one is at least as hard as the hardest problems in the class NP.

The proof works by reduction from the Hamiltonian path problem on grid graphs, a known NP-complete problem. Instances of the path problem are translated into synthesis problems, so an efficient solver for synthesis would also solve the path problem.

The main technical difficulty is that single-qubit Clifford gates can lower the number of CNOTs needed. The author builds a construction that keeps the problem NP-complete even when these gates are allowed in any quantity. The result is proved for a restricted class of Clifford operators and then extended to broader settings. These include other gate-cost models, arbitrary two-qubit Clifford gates and cases where qubit permutations come at no cost.

Where Clifford circuits are used

The source highlights three areas in which efficient Clifford circuits matter:

  • Quantum chemistry: circuits often chain together operations representing molecular processes, and optimising the combined circuit may give gains beyond optimising each part.
  • Measurement: estimating molecular energies requires expectation values of Pauli operators. Clifford transformations let groups of commuting operators be measured together, so compact measurement circuits pay off when measurements are repeated many times.
  • Error correction: Clifford circuits encode quantum information into stabiliser codes, and cheaper encoders support fault-tolerant computing.

What the result does and does not imply

Unless P equals NP, no polynomial-time algorithm can guarantee an optimal solution for every instance of the synthesis problem. That sets a limit on what universal exact methods can achieve. It does not rule out useful progress. Efficient optimisation remains possible for restricted classes of circuits, and heuristic methods can deliver substantial savings without a guarantee of global optimality.

For researchers, the finding clarifies where effort is best spent: on specialised algorithms, structured subclasses and good heuristics rather than a general exact optimiser. It also gives a benchmark for judging claims about Clifford compilation tools. The work is a preprint on arXiv and has not yet been peer reviewed, so the proof will be open to scrutiny by the wider complexity and quantum computing communities.

Source: New research establishes fundamental complexity limit for quantum circuit optimization (Phys.org, 28 November 2026).

Image: AI-generated illustration.

Working on this topic? Find a journal for your research or join the discussion on Scholars Post.