REVIEW
Complexity separations for optimal matchgate-Clifford synthesis
Quantum Physics · Submitted 5 Oct 2026 · 88 references
Pith's verdict: A solid complexity separation for matchgate-Clifford synthesis: poly-time optimal compilers on path and all-to-all connectivity, NP-completeness on trees, with two minor presentation caveats in the benchmark claims and the two-qubit formula.
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
Optimal synthesis of matchgate-Clifford circuits is easy on a line or all-to-all graph, but deciding it is NP-complete on arbitrary trees.
The reading
What carries the argument
The argument runs on the isomorphism between the adjoint action of the matchgate-Clifford group and the group $B_{2n} \cap SO(2n)$ of unit-determinant signed permutation matrices of the $2n$ Majorana modes. Two potentials carry the positive results: on the path, $\Phi(w) = \mathrm{inv}(\pi) + 2\nu(w)$, where $\nu(w)$ counts the negative defects, cuts $c$ where the leading $c\times c$ minor has determinant $-1$, and the proof uses the connectedness of the inversion graph of a cut-free permutation to flip signs at no extra gate cost; on the complete graph, $\Phi_{\mathrm{all}}(w) = 2n - \kappa(\pi) + d_-(w)$, with $d_-$ counting defective cycles. For the NP-hardness, the load-bearing object is a sign-placement lemma that assigns signs to cycles of the underlying permutation, negative on the smallest element of each even-length cycle, so that any swap routing on the tree can be oriented, in polynomial time, to realize that signed permutation without knowing the optimal routing.
Extended reading notes
Core claim
The paper's central claim is that optimal exact synthesis in the matchgate-Clifford group, from the generating set of Majorana braids, has a complexity that depends sharply on the connectivity graph. On an open path, the optimal word length is $\ell_R(w) = \mathrm{inv}(\pi) + 2\nu(w)$, the inversion number of the underlying permutation plus twice the number of negative defects, and a matching circuit is output in $O(n^2)$ time. On the complete graph, the optimal length is $\ell_{\mathrm{all}}(w) = 2n - \kappa(\pi) + d_-(w)$, where $\kappa$ counts the cycles of the permutation and $d_-$ counts the defective cycles, again constructible in $O(n^2)$ time. On an arbitrary tree, the decision version of gate-optimal and depth-optimal synthesis is NP-complete, via a reduction from token swapping on trees; the reduction is made to work by a lemma that places signs per cycle, negative on the smallest element of each even-length cycle, so that any routing of the underlying permutation can be oriented to realize the required signed permutation without knowing an optimal routing. A corollary extends NP-completeness to arbitrary connected graphs, and the closed-form path compiler yields constant-factor gate-count improvements over two production compilers in benchmarks on chains of up to 80 qubits.
Load-bearing premise
The load-bearing premise for the NP-hardness is Lemma 7, which asserts that for any swap sequence on a tree realizing a given permutation, the braid orientations can be chosen in polynomial time to realize the specific signed permutation whose signs are negative on the smallest element of each even-length cycle.
Editorial extensions
If this is right
- Every matchgate-Clifford unitary can be synthesized with at most $2n$ all-to-all braids, and this bound is tight; on the path the exact optimal word length is $\mathrm{inv}(\pi) + 2\nu(w)$, with an explicit quadratic-time compiler.
- On trees, and hence on general connected graphs, no polynomial-time algorithm for gate-optimal or depth-optimal synthesis exists unless P = NP.
- On the path there is a single word that is simultaneously optimal in total gate count and in two-qubit gate count, with the two-qubit cost equal to $\mu(\pi) + 2\nu_{\mathrm{even}}(w)$; only a factor-2 approximation to $\mu(\pi)$ is known, and its exact computation is left open.
- Benchmarks on chains of up to 80 qubits show the optimal path compiler reduces total gate counts by constant factors (up to about 2.6x) relative to Qiskit and Tket, and similar reductions in two-qubit gate count.
Reading between the lines
- Because the closed-form word lengths coincide with the Cayley-graph distances of the braid generating set, the results give exact diameters of those Cayley graphs, $2n$ on the all-to-all graph, which could be reused for sampling or benchmarking fermionic circuits.
- The per-cycle sign placement used for the tree reduction may transfer to other signed-permutation groups where token-swapping hardness is known, potentially marking other braid-like gate sets as NP-hard to synthesize.
- The NP-completeness on trees is a worst-case statement; typical instances may still admit practical heuristics, and the paper's own benchmark notes the sampled ensemble is not uniform on the group, so the reported constant-factor improvements describe typical random-walk targets rather than worst cases.
- Since the two-qubit-optimal routing cost $\mu(\pi)$ remains open even with a factor-2 approximation, a natural next target is an exact polynomial algorithm for $\mu(\pi)$ or a hardness proof for it.
Original abstract
Clifford and matchgate circuits are canonical families of classically simulable quantum circuits. Their intersection, the matchgate-Clifford group, plays an important role in randomized fermionic protocols and in matchgate synthesis. Its adjoint action is isomorphic to the group of unit-determinant signed permutations of $2n$ Majorana modes, and we study optimal exact synthesis in this group. That is, given a target unitary and a gate set, output an $n$-qubit circuit implementing the target using the fewest operations. We show that the complexity of this problem strongly depends on the gate set. In particular, we study gate sets consisting of Majorana braids with different connectivity graphs. For path and complete graphs, we prove that the problem is classically solvable in $\mathcal{O}\left(n^2\right)$ time, and we provide explicit gate-optimal compilers. In addition, we prove that when the connectivity graph is a tree, the decision version of the optimal synthesis problem becomes NP-complete. Finally, we benchmark our optimal compiler on chains of up to $n=80$ qubits against those of \texttt{Qiskit} and \texttt{Tket}, obtaining circuits with constant factor improvements $\times2.57$ and $\times2.28$ in the total number of gates, respectively.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
Clifford and matchgate circuits are canonical families of classically simulable quantum circuits. Their intersection, the matchgate-Clifford group, plays an important role in randomized fermionic protocols and in matchgate synthesis. Its adjoint action is isomorphic to the group of unit-determinant signed permutations of $2n$ Majorana modes, and we study optimal exact synthesis in this group. That is, given a target unitary and a gate set, output an $n$-qubit circuit implementing the target using the fewest operations. We show that the complexity of this problem strongly depends on the gate set. In particular, we study gate sets consisting of Majorana braids with different connectivity graphs. For path and complete graphs, we prove that the problem is classically solvable in $\mathcal{O}\left(n^2\right)$ time, and we provide explicit gate-optimal compilers. In addition, we prove that when the connectivity graph is a tree, the decision version of the optimal synthesis problem becomes NP-complete. Finally, we benchmark our optimal compiler on chains of up to $n=80$ qubits against those of \texttt{Qiskit} and \texttt{Tket}, obtaining circuits with constant factor improvements $\times2.57$ and $\times2.28$ in the total number of gates, respectively.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | Clifford and matchgate circuits are canonical families of classically simulable quantum circuits. | background 1.00 | 0.05 | 0.02 | asserted 1.00 |
| s1 | Their intersection, the matchgate-Clifford group, plays an important role in randomized fermionic protocols and in matchgate synthesis. | background 1.00 | 0.08 | 0.02 | asserted 1.00 |
| s2 | Its adjoint action is isomorphic to the group of unit-determinant signed permutations of $2n$ Majorana modes, and we study optimal exact synthesis in this group. | background 0.50 | 0.48 | 0.05 | asserted 1.00 |
| s3 | That is, given a target unitary and a gate set, output an $n$-qubit circuit implementing the target using the fewest operations. | background 0.77 | 0.17 | 0.03 | asserted 0.72 |
| s4 | We show that the complexity of this problem strongly depends on the gate set. | result 0.94 | 0.89 | 0.40 | asserted 1.00 |
| s5 | In particular, we study gate sets consisting of Majorana braids with different connectivity graphs. | contribution 0.63 | 0.68 | 0.04 | asserted 0.88 |
| s6 | For path and complete graphs, we prove that the problem is classically solvable in $\mathcal{O}\left(n^2\right)$ time, and we provide explicit gate-optimal compilers. | result 0.96 | 0.96 | 0.19 | asserted 1.00 |
| s7 | In addition, we prove that when the connectivity graph is a tree, the decision version of the optimal synthesis problem becomes NP-complete. | result 0.99 | 0.95 | 0.29 | asserted 1.00 |
| s8 | Finally, we benchmark our optimal compiler on chains of up to $n=80$ qubits against those of \texttt{Qiskit} and \texttt{Tket}, obtaining circuits with constant factor improvements $\times2.57$ and $\times2.28$ in the total number of gates, respectively. | result 0.93 | 0.97 | 0.10 | asserted 1.00 |
What was examined, and what was not
- arXiv listing abstract v1
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
Figures
Figures reproduced from arXiv:2610.06768 by the authors.
References
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.