OctoInform Beta

the paper · §II. Routing and universality on the ring and keyhole · §II.A, Theorem 1

Theorem 1: Single-qubit routing on the ring: For a nonzero even NN, the subgroup generated by πg\pi_g and πh\pi_h maps any site of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} to any target site

Alternating swap layers act transitively on an even ring.

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 processor arranged as a ring of NN qubits, where NN is a nonzero even natural number, a single global control signal acts uniformly across the array by applying nearest-neighbor SWAP gates in parallel. Alternating between the two ways of pairing adjacent sites around the ring yields two global permutation layers that move qubit states around the array. Single-qubit routing asks whether compositions of these two layers can transport a qubit from any starting site on the ring to any target site.

Alternating swap layers

Let NN be a nonzero even natural number, and label the NN qubit sites around the ring by the elements of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}. Write Sym⁡(ℤ/Nℤ)\operatorname{Sym}(\mathbb{Z}/N\mathbb{Z}) for the symmetric group of permutations of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}. Because NN is even, each element of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} has a well-defined parity, so pairing adjacent sites produces two involutive permutations.

The even swap layer πg∈Sym⁡(ℤ/Nℤ)\pi_g \in \operatorname{Sym}(\mathbb{Z}/N\mathbb{Z}) is the involutive permutation defined for every integer jj (taken modulo NN) 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 for every integer jj (taken modulo NN) 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 subgroup ⟨πg,πh⟩≤Sym⁡(ℤ/Nℤ)\langle \pi_g, \pi_h \rangle \le \operatorname{Sym}(\mathbb{Z}/N\mathbb{Z}) generated by πg\pi_g and πh\pi_h consists of all site permutations obtainable by finite sequences of the two layers.

The claim

Theorem. Let NN be a nonzero even natural number, and let p,t∈ℤ/Nℤp, t \in \mathbb{Z}/N\mathbb{Z} be any two sites. Then there exists a permutation σ∈⟨πg,πh⟩\sigma \in \langle \pi_g, \pi_h \rangle such that σ(p)=t.\sigma(p) = t.(3)✦

What is checked

In the Lean library, the routing claim (3) is stated over the ring ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} for an arbitrary nonzero even natural number NN, using the even swap layer πg\pi_g in (1), the odd swap layer πh\pi_h in (2), and the subgroup ⟨πg,πh⟩\langle \pi_g, \pi_h \rangle of permutations of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} that they generate.