OctoInform Beta

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

Exact universality of idealized ring and keyhole operations: Alternating swap layers and local control generate all single-qubit and two-qubit gates on even rings and keyholes

Exact universality of idealized ring and keyhole operations.

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

Globally controlled quantum architectures restrict local addressing to one or two fixed sites and rely on global permutation layers to move qubits into and out of the locally controlled region. Two idealized geometries arise on an even ring of NN qubits. In the ring geometry, local single-qubit control acts at a single distinguished site ii, while two-qubit iSWAP\mathrm{iSWAP} gates couple ii to its two neighbors i−1i - 1 and i+1i + 1, supplemented by alternating nearest-neighbor swap layers around the ring. In the keyhole geometry, two locally controlled ports aa and bb are adjoined to the ring, coupled to ring sites 00 and 11 by SWAP\mathrm{SWAP} gates and to each other by an iSWAP\mathrm{iSWAP} gate, while the alternating swap layers act on the ring alone.

Universal circuit execution at the routing level asks whether these idealized operations suffice to synthesize arbitrary local gates anywhere in the device. Concretely, the question is whether the subgroup of register unitaries generated by the idealized operations contains every single-qubit unitary on every site and every two-qubit unitary on every ordered pair of distinct sites, in both the ring and the keyhole geometries.

Register operators and gate embeddings

For a finite qubit index set QQ, the register operators on QQ are the complex matrices indexed by computational basis bitstrings x:Q→{0,1}x : Q \to \{0, 1\}, forming matrices of size 2|Q|×2|Q|2^{|Q|} \times 2^{|Q|}.✦ The unitary register operators form the unitary group U(2|Q|)U(2^{|Q|}).

Given a site q∈Qq \in Q and a 2×22 \times 2 complex matrix UU, the single-qubit gate UqU_q is the register operator that applies UU to qubit qq and the identity to all remaining qubits, reindexed by splitting bitstrings on QQ into the bit value at qq and the restriction to Q\{q}Q \setminus \{q\}.✦ Restricting UU to the single-qubit unitary group U(2)U(2) yields a group homomorphism U↦UqU \mapsto U_q from U(2)U(2) into U(2|Q|)U(2^{|Q|}).✦

For an ordered pair of distinct sites i,j∈Qi, j \in Q, splitting off sites i,ji, j is the bijection sending each bitstring x:Q→{0,1}x : Q \to \{0, 1\} to the pair ((x(i),x(j)),x|Q\{i,j})((x(i), x(j)), x|_{Q \setminus \{i, j\}}) consisting of the bit values at ii and jj together with the restriction of xx to all remaining sites.✦ Given a 4×44 \times 4 complex matrix UU written in the two-qubit computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle, the two-qubit gate UijU_{ij} is the register operator obtained by applying UU to the pair (i,j)(i, j) and the identity to all other qubits, reindexed via the inverse of splitting off ii and jj.✦ Restricting UU to the two-qubit unitary group U(4)U(4) yields a group homomorphism U↦UijU \mapsto U_{ij} from U(4)U(4) into U(2|Q|)U(2^{|Q|}).✦

For a permutation σ\sigma of QQ, the permutation operator PσP_\sigma is the register operator sending each computational basis state |x⟩|x\rangle to |x∘σ−1⟩|x \circ \sigma^{-1}\rangle, moving the state at site kk to site σ(k)\sigma(k).✦ Each PσP_\sigma is unitary✦, and the assignment σ↦Pσ\sigma \mapsto P_\sigma is a group homomorphism from the symmetric group SQS_Q into U(2|Q|)U(2^{|Q|}).✦

The two fixed entangling and routing primitives are the SWAP\mathrm{SWAP} gate (1) and the iSWAP\mathrm{iSWAP} gate (2), written in the basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle: SWAP=(1000001001000001),\mathrm{SWAP} = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix},(1)✦ iSWAP=(100000i00i000001).\mathrm{iSWAP} = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & i & 0 \\ 0 & i & 0 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}.(2)✦ Both SWAP\mathrm{SWAP} and iSWAP\mathrm{iSWAP} belong to U(4)U(4).

Idealized ring and keyhole operations

