SWAP interaction content, branch choice, and cost
OpenQAlgorithms.Papers.Independent.Intakethird100.P99.swap_content_costLet be a Hermitian Hamiltonian on two qubits , with canonical interaction coefficients satisfying . Local terms in are allowed. Local unitary controls are instantaneous and free, interaction intervals are nonnegative, and . Write for the infimum of the interaction durations of protocols implementing the gate , allowing the ideal limit of arbitrarily fine pulses at fixed total duration and disregarding global phase. This cost is an extended nonnegative real, with value for an impossible simulation. Assume . For , both and describe its physical local-equivalence class, and
The positive branch attains this cost when , and the negative branch when ; both tie at zero. A branch cost is the infimum of nonnegative times satisfying that branch of s-majorization.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P99
namespace QAlgorithms.Papers.Independent.Intakethird100.P99
open scoped Matrix Kronecker NNReal ENNReal
open QAlgorithms.Papers.Independent.Information100.P10 (pauli)
open QAlgorithms.Papers.Independent.Information100.P32 (evolution)
noncomputable section
/-- PDF p.7, III.D.3: SWAP's two signed contents and cost; the positive branch is
optimal for positive a3, the negative branch for negative a3, and both tie at zero. -/
theorem swap_content_cost (H : TwoMatrix) (a : Triple)
(hH : HasCanonicalHamiltonian H a) (ha : 0 < a 0) :
HasContent swapGate ![Real.pi / 4, Real.pi / 4, Real.pi / 4] ∧
HasContent swapGate ![Real.pi / 4, Real.pi / 4, -Real.pi / 4] ∧
interactionCost H swapGate =
ENNReal.ofReal (3 * Real.pi / (4 * (a 0 + a 1 + |a 2|))) ∧
(0 ≤ a 2 → branchCost a ![Real.pi / 4, Real.pi / 4, Real.pi / 4] =
interactionCost H swapGate) ∧
(a 2 ≤ 0 → branchCost a ![Real.pi / 4, Real.pi / 4, -Real.pi / 4] =
interactionCost H swapGate) := by sorry
end
end QAlgorithms.Papers.Independent.Intakethird100.P99
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every complex two-qubit matrix and real triple , assume , , , , and there exist one-qubit unitaries and Hermitian one-qubit matrices with
Let and . For each of and , is unitary, the triple satisfies , , , and some four one-qubit unitaries give . Its interaction cost is
Here is the extended nonnegative infimum of times such that every admits a finite product , with one-qubit unitaries and nonnegative durations summing exactly to , whose operator-norm distance from is strictly less than for some ; empty pulse lists are allowed. For a real triple , define , where , , and if , otherwise . Define by the three inequalities
and , with the times embedded in and empty infimum . Then implies , and implies ; both implications apply when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.