The setting
In a globally controlled quantum processor arranged as a ring of qubits, where is a nonzero even natural number, a single global control signal acts uniformly across the array by applying nearest-neighbor SWAP gates in parallel. Alternating between the two ways of pairing adjacent sites around the ring yields two global permutation layers that move qubit states around the array. Single-qubit routing asks whether compositions of these two layers can transport a qubit from any starting site on the ring to any target site.
Alternating swap layers
Let be a nonzero even natural number, and label the qubit sites around the ring by the elements of . Write for the symmetric group of permutations of . Because is even, each element of has a well-defined parity, so pairing adjacent sites produces two involutive permutations.
The even swap layer is the involutive permutation defined for every integer (taken modulo ) by (1): (1)✦
The odd swap layer is the involutive permutation defined for every integer (taken modulo ) by (2): (2)✦
The subgroup generated by and consists of all site permutations obtainable by finite sequences of the two layers.
The claim
Theorem. Let be a nonzero even natural number, and let be any two sites. Then there exists a permutation such that (3)✦
What is checked
In the Lean library, the routing claim (3) is stated over the ring for an arbitrary nonzero even natural number , using the even swap layer in (1), the odd swap layer in (2), and the subgroup of permutations of that they generate.