OctoInform Beta

the paper · §I. Single-qubit gates, XY interaction, and iSWAP · §I, (S3)-(S5)

Equations (S3)-(S5): Two-qubit XY Hamiltonian: Rewriting the XY interaction in ladder operators σ+\sigma_+, σ−\sigma_- and writing the full two-qubit Hamiltonian in the computational basis

Two-qubit XY Hamiltonian in ladder and matrix form.

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

Two qubits with individual transition frequencies coupled by an isotropic XY exchange interaction are governed by a four-level Hamiltonian on ℂ2⊗ℂ2\mathbb{C}^2 \otimes \mathbb{C}^2. Rewriting the interaction term in single-qubit raising and lowering operators exposes the excitation-preserving exchange between the two qubits, and passing to the computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle gives the explicit 4×44 \times 4 matrix of the full Hamiltonian.

The two-qubit XY Hamiltonian

The Pauli matrices σx,σy,σz\sigma_x, \sigma_y, \sigma_z are the 2×22 \times 2 complex matrices given by (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) where ii is the imaginary unit. The raising operator σ+\sigma_+ and the lowering operator σ−\sigma_- are the 2×22 \times 2 complex matrices defined from (1) by (2): σ+=12(σx+iσy),σ−=12(σx−iσy).\begin{aligned} \sigma_+ &= \frac{1}{2}(\sigma_x + i\sigma_y), \\ \sigma_- &= \frac{1}{2}(\sigma_x - i\sigma_y). \end{aligned}(2)

A two-qubit operator is a complex matrix indexed by pairs in {0,1}×{0,1}\{0, 1\} \times \{0, 1\}, corresponding to the computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle of ℂ2⊗ℂ2\mathbb{C}^2 \otimes \mathbb{C}^2.✦ For 2×22 \times 2 complex matrices AA and BB, their tensor product A⊗BA \otimes B is the two-qubit operator given by the Kronecker product, and II denotes the 2×22 \times 2 identity matrix.

For real frequencies ωA,ωB∈ℝ\omega_A, \omega_B \in \mathbb{R}, the free Hamiltonian H0(ωA,ωB)H_0(\omega_A, \omega_B) is the two-qubit operator in (3): H0(ωA,ωB)=ωA2(σz⊗I)+ωB2(I⊗σz).H_0(\omega_A, \omega_B) = \frac{\omega_A}{2}(\sigma_z \otimes I) + \frac{\omega_B}{2}(I \otimes \sigma_z).(3)✦ Given a real coupling strength g∈ℝg \in \mathbb{R}, the XY interaction Hamiltonian HXY(g)H_{\mathrm{XY}}(g) is the two-qubit operator in (4): HXY(g)=g2(σx⊗σx+σy⊗σy).H_{\mathrm{XY}}(g) = \frac{g}{2}(\sigma_x \otimes \sigma_x + \sigma_y \otimes \sigma_y).(4)✦ Adding (3) and (4) yields the two-qubit XY Hamiltonian H(ωA,ωB,g)H(\omega_A, \omega_B, g), defined by (5): H(ωA,ωB,g)=H0(ωA,ωB)+HXY(g).H(\omega_A, \omega_B, g) = H_0(\omega_A, \omega_B) + H_{\mathrm{XY}}(g).(5)✦

The claim

Theorem. Let ωA,ωB,g∈ℝ\omega_A, \omega_B, g \in \mathbb{R}. Subtracting the free Hamiltonian from the two-qubit XY Hamiltonian expresses the interaction in terms of the raising and lowering operators as in (6): H(ωA,ωB,g)−H0(ωA,ωB)=g(σ+⊗σ−+σ−⊗σ+).H(\omega_A, \omega_B, g) - H_0(\omega_A, \omega_B) = g(\sigma_+ \otimes \sigma_- + \sigma_- \otimes \sigma_+).(6)✦ In the lexicographically ordered computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle, the 4×44 \times 4 matrix representation of H(ωA,ωB,g)H(\omega_A, \omega_B, g) is given by (7): H(ωA,ωB,g)=(ωA+ωB20000ωA−ωB2g00g−ωA+ωB20000−ωA−ωB2).H(\omega_A, \omega_B, g) = \begin{pmatrix} \frac{\omega_A + \omega_B}{2} & 0 & 0 & 0 \\ 0 & \frac{\omega_A - \omega_B}{2} & g & 0 \\ 0 & g & \frac{-\omega_A + \omega_B}{2} & 0 \\ 0 & 0 & 0 & \frac{-\omega_A - \omega_B}{2} \end{pmatrix}.(7)✦

What is checked

In the Lean library, the theorem is stated for arbitrary real parameters ωA,ωB,g∈ℝ\omega_A, \omega_B, g \in \mathbb{R}, over the complex 2×22 \times 2 Pauli matrices σx,σy,σz\sigma_x, \sigma_y, \sigma_z, the raising and lowering operators σ+,σ−\sigma_+, \sigma_-, and the complex two-qubit operators H0(ωA,ωB)H_0(\omega_A, \omega_B), HXY(g)H_{\mathrm{XY}}(g), and H(ωA,ωB,g)H(\omega_A, \omega_B, g) indexed by pairs in {0,1}×{0,1}\{0, 1\} \times \{0, 1\}, with the 4×44 \times 4 matrix in (7) obtained by lexicographical reindexing into the computational basis |00⟩,|01⟩,|10⟩,|11⟩|00\rangle, |01\rangle, |10\rangle, |11\rangle.