OctoInform Beta

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

Universality up to global phase of physical ring and keyhole operations: Phased swap layers, iSWAP\text{iSWAP} gates, and rotations generate every single-qubit and two-qubit gate up to a unit-modulus global phase

Physical universality up to phase on rings and keyholes.

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, nearest-neighbor exchange interactions act simultaneously across an array of qubits, avoiding individual control lines to every site. On an even ring of NN qubits, alternating global swap layers route qubits around the ring to a single locally addressed control site, where single-qubit rotations and nearest-neighbor iSWAP\text{iSWAP} gates act. In the keyhole geometry, the ring is augmented by two port qubits, aa and bb, which couple to two adjacent ring sites by SWAP\text{SWAP} gates and to each other by an iSWAP\text{iSWAP} gate, with single-qubit rotations applied only at the two ports.

Physical implementations of global swap layers and port-coupling swaps can carry arbitrary unit-modulus global phases. The question is whether these phased physical operations still generate arbitrary single-qubit and two-qubit gates on any site or pair of distinct sites up to a unit-modulus global phase, in both the ring and keyhole geometries.

Elementary gates

The Pauli matrices σx\sigma_x, σy\sigma_y, and σz\sigma_z are the 2×22 \times 2 complex matrices given in (1): σx=(0110),σy=(0−ii0),σz=(100−1).\begin{aligned} \sigma_x &= \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \\ \sigma_y &= \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \\ \sigma_z &= \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}. \end{aligned}(1)

For a real vector n=(n1,n2,n3)∈ℝ3n = (n_1, n_2, n_3) \in \mathbb{R}^3 and a real angle θ∈ℝ\theta \in \mathbb{R}, the Pauli dot product n⋅σn \cdot \sigma and the single-qubit rotation Rn(θ)R_n(\theta) are the 2×22 \times 2 complex matrices defined in (2): n⋅σ=n1σx+n2σy+n3σz,Rn(θ)=cos⁡(θ/2)I−isin⁡(θ/2)(n⋅σ),\begin{aligned} n \cdot \sigma &= n_1 \sigma_x + n_2 \sigma_y + n_3 \sigma_z, \\ R_n(\theta) &= \cos(\theta / 2) I - i \sin(\theta / 2)\, (n \cdot \sigma), \end{aligned}(2) where II is the 2×22 \times 2 identity matrix. Writing S2={n∈ℝ3:n12+n22+n32=1}S^2 = \{ n \in \mathbb{R}^3 : n_1^2 + n_2^2 + n_3^2 = 1 \} for the unit sphere in ℝ3\mathbb{R}^3, every rotation Rn(θ)R_n(\theta) with n∈S2n \in S^2 belongs to the unitary group U(2)U(2) of 2×22 \times 2 complex unitary matrices.✦

In the two-qubit computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle, the SWAP\text{SWAP} gate exchanges the two qubits, while the iSWAP\text{iSWAP} gate fixes |00⟩|00\rangle and |11⟩|11\rangle and exchanges |01⟩|01\rangle and |10⟩|10\rangle with a phase factor of ii, as given in (3): SWAP=(1000001001000001),iSWAP=(100000i00i000001).\begin{aligned} \text{SWAP} &= \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}, \\ \text{iSWAP} &= \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & i & 0 \\ 0 & i & 0 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}. \end{aligned}(3) Both SWAP\text{SWAP} and iSWAP\text{iSWAP} lie in the two-qubit unitary group U(4)U(4).

Register operators

Let QQ be a finite set of qubit sites. The register operators on QQ are the complex matrices indexed by computational basis bitstrings x:Q→{0,1}x : Q \to \{0, 1\}, and the unitary register operators form the group U(Q)U(Q).✦ For any subset 𝒪⊆U(Q)\mathcal{O} \subseteq U(Q), we denote by ⟨𝒪⟩\langle \mathcal{O} \rangle the subgroup of U(Q)U(Q) generated by 𝒪\mathcal{O}.

