The setting
In a globally controlled architecture of qubits arranged on a ring of even length , nearest-neighbor SWAP gates are applied simultaneously across alternating pairs of adjacent sites. Composing the two alternating layers shifts qubits along the ring while preserving sublattice parity. Moving a qubit between two sites of the same parity requires a minimum number of composite layers determined by their separation around the ring, accompanied by an explicit example on an eight-qubit ring.
Sublattices and alternating swap layers
Let be an even natural number, let denote the ring of integers modulo indexing the sites of the ring, and let be the canonical projection modulo . The even sublattice and the odd sublattice are given by (1)
Now assume that is a nonzero even natural number. The even swap layer is the involutive permutation of that exchanges and for every integer .✦ The odd swap layer is the involutive permutation of that exchanges and for every integer .✦
The composite layers and are the permutations of defined by (2) For any permutation of and any natural number , denotes the -fold composition of with itself, with the identity permutation.
The claim
Theorem A. Let be a nonzero even natural number, and let lie in the same sublattice, so that either or . Let satisfy and in , and set . Then (3)✦
Theorem B. On the ring , the even swap layer and the composite layer satisfy (4)✦
What is checked
The routing-cost claim in (3) is stated in the Lean library over a nonzero even natural number , sites in the same sublattice or from (1), and with and in , for the composite layers and of (2) built from the swap layers and . The eight-site example in (4) is stated in the Lean library over for and .