Finding the Leanest Quantum Circuit Proven NP-Complete, Kvantify Researchers Show
A new proof says deciding whether a Clifford circuit fits a CNOT-gate budget is as hard as the toughest problems in NP, even with unlimited single-qubit gates.

Researchers at the quantum software company Kvantify have shown that finding the most efficient way to build a common class of quantum circuits is a fundamentally hard computational problem, according to a preprint posted on the arXiv server.
Reducing the resources needed to run quantum algorithms is a major research goal. On current hardware, operations that act on two qubits at once carry higher error rates than single-qubit gates, so cutting the number of two-qubit gates is a key objective. The study focuses on Clifford circuits, which are built from Hadamard, phase and controlled-NOT, or CNOT, gates. Although a classical computer can simulate these circuits efficiently, finding their most resource-efficient implementation is a different kind of challenge.
The team proved that deciding whether a given Clifford operator can be implemented with at most a specified number of CNOT gates, while allowing an unlimited number of single-qubit Clifford gates, is NP-complete. That means a proposed solution can be checked quickly, but finding one is at least as hard as the toughest problems in the complexity class NP. The result offers a theoretical explanation for why optimal Clifford circuit synthesis has been so difficult.
The work separates two tasks that can look alike. Building a valid circuit for a Clifford operator can be done efficiently. Deciding whether an implementation exists within a given CNOT budget cannot, unless long-standing questions in computer science are resolved in an unexpected way.
The proof works by connecting the circuit problem to the Hamiltonian path problem on grid graphs, a well-known NP-complete problem. The researchers translate instances of the path-finding problem into circuit synthesis problems, showing that solving the latter would also solve the former. A central difficulty was that single-qubit Clifford gates can reduce the number of CNOT gates needed, so the team built a construction that stays NP-complete even when those extra gates are allowed.
The result holds for a restricted class of Clifford operators and extends to more general settings, including other gate-cost models, arbitrary two-qubit Clifford gates and implementations that allow free reordering of qubits.
Clifford circuits show up in several important parts of quantum algorithms. In quantum chemistry, they appear in sequences of operations representing molecular processes, and in the measurements used to estimate molecular energies, where Clifford transformations let groups of commuting operators be measured together. They are also used in quantum error correction to encode quantum information into stabilizer codes, where fewer resources mean cheaper fault-tolerant computing.
The NP-completeness result does not rule out good heuristics or approximate methods. It does mean developers should not expect a fast algorithm that always finds the provably smallest circuit, and it sets a limit on how far automated optimization of these circuits can go.