For 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 obtained by splitting each bitstring xx into its value x(q)x(q) and its restriction to Q\{q}Q \setminus \{q\}, applying UU on qubit qq tensored with the identity on the remaining sites, and reindexing back to {0,1}Q\{0, 1\}^Q.✦ Restricting to U∈U(2)U \in U(2) defines a group homomorphism U↦UqU \mapsto U_q from U(2)U(2) into U(Q)U(Q).✦

For distinct sites i,j∈Qi, j \in Q, splitting off sites ii and jj is the bijection between {0,1}Q\{0, 1\}^Q and ({0,1}×{0,1})×{0,1}Q\{i,j}(\{0, 1\} \times \{0, 1\}) \times \{0, 1\}^{Q \setminus \{i, j\}} that sends xx to ((x(i),x(j)),x|Q\{i,j})((x(i), x(j)), x|_{Q \setminus \{i, j\}}).✦ For a 4×44 \times 4 complex matrix WW, the two-qubit gate WijW_{ij} is the register operator obtained by applying WW to the ordered pair (i,j)(i, j) in the computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle, tensoring with the identity on Q\{i,j}Q \setminus \{i, j\}, and reindexing via the inverse of this bijection.✦ Restricting to W∈U(4)W \in U(4) defines a group homomorphism W↦WijW \mapsto W_{ij} from U(4)U(4) into U(Q)U(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, which moves the state at site kk to site σ(k)\sigma(k).✦ Every PσP_\sigma is unitary✦, and σ↦Pσ\sigma \mapsto P_\sigma is a group homomorphism from the symmetric group on QQ into U(Q)U(Q)✦. For a complex phase c∈ℂc \in \mathbb{C} with |c|=1|c| = 1 and a unitary register operator V∈U(Q)V \in U(Q), global phase multiplication produces the unitary register operator cV∈U(Q)c V \in U(Q).✦

Physical operations

Let NN be a nonzero even natural number. On the ring ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} of NN qubit sites, the even swap layer πg\pi_g is the involutive permutation that exchanges 2j2j and 2j+12j + 1 for every jj✦, and the odd swap layer πh\pi_h is the involutive permutation that exchanges 2j−12j - 1 and 2j2j for every jj✦. Because NN is nonzero and even, 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.

For a control site i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z} and unit-modulus phases cg,ch∈ℂc_g, c_h \in \mathbb{C} with |cg|=|ch|=1|c_g| = |c_h| = 1, the set of physical ring operations 𝒪ring(i,cg,ch)⊆U(ℤ/Nℤ)\mathcal{O}_{\mathrm{ring}}(i, c_g, c_h) \subseteq U(\mathbb{Z}/N\mathbb{Z}) is defined by (4): 𝒪ring(i,cg,ch)={cgPπg,chPπh,iSWAPi−1,i,iSWAPi,i+1}∪{Rn(θ)i:n∈S2,θ∈ℝ}.\begin{aligned} \mathcal{O}_{\mathrm{ring}}(i, c_g, c_h) = {}& \{ c_g P_{\pi_g},\; c_h P_{\pi_h},\; \text{iSWAP}_{i-1, i},\; \text{iSWAP}_{i, i+1} \} \\ &\cup \{ R_n(\theta)_i : n \in S^2,\; \theta \in \mathbb{R} \}. \end{aligned}(4)✦

For the same nonzero even natural number NN, the keyhole positions form the disjoint union KN=(ℤ/Nℤ)⊔{a,b}K_N = (\mathbb{Z}/N\mathbb{Z}) \sqcup \{a, b\} of the NN ring sites and two distinct ports aa and bb (a≠ba \neq b).✦ Each element k∈ℤ/Nℤk \in \mathbb{Z}/N\mathbb{Z} identifies the corresponding ring site in KNK_N✦, and in particular ring sites 00 and 11 are distinct from aa and bb. The keyhole even layer πgK\pi_g^K and keyhole odd layer πhK\pi_h^K are the permutations of KNK_N that act as πg\pi_g and πh\pi_h, respectively, on the ring sites ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} and as the identity on {a,b}\{a, b\}.

