Skip to main content
KetQat

Appearance

Proof · advanced

Proof of the two-qubit Cartan decomposition

In the magic basis, local gates become real orthogonal matrices and the nonlocal core becomes diagonal; the decomposition then reduces to simultaneously diagonalising the real and imaginary parts of a symmetric unitary.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Magic basis. Let MM be the unitary whose columns are ∣Φ+⟩, i∣Φ−⟩, i∣Ψ+⟩, ∣Ψ−⟩\ket{\Phi^+},\ i\ket{\Phi^-},\ i\ket{\Psi^+},\ \ket{\Psi^-}, with the usual Bell states. We use one fact, proved by Vatan and Williams (see also Kraus and Cirac): K↦M†KMK \mapsto M\dagg K M maps SU(2)⊗SU(2)SU(2)\otimes SU(2) onto SO(4)SO(4). The second fact is a direct check: each Bell state is a joint eigenvector of XXXX, YYYY, ZZZZ, with eigenvalue vectors (over Φ+,Φ−,Ψ+,Ψ−\Phi^+, \Phi^-, \Psi^+, \Psi^-)

XX:(1,−1,1,−1),YY:(−1,1,1,−1),ZZ:(1,1,−1,−1),XX: (1, -1, 1, -1),\quad YY: (-1, 1, 1, -1),\quad ZZ: (1, 1, -1, -1),

and the phases ii in MM do not change eigenvectors. Together with I:(1,1,1,1)I: (1,1,1,1) these are four mutually orthogonal vectors, so every diagonal matrix in the magic basis is a real linear combination of I,XX,YY,ZZI, XX, YY, ZZ when its entries are real, and every diagonal unitary is exp⁡ ⁣(i(a0I+aXX+bYY+cZZ))\exp\!\big(i(a_0 I + a XX + b YY + c ZZ)\big) for real a0,a,b,ca_0, a, b, c.

Step 1. Remove a phase: U=eiγ0U′U = e^{i\gamma_0} U' with U′∈SU(4)U' \in SU(4). Put V=M†U′M∈SU(4)V = M\dagg U' M \in SU(4) and W=VTVW = V^{T} V. Then WW is unitary and symmetric.

Step 2. Write W=A+iBW = A + iB with A,BA, B real. Symmetry of WW makes A,BA, B symmetric, and W†=W‾T=W‾W\dagg = \overline{W}^{T} = \overline{W}. Unitarity gives I=WW‾=(A+iB)(A−iB)=A2+B2+i(BA−AB)I = W\overline{W} = (A + iB)(A - iB) = A^2 + B^2 + i(BA - AB), so AB=BAAB = BA. Two commuting real symmetric matrices are diagonalised by one real orthogonal matrix OO; replacing a column of OO by its negative if necessary, O∈SO(4)O \in SO(4). So W=ODOTW = O D O^{T} with DD diagonal, and DD is unitary because WW is.

Step 3. Choose a diagonal FF with F2=DF^2 = D. Then (det⁡F)2=det⁡D=det⁡W=(det⁡V)2=1(\det F)^2 = \det D = \det W = (\det V)^2 = 1; if det⁡F=−1\det F = -1, negate one diagonal entry of FF, so det⁡F=1\det F = 1. Define Q=VOF−1Q = V O F^{-1}. It is unitary, and

QTQ=F−1OTVTVOF−1=F−1OTWOF−1=F−1DF−1=I.Q^{T} Q = F^{-1} O^{T} V^{T} V O F^{-1} = F^{-1} O^{T} W O F^{-1} = F^{-1} D F^{-1} = I .

Hence QT=Q−1=Q†Q^{T} = Q^{-1} = Q\dagg, so Q‾=Q\overline{Q} = Q: QQ is real orthogonal, with det⁡Q=det⁡Vdet⁡O/det⁡F=1\det Q = \det V \det O / \det F = 1, i.e. Q∈SO(4)Q \in SO(4).

Step 4. V=QFOTV = Q F O^{T}, so U′=(MQM†)(MFM†)(MOTM†)U' = (M Q M\dagg)(M F M\dagg)(M O^{T} M\dagg). By the first fact the outer factors are A1⊗A2A_1 \otimes A_2 and B1⊗B2B_1 \otimes B_2 with Ai,Bi∈SU(2)A_i, B_i \in SU(2). The middle factor is diagonal and unitary in the magic basis, so it equals exp⁡(i(a0I+aXX+bYY+cZZ))\exp(i(a_0 I + a XX + b YY + c ZZ)). Collecting eiγ0eia0e^{i\gamma_0} e^{i a_0} into eiγe^{i\gamma} gives the theorem.

Examples. In the magic basis SWAP is diag⁡(1,1,1,−1)\operatorname{diag}(1, 1, 1, -1), which is eiπ/4exp⁡ ⁣(−iπ4(XX+YY+ZZ))e^{i\pi/4}\exp\!\big(-i\tfrac{\pi}{4}(XX + YY + ZZ)\big) (check: the exponent gives e−iπ/4e^{-i\pi/4} on the three states with XX+YY+ZZ=1XX + YY + ZZ = 1 and e3iπ/4e^{3i\pi/4} on Ψ−\Psi^-). For CZ, CZ=eiπ/4 (S†⊗S†)exp⁡ ⁣(−iπ4ZZ)\mathrm{CZ} = e^{i\pi/4}\,(S\dagg\otimes S\dagg)\exp\!\big(-i\tfrac{\pi}{4} ZZ\big), as one checks on the four computational basis states; CNOT differs from CZ by Hadamards on the target.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Farrokh Vatan, Colin Williams (2004). Optimal quantum circuits for general two-qubit gates. Physical Review A 69, 032315. doi:10.1103/PhysRevA.69.032315arXiv:quant-ph/0308006
  2. B. Kraus, J. I. Cirac (2001). Optimal creation of entanglement using a two-qubit gate. Physical Review A 63, 062309. doi:10.1103/PhysRevA.63.062309arXiv:quant-ph/0011050

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Proof re-derived step by step (symmetric unitary W=V^T V, commuting real and imaginary parts, SO(4) diagonaliser, det F fix, Q real orthogonal). Numerically checked with numpy/scipy: Bell-state eigenvalue vectors of XX, YY, ZZ; M^dag (A x B) M real orthogonal with det 1 for random SU(2) x SU(2); the full Steps 1-4 on a Haar-random U(4); SWAP = e^{i pi/4} exp(-i pi/4 (XX+YY+ZZ)); CZ = e^{i pi/4}(S^dag x S^dag) exp(-i pi/4 ZZ). The magic-basis fact compared with Vatan and Williams, arXiv quant-ph/0308006, Theorem 1 and its proof (same M column phases); Kraus and Cirac, arXiv quant-ph/0011050, uses the magic basis for the same decomposition (Appendix A).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision b71539269389a536. Source file knowledge/records/proof/two-qubit-cartan-decomposition.md in the content repository (readable there once it is public).