quantum gate directory

Gates Groups SDKs GitHub

Group· 9 gates

Matchgate Group

Two-qubit gates that act separately on the even- and odd-parity subspaces with matching determinants: free-fermion evolutions.

Matchgates are the two-qubit gates that act separately on the even- and odd-parity subspaces, with matching determinants. Introduced by Valiant and identified physically as free-fermion evolutions, they are the fermionic counterpart of the Clifford group: rich enough to entangle, structured enough to simulate classically.

$$ G(A, B) = \begin{bmatrix} A_{11} & 0 & 0 & A_{12} \\ 0 & B_{11} & B_{12} & 0 \\ 0 & B_{21} & B_{22} & 0 \\ A_{21} & 0 & 0 & A_{22} \end{bmatrix} $$

with $A, B \in \mathsf{U}(2)$ and $\det A = \det B$.

Here $A$ acts on the even-parity subspace $\{|00\rangle, |11\rangle\}$ and $B$ on the odd-parity subspace $\{|01\rangle, |10\rangle\}$.

Free fermions

Under the Jordan–Wigner transformation, matchgates on neighboring qubits are exactly the evolutions generated by Hamiltonians quadratic in fermionic operators — non-interacting fermions (Terhal and DiVincenzo). Circuits of nearest-neighbor matchgates on a line are classically simulable in polynomial time — the free-fermion analog of the Gottesman–Knill theorem.

The boundary of that simulability is remarkably sharp (Jozsa and Miyake): allow the same gates between non-neighboring qubits — equivalently, add the SWAP — and the circuit family becomes universal for quantum computation.

Membership fine print

  • SWAP is famously not a matchgate ($\det A = 1$ but $\det B = -1$); the fermionic SWAP exists precisely to fix this, paying a $-1$ phase on $|11\rangle$ to satisfy the determinant condition.
  • FSim$(\theta, \phi)$ is a matchgate only at $\phi = 0$ (where it reduces to the XY interaction); the Sycamore gate's $\mathrm{e}^{-i\pi/6}$ phase likewise breaks the determinant condition.
  • $R_{zz}$ fails too: $Z \otimes Z$ is quartic, not quadratic, in Majorana operators — interacting, not free.
  • Single-qubit $z$ rotations, embedded on either qubit, are matchgates; single-qubit $x$ or $y$ rotations are not.

All groups

  • clifford
  • diagonal
  • matchgate
  • number-preserving
  • orthogonal
  • pauli
  • permutation
  • unitary

Edit this page on GitHub

Gates in this group

In the order of the table on the home page; the colour bar is the gate's family.

2 1 $R_{xx}$ xx Rotation 2 1 $R_{yy}$ yy Rotation 2 $i\mathrm{SWAP}$ iSWAP 2 $\sqrt{i\mathrm{SWAP}}$ Square Root iSWAP 2 $\mathrm{fSWAP}$ fSWAP 2 1 $\mathrm{XY}$ XY Interaction 2 $B$ B Gate 2 1 $G_{ij}$ Givens Rotation 2 1 $R_{xx-yy}$ XX−YY Interaction

On the map

How the matchgate group sits among the others: nested regions are subgroups, overlaps are shared gates, and the small labels are one example gate per region.

unitary clifford orthogonal number-preserving diagonal pauli permutation matchgate YXZI HCNOTSWAP ToffoliCSWAPS TCZCCZiSWAP XYfSWAP GivensRy FSimRxRxx

← All groups

gate.directory made by nts $\oplus$ rdls