For unit-modulus phases cg,ch,ca,cb∈ℂc_g, c_h, c_a, c_b \in \mathbb{C} with |cg|=|ch|=|ca|=|cb|=1|c_g| = |c_h| = |c_a| = |c_b| = 1, the set of physical keyhole operations 𝒪key(cg,ch,ca,cb)⊆U(KN)\mathcal{O}_{\mathrm{key}}(c_g, c_h, c_a, c_b) \subseteq U(K_N) is defined by (5): 𝒪key(cg,ch,ca,cb)={cgPπgK,chPπhK,caSWAP0,a,cbSWAP1,b,iSWAPa,b}∪{Rn(θ)a:n∈S2,θ∈ℝ}∪{Rn(θ)b:n∈S2,θ∈ℝ}.\begin{aligned} \mathcal{O}_{\mathrm{key}}(c_g, c_h, c_a, c_b) = {}& \{ c_g P_{\pi_g^K},\; c_h P_{\pi_h^K},\; c_a \text{SWAP}_{0, a},\; c_b \text{SWAP}_{1, b},\; \text{iSWAP}_{a, b} \} \\ &\cup \{ R_n(\theta)_a : n \in S^2,\; \theta \in \mathbb{R} \} \\ &\cup \{ R_n(\theta)_b : n \in S^2,\; \theta \in \mathbb{R} \}. \end{aligned}(5)✦

The claim

Theorem. Let NN be a nonzero even natural number.

  1. Let i∈ℤ/Nℤi \in \mathbb{Z}/N\mathbb{Z}, and let cg,ch∈ℂc_g, c_h \in \mathbb{C} satisfy |cg|=|ch|=1|c_g| = |c_h| = 1. For every site q∈ℤ/Nℤq \in \mathbb{Z}/N\mathbb{Z} and every U∈U(2)U \in U(2), and for every pair of distinct sites x,y∈ℤ/Nℤx, y \in \mathbb{Z}/N\mathbb{Z} and every W∈U(4)W \in U(4), there exist z,z′∈ℂz, z' \in \mathbb{C} with |z|=|z′|=1|z| = |z'| = 1 and t,t′∈⟨𝒪ring(i,cg,ch)⟩t, t' \in \langle \mathcal{O}_{\mathrm{ring}}(i, c_g, c_h) \rangle satisfying (6): t=zUq,t′=z′Wxy.\begin{aligned} t &= z U_q, \\ t' &= z' W_{xy}. \end{aligned}(6)✦

  2. Let cg,ch,ca,cb∈ℂc_g, c_h, c_a, c_b \in \mathbb{C} satisfy |cg|=|ch|=|ca|=|cb|=1|c_g| = |c_h| = |c_a| = |c_b| = 1. For every position q∈KNq \in K_N and every U∈U(2)U \in U(2), and for every pair of distinct positions x,y∈KNx, y \in K_N and every W∈U(4)W \in U(4), there exist z,z′∈ℂz, z' \in \mathbb{C} with |z|=|z′|=1|z| = |z'| = 1 and t,t′∈⟨𝒪key(cg,ch,ca,cb)⟩t, t' \in \langle \mathcal{O}_{\mathrm{key}}(c_g, c_h, c_a, c_b) \rangle satisfying (7): t=zUq,t′=z′Wxy.\begin{aligned} t &= z U_q, \\ t' &= z' W_{xy}. \end{aligned}(7)✦

What is checked

The theorem is stated in the Lean library over the unitary register operators on a nonzero even ring ℤ/Nℤ\mathbb{Z}/N\mathbb{Z} and on the keyhole positions KNK_N, for the subgroups generated by the physical ring operations 𝒪ring(i,cg,ch)\mathcal{O}_{\mathrm{ring}}(i, c_g, c_h) and the physical keyhole operations 𝒪key(cg,ch,ca,cb)\mathcal{O}_{\mathrm{key}}(c_g, c_h, c_a, c_b) with arbitrary unit-modulus global phases. For these constructions, the Lean library establishes that SWAP\text{SWAP}, iSWAP\text{iSWAP}, and every permutation operator PσP_\sigma are unitary, that single-qubit gates, two-qubit gates, and permutations define group homomorphisms into U(Q)U(Q), that every site ii on a nonzero even ring satisfies i−1≠ii - 1 \neq i and i≠i+1i \neq i + 1, and that the two keyhole ports aa and bb are distinct.