OctoInform Beta

the paper · §II. Routing and universality on the ring and keyhole · §II.B, after (S28)

Non-commutation of port swaps with global ring motion: For every nonzero even NN, the port aa swap πa\pi_a and the keyhole even swap layer π̃g\tilde{\pi}_g do not commute

Port swap does not commute with the even swap layer.

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

In a globally controlled qubit architecture built on an even ring of NN sites, qubit routing combines alternating nearest-neighbor swap layers on the ring with local swaps between the ring and auxiliary port sites. Adjoining two port sites to the ring produces the keyhole geometry. A basic algebraic question for composing routing sequences in this geometry is whether a local port swap commutes with the global even swap layer on the ring.

Keyhole geometry and swap layers

Fix a nonzero even natural number NN, and label the sites of the NN-qubit ring by ℤ/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 2j2j and 2j+12j + 1 modulo NN for every integer jj: πg(2j)=2j+1,πg(2j+1)=2j.\begin{aligned} \pi_g(2j) &= 2j + 1, \\ \pi_g(2j + 1) &= 2j. \end{aligned}(1)✦

The keyhole position set KNK_N is the disjoint union of the ring ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} and a two-element set {0,1}\{0, 1\} of port sites, KN=(ℤ/Nℤ)⊔{0,1}.K_N = (\mathbb{Z}/N\mathbb{Z}) \sqcup \{0, 1\}.(2)✦ Each element i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z} gives a ring site ri∈KNr_i \in K_N in the left summand of (2)✦, and port a∈KNa \in K_N is the port site indexed by 00 in the right summand.✦

The port aa swap πa\pi_a is the transposition on KNK_N that exchanges ring site r0r_0 with port aa and fixes every other site of KNK_N: πa(x)={aif x=r0,r0if x=a,xotherwise.\pi_a(x) = \begin{cases} a & \text{if } x = r_0, \\ r_0 & \text{if } x = a, \\ x & \text{otherwise.} \end{cases}(3)✦ The keyhole even swap layer π̃g\tilde{\pi}_g is the permutation of KNK_N that acts as the even swap layer πg\pi_g from (1) on the ring sites and fixes both port sites: π̃g(x)={rπg(i)if x=ri for i∈ℤ/Nℤ,xif x is a port site.\tilde{\pi}_g(x) = \begin{cases} r_{\pi_g(i)} & \text{if } x = r_i \text{ for } i \in \mathbb{Z}/N\mathbb{Z}, \\ x & \text{if } x \text{ is a port site.} \end{cases}(4)✦

The claim

Theorem. For every nonzero even natural number NN, the port aa swap πa\pi_a of (3) and the keyhole even swap layer π̃g\tilde{\pi}_g of (4) do not commute as permutations of the keyhole position set KNK_N: πa∘π̃g≠π̃g∘πa.\pi_a \circ \tilde{\pi}_g \neq \tilde{\pi}_g \circ \pi_a.(5)✦

In the paper, the result reads: the port swaps πa\pi_a and πb\pi_b commute with the global ring motion, where π̃g\tilde{\pi}_g stands for the global even swap layer on the ring. The theorem refutes that claim by showing that πa\pi_a and π̃g\tilde{\pi}_g fail to commute.

What is checked

The Lean library states the non-commutation relation (5) over the keyhole position set KNK_N for an arbitrary nonzero even natural number NN, using the ring site embedding rir_i, port aa, the port aa swap πa\pi_a, the even swap layer πg\pi_g on ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}, and the keyhole even swap layer π̃g\tilde{\pi}_g.