cfahlgren1/math / lean /OAI /InformationTheory /Entanglement /PhysicalExecutionStep.lean
cfahlgren1's picture
download
raw
5 kB
14
def IsRawInstrumentTransition (b : HilbertBasis ι ℂ H)
    (W : PositiveHilbertMeasure S H b) (V : PositiveHilbertMeasure (S×X) H b)
    (G : S→TraceInstrument b b X) : Prop :=
body · 5 lines
  ∀ R : S→DensityOperator b,
    (∀ x y, Measurable (fun h => inner ℂ x ((R h).val.val y))) →
    IsWeakDensity b W W.traceMeasure R →
    ∀ A B, MeasurableSet A → MeasurableSet B → ∀ x y,
      V.coeff x y (A ×ˢ B)=∫ h in A, inner ℂ x (((G h).event B (R h).val).val y) ∂W.traceMeasure
23
def IsRawPublicTransition (b : HilbertBasis ι ℂ H)
    (W : PositiveHilbertMeasure S H b) (V : PositiveHilbertMeasure (S×X) H b)
    (P : Kernel S X) : Prop :=
body · 5 lines
  ∀ R : S→DensityOperator b,
    (∀ x y, Measurable (fun h => inner ℂ x ((R h).val.val y))) →
    IsWeakDensity b W W.traceMeasure R →
    ∀ A B, MeasurableSet A → MeasurableSet B → ∀ x y,
      V.coeff x y (A ×ˢ B)=∫ h in A, ((P h).real B : ℂ)*inner ℂ x ((R h).val.val y) ∂W.traceMeasure
32
inductive PhysicalExecutionStep (b : HilbertBasis ι ℂ H) (d : HilbertBasis κ ℂ K)
    (W : PositiveHilbertMeasure S (HilbertTensor H K) (tensorHilbertBasis b d))
    (V : PositiveHilbertMeasure (S×X) (HilbertTensor H K) (tensorHilbertBasis b d))
    (ρ : S→DensityOperator b) (σ : S→DensityOperator d)
    (ρ' : S×X→DensityOperator b) (σ' : S×X→DensityOperator d) (P : Kernel S X) : Prop
body · 26 lines
  | left
      (J : S→TraceInstrument b b X)
      (G : S→TraceInstrument (tensorHilbertBasis b d) (tensorHilbertBasis b d) X)
      (hG : ∀ h s, MeasurableSet s → IsLeftTraceAction b b d ((J h).event s) ((G h).event s))
      (hm : ∀ s, MeasurableSet s → Measurable (fun h => (J h).outcome (ρ h) s))
      (U : ∀ h, (J h).ConditionalUpdate (ρ h))
      (hraw : IsRawInstrumentTransition (tensorHilbertBasis b d) W V G)
      (hstateA : ρ'=fun p => (U p.1).state p.2)
      (hstateB : σ'=σ ∘ Prod.fst)
      (hkernel : P=TraceInstrument.historyKernel J ρ hm) :
      PhysicalExecutionStep b d W V ρ σ ρ' σ' P
  | right
      (J : S→TraceInstrument d d X)
      (G : S→TraceInstrument (tensorHilbertBasis b d) (tensorHilbertBasis b d) X)
      (hG : ∀ h s, MeasurableSet s → IsRightTraceAction d d b ((J h).event s) ((G h).event s))
      (hm : ∀ s, MeasurableSet s → Measurable (fun h => (J h).outcome (σ h) s))
      (U : ∀ h, (J h).ConditionalUpdate (σ h))
      (hraw : IsRawInstrumentTransition (tensorHilbertBasis b d) W V G)
      (hstateA : ρ'=ρ ∘ Prod.fst)
      (hstateB : σ'=fun p => (U p.1).state p.2)
      (hkernel : P=TraceInstrument.historyKernel J σ hm) :
      PhysicalExecutionStep b d W V ρ σ ρ' σ' P
  | publicDraw
      (hraw : IsRawPublicTransition (tensorHilbertBasis b d) W V P)
      (hstateA : ρ'=ρ ∘ Prod.fst) (hstateB : σ'=σ ∘ Prod.fst) :
      PhysicalExecutionStep b d W V ρ σ ρ' σ' P
65
theorem physical_execution_step
    (W : PositiveHilbertMeasure S (HilbertTensor H K) (tensorHilbertBasis b d))
    (V : PositiveHilbertMeasure (S×X) (HilbertTensor H K) (tensorHilbertBasis b d))
    [IsProbabilityMeasure W.traceMeasure] [IsProbabilityMeasure V.traceMeasure]
    (ρ : S→DensityOperator b) (σ : S→DensityOperator d)
    (ρ' : S×X→DensityOperator b) (σ' : S×X→DensityOperator d) (P : Kernel S X) [IsMarkovKernel P]
    (hR : ∀ x y, Measurable (fun h => inner ℂ x ((densityTensor b d (ρ h) (σ h)).val.val y)))
    (hR' : ∀ x y, Measurable (fun p => inner ℂ x ((densityTensor b d (ρ' p) (σ' p)).val.val y)))
    (hd : IsWeakDensity (tensorHilbertBasis b d) W W.traceMeasure (fun h => densityTensor b d (ρ h) (σ h)))
    (hstep : PhysicalExecutionStep b d W V ρ σ ρ' σ' P) :
    V.traceMeasure=W.traceMeasure ⊗ₘ P ∧
    IsWeakDensity (tensorHilbertBasis b d) V (W.traceMeasure ⊗ₘ P)
      (fun p => densityTensor b d (ρ' p) (σ' p)) := by
proof · 13 lines
  cases hstep with
  | left J G hG hm U hraw ha hb hk =>
    subst ρ'; subst σ'; subst P
    exact physical_raw_prefix b b d J G hG ρ σ W.traceMeasure hm U hR' V
      (hraw _ hR hd)
  | right J G hG hm U hraw ha hb hk =>
    subst ρ'; subst σ'; subst P
    exact physical_right_raw_prefix d d b J G hG σ ρ W.traceMeasure hm U hR' V
      (hraw _ hR hd)
  | publicDraw hraw ha hb =>
    subst ρ'; subst σ'
    exact physical_public_raw_prefix (tensorHilbertBasis b d) W.traceMeasure P
      (fun h => densityTensor b d (ρ h) (σ h)) hR V (hraw _ hR hd)

Xet Storage Details

Size:
5 kB
·
Xet hash:
6c2aee8e9cce97ec13cd5f79b0815f065a255208dccf6eb02bf91db7222b6441

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.