CNOT-Distance is NP-complete under all-to-all connectivity
Abstract
Given $A\in\operatorname{GL}(N,2)$ and an integer $K$, we ask whether $A$ can be implemented by at most $K$ CNOT gates on fixed labelled wires with all-to-all connectivity. We prove that this problem is NP-complete. From a finite simple graph $G=(V,E)$, we construct an upper-unitriangular matrix $A_G\in\operatorname{GL}(2|V|+|E|+1,2)$ satisfying $\ell_{\mathrm{CNOT}}(A_G)=2|V|+2|E|+Ο(G)$, where $Ο(G)$ is the minimum vertex-cover size. Each target matrix has $O(N)$ nonzero entries and row Hamming...
Description / Details
Given and an integer , we ask whether can be implemented by at most CNOT gates on fixed labelled wires with all-to-all connectivity. We prove that this problem is NP-complete. From a finite simple graph , we construct an upper-unitriangular matrix satisfying , where is the minimum vertex-cover size. Each target matrix has nonzero entries and row Hamming weight at most four. The lower bound unfolds an arbitrary CNOT circuit into an XOR directed acyclic graph and applies projection--contraction operations, allowing cancellation and unrestricted reuse of intermediate parities. For this family, the optimum is unchanged by any finite number of clean or borrowed ancillary wires that must be restored. A polynomial-time decoder further yields NP-hardness of approximation within every fixed additive constant and, through an L-reduction from Minimum Vertex Cover on cubic graphs, APX-hardness of the associated CNOT-circuit optimisation problem.
Source: arXiv:2608.03825v1 - http://arxiv.org/abs/2608.03825v1 PDF: https://arxiv.org/pdf/2608.03825v1 Original Link: http://arxiv.org/abs/2608.03825v1
Please sign in to join the discussion.
No comments yet. Be the first to share your thoughts!
Aug 5, 2026
Quantum Computing
Quantum Physics
0