Skip to main content
KetQat

Appearance

Proof · intermediate

Proof that exchange generates SWAP, √SWAP and CZ

The identity S1·S2 = SWAP/2 − I/4 and SWAP² = I give the exchange propagator in closed form; multiplying out the √SWAP–Z–√SWAP sequence on the computational basis and correcting with Z rotations gives CZ.

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.

The exchange operator. S1⋅S2=14(X1X2+Y1Y2+Z1Z2)\mathbf S_1\cdot\mathbf S_2 = \tfrac14(X_1X_2 + Y_1Y_2 + Z_1Z_2). The operator X1X2+Y1Y2+Z1Z2X_1X_2 + Y_1Y_2 + Z_1Z_2 has eigenvalue +1+1 on the three triplet states and −3-3 on the singlet, while SWAP has eigenvalue +1+1 on triplets and −1-1 on the singlet. Both are diagonal in the same basis, and comparing eigenvalues gives X1X2+Y1Y2+Z1Z2=2 SWAP−IX_1X_2 + Y_1Y_2 + Z_1Z_2 = 2\,\mathrm{SWAP} - I, i.e.

S1⋅S2=12 SWAP−14I.\mathbf S_1\cdot\mathbf S_2 = \tfrac12\,\mathrm{SWAP} - \tfrac14 I .

The propagator. Since SWAP2=I\mathrm{SWAP}^2 = I, for any real ϕ\phi, e−iϕ SWAP=cos⁡ϕ I−isin⁡ϕ SWAPe^{-i\phi\,\mathrm{SWAP}} = \cos\phi\, I - i\sin\phi\,\mathrm{SWAP}. Hence

U(θ)=eiθ/4 e−iθ2SWAP=eiθ/4(cos⁡θ2 I−isin⁡θ2 SWAP).U(\theta) = e^{i\theta/4}\, e^{-i\frac\theta2\mathrm{SWAP}} = e^{i\theta/4}\Big(\cos\tfrac\theta2\, I - i\sin\tfrac\theta2\, \mathrm{SWAP}\Big).

At θ=π\theta = \pi this is −ieiπ/4SWAP-i e^{i\pi/4}\mathrm{SWAP}. At θ=π/2\theta = \pi/2 it is eiπ/8(I−i SWAP)/2e^{i\pi/8}(I - i\,\mathrm{SWAP})/\sqrt2, whose square is eiπ/4(I−2i SWAP−I)/2=−ieiπ/4SWAPe^{i\pi/4}(I - 2i\,\mathrm{SWAP} - I)/2 = -i e^{i\pi/4}\mathrm{SWAP}, so it is a square root of SWAP up to phase. It is entangling: applied to ∣01⟩\ket{01} it gives eiπ/8(∣01⟩−i∣10⟩)/2e^{i\pi/8}(\ket{01} - i\ket{10})/\sqrt2.

The CZ construction. Use eiπS1z=eiπZ1/2=iZ1e^{i\pi S_{1z}} = e^{i\pi Z_1/2} = i Z_1 and drop global phases. The core is

M=(I−i SWAP) Z1 (I−i SWAP)=Z1−i(SWAP Z1+Z1 SWAP)−SWAP Z1 SWAP.M = (I - i\,\mathrm{SWAP})\, Z_1\, (I - i\,\mathrm{SWAP}) = Z_1 - i(\mathrm{SWAP}\,Z_1 + Z_1\,\mathrm{SWAP}) - \mathrm{SWAP}\,Z_1\,\mathrm{SWAP} .

With SWAP Z1 SWAP=Z2\mathrm{SWAP}\,Z_1\,\mathrm{SWAP} = Z_2 and SWAP Z1=Z2 SWAP\mathrm{SWAP}\,Z_1 = Z_2\,\mathrm{SWAP}, M=Z1−Z2−i(Z1+Z2) SWAPM = Z_1 - Z_2 - i(Z_1 + Z_2)\,\mathrm{SWAP}. On basis states (ZjZ_j has eigenvalue +1+1 on ∣0⟩\ket 0): M∣00⟩=−2i∣00⟩M\ket{00} = -2i\ket{00}, M∣01⟩=2∣01⟩M\ket{01} = 2\ket{01}, M∣10⟩=−2∣10⟩M\ket{10} = -2\ket{10}, M∣11⟩=2i∣11⟩M\ket{11} = 2i\ket{11}, the SWAP term vanishing on ∣01⟩\ket{01} and ∣10⟩\ket{10} because Z1+Z2=0Z_1 + Z_2 = 0 there. So U(π2) iZ1 U(π2)∝i2M=diag⁡(1,i,−i,−1)U(\tfrac\pi2)\, iZ_1\, U(\tfrac\pi2) \propto \tfrac{i}{2}M = \operatorname{diag}(1, i, -i, -1). Finally e−iπ2S1ze+iπ2S2z=e−iπZ1/4eiπZ2/4e^{-i\frac\pi2 S_{1z}} e^{+i\frac\pi2 S_{2z}} = e^{-i\pi Z_1/4} e^{i\pi Z_2/4} multiplies ∣z1z2⟩\ket{z_1 z_2} (with zj=±1z_j = \pm1) by e−iπ(z1−z2)/4e^{-i\pi(z_1 - z_2)/4}, i.e. by (1,−i,i,1)(1, -i, i, 1). The product is diag⁡(1,1,1,−1)\operatorname{diag}(1, 1, 1, -1), the CZ gate. The same result was confirmed numerically by multiplying the 4×44 \times 4 matrices.

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. Daniel Loss, David P. DiVincenzo (1998). Quantum computation with quantum dots. Physical Review A 57, 120-126. doi:10.1103/PhysRevA.57.120

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)

    S1.S2 = SWAP/2 - I/4, the propagator, U(pi) and U(pi/2), the entangling action, the matrix M and the final phase layer checked by hand and numerically (numpy/scipy matrix exponentials: the stated sequence equals diag(1,1,1,-1) up to a global phase). Compared with Loss and DiVincenzo, arXiv cond-mat/9701055, eq. (2) (XOR from two square-root-of-swap pulses, e^{i pi S1z} and single-spin z rotations); their outer z rotations carry the opposite signs, which corresponds to the opposite labelling of spin up/down as |0>, |1> and gives CZ up to local Z gates. Crossref metadata matched.

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 1ec0c05beffb112b. Source file knowledge/records/proof/exchange-generates-swap-and-cz.md in the content repository (readable there once it is public).