OctoInform Beta

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

KAK (Cartan) decomposition of U(4): Factoring any W∈U(4)W \in \mathrm{U}(4) into single-qubit gates and a three-parameter nonlocal core

Every two-qubit unitary admits a KAK decomposition.

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, the KAK (Cartan) decomposition separates any two-qubit unitary operation into single-qubit rotations and a canonical entangling interaction. Working in the two-qubit computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle, every matrix in the unitary group U(4)\mathrm{U}(4) factors as a product of single-qubit unitary gates in U(2)\mathrm{U}(2) flanking a three-parameter nonlocal gate generated by the commuting two-qubit Pauli operators X⊗XX \otimes X, Y⊗YY \otimes Y, and Z⊗ZZ \otimes Z.

For two 2×22 \times 2 complex matrices U,V∈ℂ2×2U, V \in \mathbb{C}^{2 \times 2} with entries UjkU_{jk} (j,k∈{0,1}j, k \in \{0, 1\}), the local gate U⊗V∈ℂ4×4U \otimes V \in \mathbb{C}^{4 \times 4} is their Kronecker product in the computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle, given in block form by U⊗V=(U00VU01VU10VU11V).U \otimes V = \begin{pmatrix} U_{00} V & U_{01} V \\ U_{10} V & U_{11} V \end{pmatrix}.(1)✦

For real parameters a,b,c∈ℝa, b, c \in \mathbb{R}, set p=eicp = e^{ic} and q=e−icq = e^{-ic}. The nonlocal core N(a,b,c)∈ℂ4×4N(a, b, c) \in \mathbb{C}^{4 \times 4} is the matrix N(a,b,c)=(pcos⁡(a−b)00ipsin⁡(a−b)0qcos⁡(a+b)iqsin⁡(a+b)00iqsin⁡(a+b)qcos⁡(a+b)0ipsin⁡(a−b)00pcos⁡(a−b)).N(a, b, c) = \begin{pmatrix} p \cos(a - b) & 0 & 0 & i p \sin(a - b) \\ 0 & q \cos(a + b) & i q \sin(a + b) & 0 \\ 0 & i q \sin(a + b) & q \cos(a + b) & 0 \\ i p \sin(a - b) & 0 & 0 & p \cos(a - b) \end{pmatrix}.(2)✦ In the computational basis, the matrix (2) evaluates the entangling exponential exp⁡(i(aX⊗X+bY⊗Y+cZ⊗Z))\exp(i(a X \otimes X + b Y \otimes Y + c Z \otimes Z)).

The claim

Theorem. For every 4×44 \times 4 complex unitary matrix W∈U(4)W \in \mathrm{U}(4), there exist 2×22 \times 2 complex unitary matrices U1,V1,U2,V2∈U(2)U_1, V_1, U_2, V_2 \in \mathrm{U}(2) and real numbers a,b,c∈ℝa, b, c \in \mathbb{R} such that W=(U1⊗V1)N(a,b,c)(U2⊗V2).W = (U_1 \otimes V_1)\, N(a, b, c)\, (U_2 \otimes V_2).(3)✦

What is checked

In the Lean library, the theorem is stated over the unitary groups U(4)\mathrm{U}(4) and U(2)\mathrm{U}(2), the Kronecker-product local gate (1) on ℂ2×2\mathbb{C}^{2 \times 2}, and the explicit three-parameter nonlocal core matrix (2).