Forward BB84 Bell-diagonal family with physical coefficients
OpenQAlgorithms.Papers.Independent.Intake100.P90.bb84_bellFamilyFor any normalized two-qubit input , form the BB84 equal-basis average , followed by the uniform bilateral Pauli average . Let be its computational-basis disagreement probability. The output is a normalized density matrix, , and there exists such that
On the conventional branch , the parameter interval reduces to the printed . This forward representation reduces the input state's parameters; it makes no converse assertion that every is achieved by a prescribed attack.
Formalization Note The free source parameter is called . Nonnegativity of requires . The plan's proposed extension is incorrect; the singlet at is a counterexample to that extension.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P90
noncomputable section
open scoped ComplexConjugate ComplexOrder
attribute [local instance] Classical.propDecidable Classical.decEq
namespace QAlgorithms.Papers.Independent.Intake100.P90
/-- PDF p.4: forward family representation after BB84 D1 then D2, with Q
computed from the actual output. Physical coefficients are all nonnegative;
on the conventional Q<=1/2 branch the extra lower bound is automatic.
The source's free parameter lambda_1 is renamed t to avoid confusing it
with the first Bell weight. No claim that every parameter is attainable. -/
theorem bb84_bellFamily (rho : PairOp) (hrho : IsDensityMatrix rho) :
let sigma := pairTwirl (bb84BasisAverage rho)
let Q := sourceZDisagreement sigma
IsDensityMatrix sigma ∧ 0 ≤ Q ∧ Q ≤ 1 ∧
∃ t : ℝ, 0 ≤ t ∧ t ≤ min Q (1 - Q) ∧
sigma = sourceBellDiagonal ![1 - Q - t, t, t, Q - t] := by sorry
end QAlgorithms.Papers.Independent.Intake100.P90
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a complex matrix indexed by Boolean pairs that is positive semidefinite and has trace . Identify false and true with and , put , and define . Set , , , , and
Then is positive semidefinite with trace , , and there exists a real number satisfying such that , where , , , and , with the coordinate vector at and denoting conjugate transpose. The existence claim does not assert uniqueness of ; the endpoints and are included and force .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.