Exchanging arbitrary qubits characterizes the SWAP class
OpenQAlgorithms.Papers.Independent.Intakethird100.P99.twoQubitsCapability_costFor a two-qubit unitary , let be an actual interaction-content witness: is locally equivalent, up to global phase, to , where are the Pauli matrices and . Transmission means one use of the gate with normalized pure product inputs, without ancillas or prior shared entanglement. Encoding and decoding axes are free local choices fixed before the unknown input. Classical messages are encoded in orthogonal states and decoded with certainty; qubit transmission preserves every superposition with the same encoding and recovery. In simultaneous tasks, a receiver may choose its local decoder according to its own sent classical bit. Simultaneous exchange of arbitrary unknown qubits is equivalent to membership in the SWAP local-equivalence class, where SWAP exchanges the two tensor factors. Precisely,
Let 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. For a transmission task , write . An asserted optimal gate both performs the task and has an ideal simulation at the displayed time, and every capable gate has at least its cost. For , SWAP attains . The characterization concerns free local axes, not literal equality of unprocessed matrices.
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.12, IV.B.4: only the SWAP local-equivalence class exchanges arbitrary qubits;
its two signed chamber endpoints and the minimum task interaction cost are retained. -/
theorem twoQubitsCapability_cost (U H : TwoMatrix) (b a : Triple)
(hU : HasContent U b) (hH : HasCanonicalHamiltonian H a) (ha : 0 < a 0) :
(CanTwoQubits U ↔ TwoQubitLocalEquivalent U swapGate) ∧
(CanTwoQubits U ↔ b 0 = Real.pi / 4 ∧ b 1 = Real.pi / 4 ∧ |b 2| = Real.pi / 4) ∧
OptimalTask H CanTwoQubits swapGate
(3 * Real.pi / (4 * (a 0 + a 1 + |a 2|))) := by sorry
end
end QAlgorithms.Papers.Independent.Intakethird100.P99
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be complex matrices on , and let and be real triples. Let , , , , and . Define to mean that for some one-qubit unitaries . Assume is unitary, , , , and . Assume is Hermitian, , , and, for some one-qubit unitaries and Hermitian one-qubit matrices ,
and assume . For a two-qubit matrix , let mean that is unitary and there exist one-qubit unitaries such that, for every pair of unit vectors ,
Let denote the swap matrix, . Then
Furthermore, has property and is optimal for this property at time
in the following exact sense. Let be the infimum in of nonnegative such that is Hermitian, is unitary, and for every there are a finite pulse protocol of total interaction time exactly and a complex number with for which the protocol matrix is within operator norm strictly less than of . A pulse protocol starts at a product of one-qubit unitaries and successively replaces its current matrix by , with one-qubit unitaries , nonnegative durations , and ; an empty pulse list is allowed, and an empty set of admissible times has infimum . Such approximating protocols for exist at exactly , and
Here follows from the hypotheses, so .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.