Let NN be a nonzero even natural number, and identify the NN ring sites with ℤ/Nℤ\mathbb{Z}/N\mathbb{Z}. The even swap layer πg\pi_g is the involutive permutation of ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} exchanging 2j2j and 2j+12j + 1 for every jj✦, and the odd swap layer πh\pi_h is the involutive permutation exchanging 2j−12j - 1 and 2j2j for every jj.✦ Because NN is a nonzero even integer, every site i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z} satisfies i−1≠ii - 1 \neq i and i≠i+1i \neq i + 1, so the two-qubit gates iSWAPi−1,i\mathrm{iSWAP}_{i-1,i} and iSWAPi,i+1\mathrm{iSWAP}_{i,i+1} are well-defined. The idealized ring operations at a distinguished site i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z} form the subset 𝒢ring(N,i)⊆U(2N)\mathcal{G}_{\mathrm{ring}}(N, i) \subseteq U(2^N) given by (3): 𝒢ring(N,i)={Pπg,Pπh,iSWAPi−1,i,iSWAPi,i+1}∪{Ui:U∈U(2)}.\begin{aligned} \mathcal{G}_{\mathrm{ring}}(N, i) ={} &\{P_{\pi_g}, P_{\pi_h}, \mathrm{iSWAP}_{i-1,i}, \mathrm{iSWAP}_{i,i+1}\} \\ &\cup \{U_i : U \in U(2)\}. \end{aligned}(3)✦

For a natural number NN, the keyhole positions form the disjoint union KN=(ℤ/Nℤ)⊔{a,b}K_N = (\mathbb{Z}/N\mathbb{Z}) \sqcup \{a, b\}, consisting of the ring site ii for each i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z} and two distinct ports a≠ba \neq b.✦ When NN is a nonzero even natural number, the keyhole even layer πgK\pi_g^K and the keyhole odd layer πhK\pi_h^K are the permutations of KNK_N acting as πg\pi_g and πh\pi_h on the ring sites and as the identity on {a,b}\{a, b\}. The idealized keyhole operations form the subset 𝒢key(N)⊆U(2N+2)\mathcal{G}_{\mathrm{key}}(N) \subseteq U(2^{N+2}) given by (4): 𝒢key(N)={PπgK,PπhK,SWAP0,a,SWAP1,b,iSWAPa,b}∪{Ua:U∈U(2)}∪{Ub:U∈U(2)}.\begin{aligned} \mathcal{G}_{\mathrm{key}}(N) ={} &\{P_{\pi_g^K}, P_{\pi_h^K}, \mathrm{SWAP}_{0,a}, \mathrm{SWAP}_{1,b}, \mathrm{iSWAP}_{a,b}\} \\ &\cup \{U_a : U \in U(2)\} \cup \{U_b : U \in U(2)\}. \end{aligned}(4)✦ For any subset SS of a unitary group, ⟨S⟩\langle S \rangle denotes the subgroup generated by SS.

The claim

Theorem. Let NN be a nonzero even natural number. For any distinguished site i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z}, every site q∈ℤ/Nℤq \in \mathbb{Z}/N\mathbb{Z}, every U∈U(2)U \in U(2), every ordered pair of distinct sites x,y∈ℤ/Nℤx, y \in \mathbb{Z}/N\mathbb{Z}, and every W∈U(4)W \in U(4), Uq∈⟨𝒢ring(N,i)⟩,Wxy∈⟨𝒢ring(N,i)⟩.\begin{aligned} U_q &\in \langle \mathcal{G}_{\mathrm{ring}}(N, i) \rangle, \\ W_{xy} &\in \langle \mathcal{G}_{\mathrm{ring}}(N, i) \rangle. \end{aligned}(5)✦ On the keyhole positions KNK_N, for every site q∈KNq \in K_N, every U∈U(2)U \in U(2), every ordered pair of distinct sites x,y∈KNx, y \in K_N, and every W∈U(4)W \in U(4), Uq∈⟨𝒢key(N)⟩,Wxy∈⟨𝒢key(N)⟩.\begin{aligned} U_q &\in \langle \mathcal{G}_{\mathrm{key}}(N) \rangle, \\ W_{xy} &\in \langle \mathcal{G}_{\mathrm{key}}(N) \rangle. \end{aligned}(6)✦

What is checked

The universality claims (5) and (6) are stated over any nonzero even natural number NN and any distinguished ring site i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z}, for the subgroups generated by 𝒢ring(N,i)\mathcal{G}_{\mathrm{ring}}(N, i) in U(2N)U(2^N) and by 𝒢key(N)\mathcal{G}_{\mathrm{key}}(N) in U(2N+2)U(2^{N+2}), built from the register gate embeddings UqU_q and WxyW_{xy}, the permutation operators PσP_\sigma, the alternating swap layers πg\pi_g and πh\pi_h and their keyhole extensions πgK\pi_g^K and πhK\pi_h^K, and the two-qubit gates SWAP\mathrm{SWAP} and iSWAP\mathrm{iSWAP}. For these constructions, the Lean library proves that SWAP\mathrm{SWAP}, iSWAP\mathrm{iSWAP}, and every permutation operator PσP_\sigma are unitary, that the embeddings U↦UqU \mapsto U_q, W↦WxyW \mapsto W_{xy}, and σ↦Pσ\sigma \mapsto P_\sigma are group homomorphisms into the register unitary group, that i−1≠ii - 1 \neq i and i≠i+1i \neq i + 1 in ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} whenever NN is nonzero and even, and that a≠ba \neq b in KNK_N✦.