The setting
In a globally controlled quantum architecture on an even ring of qubits, uniform control pulses apply two alternating layers of nearest-neighbor SWAP gates that act simultaneously on disjoint pairs of adjacent sites. These global layers transport qubits around the ring, yet by themselves they generate only a restricted subgroup of permutations. Achieving arbitrary qubit routing requires augmenting the global layers with a fixed number of local SWAP gates, either on two adjacent links of the ring or between the ring and two attached ports forming a keyhole geometry. The question is whether these minimal combinations of global and local swaps generate the full symmetric group on all positions.
Swap layers on the ring
For a set , let denote the symmetric group of all permutations of , and for a subset , let denote the subgroup of generated by . For elements , let denote the transposition exchanging and and fixing every other element of .
For a nonzero even natural number , the ring of qubit positions is the cyclic group . The even swap layer is the involutive permutation defined modulo for every integer by (1): (1)✦ The odd swap layer is the involutive permutation defined modulo for every integer by (2): (2)✦
The keyhole
For a natural number , the keyhole positions form the disjoint union of the ring and a two-element set , given by (3): (3)✦ For each , the ring site is the corresponding element in the first summand of (3), while the two elements of the second summand are port and port .
The port swap and the port swap are the transpositions exchanging ring site with port and ring site with port , respectively, as in (4): (4)
For a nonzero even natural number , the keyhole even layer and the keyhole odd layer extend the ring swap layers to permutations of , denoted by the same symbols , acting on the ring sites via (1) and (2) and fixing both ports as in (5): (5) for every and every .
The claim
Theorem. Let be a nonzero even natural number. For every site , the even and odd swap layers together with the two local link transpositions incident to generate the full symmetric group on , (6)✦ On the keyhole positions , the keyhole even and odd layers together with the port swap and the port swap generate the full symmetric group on , (7)✦
What is checked
The Lean library states (6) for every nonzero even natural number and every site in , generated by the even swap layer , the odd swap layer , and the local link transpositions and . It states (7) for every nonzero even natural number in on the keyhole positions , generated by the keyhole even and odd layers and together with the port swaps and .