Theorem 3: generalized emulation fidelity and conditional fidelity
OpenQAlgorithms.Papers.Independent.Intakethird100.P67.theorem3_generalized_fidelityLet be a finite nonempty parameter set with probability distribution , and let be arbitrary system/one-qubit unitaries. Fix a unit anchor , an ambient unitary , and . Use independent parameters with law , ancillas initially in , output anchor , and . Let and be the main and joint outputs of the four Appendix-A steps, ignoring the measurement label, and let . For every input density operator,
For a pure input and positive erasure probability, the normalized successful output has root fidelity at least with . No supported-input or algebra-generation assumption is needed. These estimates include the working ancillas before tracing.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P67
noncomputable section
open scoped ComplexConjugate Matrix Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable
open MeasureTheory Filter
namespace QAlgorithms.Papers.Independent.Intakethird100.P67
variable {I J K L A : Type*} [Fintype I] [DecidableEq I]
[Fintype J] [DecidableEq J] [Fintype K] [DecidableEq K]
[Fintype L] [DecidableEq L] [Fintype A] [DecidableEq A]
/-- PDF pp.13–16, Theorem 3: root fidelity for actual Fig.5, including the joint
output and positive-probability pure-input conditional output. A1's missing adjoint is
corrected by Eq.(18) and A12; no algebra or input-support promise is assumed here. -/
theorem theorem3_generalized_fidelity [Nonempty L] (p : L → ℝ)
(hp : QAlgorithms.Learning.IsDistribution p) (W : L → Matrix.unitaryGroup (I × Bool) ℂ)
(phi : EuclideanSpace ℂ I) (hphi : IsState phi) (U : Matrix.unitaryGroup I ℂ) (T : ℕ) :
(∀ rho, IsDensityMatrix rho →
let joint := jointEmulator p (fun l => (W l : Matrix (I × Bool) (I × Bool) ℂ))
(transportedGate (U : Matrix I I ℂ) (fun l => (W l : Matrix (I × Bool) (I × Bool) ℂ)))
phi (act (U : Matrix I I ℂ) phi) T rho
let pe := eraseProbability p (fun l => (W l : Matrix (I × Bool) (I × Bool) ℂ)) phi T rho
pe ≤ rootFidelity joint (Matrix.kronecker (densityConjugation (U : Matrix I I ℂ) rho)
(pureDensity (minusRegister T))) ∧
pe ≤ rootFidelity (traceRight joint) (densityConjugation (U : Matrix I I ℂ) rho)) ∧
(∀ psi : EuclideanSpace ℂ I, IsState psi →
let pe := eraseProbability p (fun l => (W l : Matrix (I × Bool) (I × Bool) ℂ)) phi T (pureDensity psi)
0 < pe → Real.sqrt pe ≤ rootFidelity
((pe : ℂ)⁻¹ • traceRight (jointBranch p (fun l => (W l : Matrix (I × Bool) (I × Bool) ℂ))
(transportedGate (U : Matrix I I ℂ) (fun l => (W l : Matrix (I × Bool) (I × Bool) ℂ)))
phi (act (U : Matrix I I ℂ) phi) T false (pureDensity psi)))
(densityConjugation (U : Matrix I I ℂ) (pureDensity psi))) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P67
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be finite types with decidable equality and , let satisfy and , let each be unitary on , let , let be unitary on , and let be any natural number. Write , , where , and define and . For a history , put , let apply in that order, with gate acting on the system and ancilla while preserving the other ancillas, and put . For , set , , and
Define , with matrix square roots taken by real continuous functional calculus. The conclusion is the conjunction of two assertions: every positive semidefinite trace-one satisfies
and every norm-one vector for which satisfies
No sample-support or generation hypothesis is imposed. At , histories are empty, their weight is , their history matrices are identities, and is the identity.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.