OctoInform Beta

the paper · §II. Routing and universality on the ring and keyhole · §II.B

Full symmetric group generation on the ring and keyhole: Alternating SWAP layers with local link or port transpositions generate all permutations of the ring ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} and the keyhole

Symmetric group generation on the ring and keyhole.

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 quantum architecture on an even ring of NN 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 XX, let Sym⁡(X)\operatorname{Sym}(X) denote the symmetric group of all permutations of XX, and for a subset S⊆Sym⁡(X)S \subseteq \operatorname{Sym}(X), let ⟨S⟩\langle S \rangle denote the subgroup of Sym⁡(X)\operatorname{Sym}(X) generated by SS. For elements u,v∈Xu, v \in X, let τu,v∈Sym⁡(X)\tau_{u,v} \in \operatorname{Sym}(X) denote the transposition exchanging uu and vv and fixing every other element of XX.

For a nonzero even natural number NN, the ring of qubit positions is the cyclic group ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}. The even swap layer πg∈Sym⁡(ℤ/Nℤ)\pi_g \in \operatorname{Sym}(\mathbb{Z}/N\mathbb{Z}) is the involutive permutation defined modulo NN for every integer jj by (1): πg(2j)=2j+1,πg(2j+1)=2j.\begin{aligned} \pi_g(2j) &= 2j + 1, \\ \pi_g(2j + 1) &= 2j. \end{aligned}(1)✦ The odd swap layer πh∈Sym⁡(ℤ/Nℤ)\pi_h \in \operatorname{Sym}(\mathbb{Z}/N\mathbb{Z}) is the involutive permutation defined modulo NN for every integer jj by (2): πh(2j−1)=2j,πh(2j)=2j−1.\begin{aligned} \pi_h(2j - 1) &= 2j, \\ \pi_h(2j) &= 2j - 1. \end{aligned}(2)✦

The keyhole

For a natural number NN, the keyhole positions KNK_N form the disjoint union of the ring ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} and a two-element set {a,b}\{a, b\}, given by (3): KN=(ℤ/Nℤ)⊔{a,b}.K_N = (\mathbb{Z}/N\mathbb{Z}) \sqcup \{a, b\}.(3)✦ For each i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z}, the ring site ii is the corresponding element ri∈KNr_i \in K_N in the first summand of (3), while the two elements of the second summand are port aa and port bb.

The port aa swap πa∈Sym⁡(KN)\pi_a \in \operatorname{Sym}(K_N) and the port bb swap πb∈Sym⁡(KN)\pi_b \in \operatorname{Sym}(K_N) are the transpositions exchanging ring site 00 with port aa and ring site 11 with port bb, respectively, as in (4): πa=τr0,a,πb=τr1,b.\begin{aligned} \pi_a &= \tau_{r_0, a}, \\ \pi_b &= \tau_{r_1, b}. \end{aligned}(4)

For a nonzero even natural number NN, the keyhole even layer and the keyhole odd layer extend the ring swap layers to permutations of KNK_N, denoted by the same symbols πg,πh∈Sym⁡(KN)\pi_g, \pi_h \in \operatorname{Sym}(K_N), acting on the ring sites via (1) and (2) and fixing both ports as in (5): πg(ri)=rπg(i),πh(ri)=rπh(i),πg(p)=p,πh(p)=p\begin{aligned} \pi_g(r_i) &= r_{\pi_g(i)}, \\ \pi_h(r_i) &= r_{\pi_h(i)}, \\ \pi_g(p) &= p, \\ \pi_h(p) &= p \end{aligned}(5) for every i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z} and every p∈{a,b}p \in \{a, b\}.

The claim

Theorem. Let NN be a nonzero even natural number. For every site i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z}, the even and odd swap layers together with the two local link transpositions incident to ii generate the full symmetric group on ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}, ⟨πg,πh,τi−1,i,τi,i+1⟩=Sym⁡(ℤ/Nℤ).\langle \pi_g, \pi_h, \tau_{i-1,i}, \tau_{i,i+1} \rangle = \operatorname{Sym}(\mathbb{Z}/N\mathbb{Z}).(6)✦ On the keyhole positions KNK_N, the keyhole even and odd layers together with the port aa swap and the port bb swap generate the full symmetric group on KNK_N, ⟨πg,πh,πa,πb⟩=Sym⁡(KN).\langle \pi_g, \pi_h, \pi_a, \pi_b \rangle = \operatorname{Sym}(K_N).(7)✦

What is checked

The Lean library states (6) for every nonzero even natural number NN and every site i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z} in Sym⁡(ℤ/Nℤ)\operatorname{Sym}(\mathbb{Z}/N\mathbb{Z}), generated by the even swap layer πg\pi_g, the odd swap layer πh\pi_h, and the local link transpositions τi−1,i\tau_{i-1,i} and τi,i+1\tau_{i,i+1}. It states (7) for every nonzero even natural number NN in Sym⁡(KN)\operatorname{Sym}(K_N) on the keyhole positions KNK_N, generated by the keyhole even and odd layers πg\pi_g and πh\pi_h together with the port swaps πa\pi_a and πb\pi_b.