The setting
Two qubits with transition frequencies and coupled by an XY interaction of strength evolve in the lab frame under the sum of a free Hamiltonian and an interaction Hamiltonian. Separating the free single-qubit precession from the entangling interaction dynamics is a basic step in analyzing resonant two-qubit gates. When both qubits share the same frequency, the lab-frame time-evolution operator can be compared directly with the product of the free rotating-frame evolution and the pure interaction evolution.
The two-qubit Hamiltonian
Let denote the imaginary unit and the identity matrix. The Pauli matrices , , and are the complex matrices given by (1): (1)
The space of two-qubit operators consists of all complex matrices indexed by the product of two single-qubit computational bases, ordered as .✦ Tensor products of single-qubit operators are formed using the Kronecker product .
For real qubit frequencies , the free Hamiltonian is the two-qubit operator defined in (2): (2)✦ Given a real coupling strength , the XY interaction Hamiltonian is the two-qubit operator in (3): (3)✦ Adding these two operators yields the XY two-qubit Hamiltonian , defined for by (4): (4)✦
Time-evolution operators
For a two-qubit operator , let denote the matrix exponential. For real parameters , the rotating-frame unitary is the two-qubit operator given by (5): (5)✦ For real parameters , the resonant evolution is the two-qubit operator defined by (6): (6)✦
The claim
Theorem. Let . When both qubits have the same frequency , the lab-frame time-evolution operator generated by the XY two-qubit Hamiltonian satisfies (7)✦
What is checked
The factorization (7) is stated in the Lean library over the space of two-qubit operators for arbitrary real parameters , with the Pauli matrices , the free Hamiltonian , the XY interaction Hamiltonian , the XY two-qubit Hamiltonian , the rotating-frame unitary , and the resonant evolution defined explicitly as complex matrices and matrix exponentials.