Pith. Sign in

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.

T0 · AI review

How this review was made: An AI referee (deepseek/deepseek-v4-flash) read the paper on October 6, 2026 and answered a fixed list of questions about it. T0 is the starting level every paper gets. The levels describe how deeply Pith has checked the paper, never the authors.

  1. T0 AI review An AI read the paper and answered a fixed list of questions.
  2. T1 Audit Automatic checks that the references and files the paper relies on exist and match.
  3. T2 Compute The paper's code or calculations re-run with the same results.
  4. T3 Formal statement The claims written out in a formal math language a computer can read.
  5. T4 Proof Those claims proved, and the proof checked by computer.

How Pith checks papers →

· 7 minor · Ask about this paper · The compiled record · Read the full review →
Challenge this review Comment (0) Read on arXiv ↗
Cite ▾
arXiv ID2610.06768 (version 1)
Pith IDA3ZA7WBN, Pith's permanent record of this paper and its review
CitationBerta Casas, Diego Garc\'ia-Mart\'in, Yuxuan Zhang. "Complexity separations for optimal matchgate-Clifford synthesis." arXiv:2610.06768 (2026). https://pith.science/paper/A3ZA7WBN
Cite this reviewBibTeX for Pith's review of this paper
Claim paper

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

Matchgate-Clifford unitaries are a standard class of classically simulable quantum circuits, and their adjoint action on Majorana operators is exactly the group of unit-determinant signed permutations of $2n$ modes. This paper asks how many Majorana-braid gates are needed to realize a given such unitary, and shows the answer depends on which edges of the connectivity graph the braids may use. On a path and on the complete graph, the optimal word length has a closed-form expression and an optimal compiler runs in $O(n^2)$ time. On an arbitrary tree, the decision version of optimal synthesis is NP-complete, in both gate count and depth. The path-graph compiler beats Qiskit and Tket by constant factors on chains of up to 80 qubits.

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

Editorial extensions of the paper, not claims the author makes directly.

  • 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.

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-10-06: 1 request, 6,969 input tokens.

What the abstract itself states, as probabilities: claims first 0.04 · states limitation 0.41 · human participants 0.01 · controlled comparison 0.60 · randomized assignment 0.03 · states quantitative result 0.98 · compares with prior results 0.94 · mentions code or data availability 0.05.

The abstract, sentence by sentence

arXiv listing abstract v1. Results and the main claim are underlined; .

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

What the classifier reports for each sentence. The number is the probability it gave the label.
#sentencerolethe authors' own workstates the main conclusionstrength
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 kind of paper the classifier reports this is: theoretical result 0.92 · evidence from proof or derivation 1.00.

What was examined, and what was not

sources read
  • arXiv listing abstract v1
not examined
  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers
levels run
  • P abstract
not run
  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. Every number in the measurements table is the authors', checked by code. Record as JSON

Figures
Figure 1. Overview of our main results. We consider the problem of optimal unitary synthesis in the matchgate-Clifford group. Representing the target n-qubit unitary as a 2n × 2n signed permutation matrix with determinant +1, we ask for an optimal circuit with a minimum number of Majorana braids along the edges of a given connectivity graph. We show that for path and complete graphs, the problem can be solved efficiently on a classical computer by providing explicit algorithms that run in O
Figure 2. Example of an optimal synthesis with nearest-neighbor braids on an open path. The number of gates from the generating set R =  r ±1 a 2n−1 a=1 required to synthesize w is ℓR(w), which splits into five inversions plus four gates to correct the sign defects captured by the number of bad cuts, ν(w). We first decompose the permutation matrix w into three sub￾permutation blocks w1, w2 and w3. We then identify the bad cuts c, for which ∆c = −1. We use the inversions to synthesize the sub-permutation blocks, leveraging the freedom in choosing ra or r −1 a to deposit the extra signs at the…
Figure 3. Performance of our optimal path synthesis algorithm. Randomly generated Clifford-matchgate circuits are compiled using different strategies: our optimal compiler, a Givens elimination strategy, sort then fix, pyket and Qiskit. In panel (a) we plot the average total gate count for different circuit sizes, and in panel (b) we plot the average number of two-qubit gates. Error bars represent the standard deviation. In both plots, we fit the data to straight lines and show the constant relative improvement achieved by our compiler over the other methods. 3.1.1 Comparison against other…
Figure 4. Example of an optimal synthesis with all-to-all braids. The underlying permu￾tation π = |w˜| is decomposed into its cycle structure, with κ(π) = 3. Sorting these cycles requires 2n−κ(π) = 5 generators, as shown in green. The target contains d−(w) = 2 defective cycles, which require two additional generators for the sign correction. After the permutation has been sorted, the remaining sign defects are paired and removed by r 2 37, as shown in pink. This gives an optimal total length ℓall(w) = 7. For visual clarity, we use right multiplication convention. Finally an optimal synthesis…
Figure 5. Inversion graphs for two permutations in S6. (a) The permutation π has non￾trivial cuts and its inversion graph is disconnected. (b) In contrast, σ has no non-trivial cuts, and its inversion graph is connected. Conversely, suppose that Γσ is disconnected. Consider the connected component containing the value 1, and let c be the maximum value in this component such that [c] is in the component. If c = m, then all vertices belong to the same connected component, in contradiction with the assumption that Γσ is disconnected. Therefore, c < m, and c+1 does not belong to the component.…

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.