OctoInform Beta

the paper · §II. Routing and universality on the ring and keyhole · §II.A, (S24)-(S25)

Equation (S25): Inverse relation between ring transport layers: The composite swap-layer permutation πR=πh∘πg\pi_R = \pi_h \circ \pi_g equals the inverse of πL=πg∘πh\pi_L = \pi_g \circ \pi_h on an even ring ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}

Inverse relation between composite ring transport layers.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

On a one-dimensional ring of qubits with an even number of sites, global nearest-neighbor SWAP operations partition into two alternating layers that each pair every site with one of its two neighbors. Composing these two layers in either order produces a permutation of the ring sites that transports qubits around the array.

Alternating swap layers

Let NN be a positive even integer, and index the sites of the ring by the cyclic group ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}. The even swap layer πg\pi_g is the involutive permutation of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} that exchanges each even site 2kmod⁡N2k \bmod N with the adjacent site (2k+1)mod⁡N(2k + 1) \bmod N.✦ The odd swap layer πh\pi_h is the involutive permutation of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} that exchanges each odd site (2k+1)mod⁡N(2k + 1) \bmod N with the adjacent site (2k+2)mod⁡N(2k + 2) \bmod N.✦

Composing πg\pi_g and πh\pi_h in the two possible orders defines the composite transport permutations πL\pi_L and πR\pi_R of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} by πL=πg∘πh,πR=πh∘πg.\begin{aligned} \pi_L &= \pi_g \circ \pi_h, \\ \pi_R &= \pi_h \circ \pi_g. \end{aligned}(1)

The claim

Lemma. For every positive even integer NN, the composite transport permutations πL\pi_L and πR\pi_R on ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} satisfy πR=πL−1.\pi_R = \pi_L^{-1}.(2)✦

What is checked

In the Lean library, the theorem is stated for every positive even integer NN over the permutation group of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}, with the even and odd swap layers πg\pi_g and πh\pi_h defined as involutive permutations and their composites πL\pi_L and πR\pi_R defined by (1).