OctoInform Beta

the paper · §I. Single-qubit gates, XY interaction, and iSWAP · §I

Two-qubit universality of local gates and iSWAP: Every element of U(4)U(4) lies in the subgroup generated by tensor products U⊗VU \otimes V of single-qubit unitaries and the iSWAP\text{iSWAP} gate

Single-qubit gates and iSWAP generate all two-qubit unitaries.

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 quantum circuit synthesis, a gate set is universal on two qubits when finite products of its gates and their inverses realize every operation in the two-qubit unitary group U(4)U(4). Because single-qubit gates acting independently on each qubit cannot generate entanglement, universality on two qubits requires adjoining an entangling two-qubit gate. Here the entangling primitive is the iSWAP\text{iSWAP} gate, and the question is whether all single-qubit product gates together with iSWAP\text{iSWAP} generate U(4)U(4).

The generating set

Write U(2)U(2) for the group of 2×22 \times 2 complex unitary matrices and U(4)U(4) for the group of 4×44 \times 4 complex unitary matrices, indexed in the two-qubit computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle. The iSWAP\text{iSWAP} gate is the 4×44 \times 4 complex unitary matrix that fixes |00⟩|00\rangle and |11⟩|11\rangle and swaps |01⟩|01\rangle and |10⟩|10\rangle with a phase factor of ii, given in the computational basis by (1): iSWAP=(100000i00i000001).\text{iSWAP} = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & i & 0 \\ 0 & i & 0 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}.(1)✦

For single-qubit unitaries U,V∈U(2)U, V \in U(2), their Kronecker product U⊗VU \otimes V in the same computational basis lies in U(4)U(4). The set 𝒢⊆U(4)\mathcal{G} \subseteq U(4) of local and iSWAP\text{iSWAP} generators consists of all single-qubit product gates together with iSWAP\text{iSWAP}, given by (2): 𝒢={U⊗V:U,V∈U(2)}∪{iSWAP}.\mathcal{G} = \{U \otimes V : U, V \in U(2)\} \cup \{\text{iSWAP}\}.(2)✦ The subgroup of U(4)U(4) generated by 𝒢\mathcal{G}, denoted ⟨𝒢⟩\langle \mathcal{G} \rangle, is the smallest subgroup of U(4)U(4) containing 𝒢\mathcal{G}.

The claim

Theorem. For every two-qubit unitary matrix W∈U(4)W \in U(4), W∈⟨𝒢⟩.W \in \langle \mathcal{G} \rangle.(3)✦

What is checked

In the Lean library, the membership claim (3) is stated over the two-qubit unitary group U(4)U(4) and the subgroup ⟨𝒢⟩\langle \mathcal{G} \rangle generated by the set 𝒢\mathcal{G} in (2), built from Kronecker products U⊗VU \otimes V of single-qubit unitaries U,V∈U(2)U, V \in U(2) and the iSWAP\text{iSWAP} matrix in (1).