Flagged erasure syndrome measurements commute with transversal gates
ProvedQAlgorithms.Papers.Independent.Extend50.P15.erasure_syndrome_commutationLet and let be the number of sites. Each local output space is , where is the orthogonal erasure flag. For a subset of erased sites, let project onto the sector with flags exactly on . For , choose a fixed subset of active sites and let apply there and identity at idle sites. Then
Moreover, any density matrix supported in that sector satisfies
Thus recording the flagged erasure pattern does not disturb a state of known syndrome before or after a transversal gate. This is the algebraic basis of the source's delayed-recovery procedure.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P15
noncomputable section
open MeasureTheory
open scoped Matrix ComplexConjugate Matrix.Norms.L2Operator
namespace QAlgorithms.Papers.Independent.Extend50.P15
open QAlgorithms.Papers.Independent.Information100.P67 (squaredFidelity)
open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)
open QAlgorithms.Papers.Independent.Information100.P75 (Register)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- Efficient syndrome extraction, PDF p.8. Flag measurements commute with every
maskedTransversalMatrix gate; a state in a known erasure sector is undisturbed, including after the
gate. This supplies the identity behind the four-step procedure, not a threshold theorem. -/
theorem erasure_syndrome_commutation (d n : ℕ) (hd : 2 ≤ d)
(active : Fin n → Bool) (s : Finset (Fin n)) (U : (Matrix.specialUnitaryGroup (Fin d) ℂ)) :
let P := erasurePatternProjector d n s
let G := flaggedTransversal active (U : Matrix (Fin d) (Fin d) ℂ)
P * G = G * P ∧
∀ rho : Matrix (FlaggedRegister d n) (FlaggedRegister d n) ℂ,
IsDensityMatrix rho → P * rho * P = rho →
conjSuperop P rho = rho ∧
conjSuperop P (conjSuperop G rho) = conjSuperop G rho := by sorry
end QAlgorithms.Papers.Independent.Extend50.P15
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers with , every activity mask , every subset , and every , let be the diagonal matrix on flagged strings whose diagonal entry at is exactly when if and only if , and otherwise. Let be the matrix with entries
where equals between -labels, equals between and itself, and has zero mixed entries. Then , and for every complex matrix on the flagged strings satisfying , , and , both
hold. No positive lower bound on is assumed, and the active set and erasure set may each be empty or full; for , both and are the identity on the singleton empty-string register.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.