II: effective state and conditional measurement distribution, (1)–(2)
OpenQAlgorithms.Papers.Independent.Intakethird100.P30.postselectionStateLet , , and let be a nonempty family of distinct binary words of length , where . Write , with . Regroup its independent copies as . Define and . The input has trace one and is positive, and is positive. If is the diagonal measurement law of the input, then
Thus filtering preserves the complete conditional joint distribution, including Bob's codeword label. The filtered operator itself is unnormalized.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P30
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakethird100.P30
open scoped BigOperators Matrix ComplexConjugate ComplexOrder
attribute [local instance] Classical.propDecidable Classical.decEq
variable {I J K L A B : Type}
variable [Fintype I] [Fintype J] [Fintype K] [Fintype L]
variable [Fintype A] [Fintype B]
/-- PDF pp.2–3, (1)–(2): actual filtering, positive acceptance mass m/2^n,
and the complete conditional joint law, rather than only a yes/no event. -/
theorem postselectionState {n : ℕ} (hn : 1 ≤ n) [Nonempty K]
(C : K → Qubits n) (hC : Function.Injective C) (Q : ℝ)
(hQ0 : 0 ≤ Q) (hQ1 : Q ≤ 1 / 2) :
IsDensityMatrix (sixStateCopies (Fin n) Q) ∧ (bobState C Q).PosSemidef ∧
(bobState C Q).trace = ((Fintype.card K : ℂ) / 2 ^ n) ∧
acceptanceMass C Q = (Fintype.card K : ℝ) / 2 ^ n ∧
0 < acceptanceMass C Q ∧
∀ (a : Qubits n) (k : K),
diagonalLaw (bobState C Q) a k =
(sixStateCopies (Fin n) Q (a, C k) (a, C k)).re / acceptanceMass C Q := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , let be a finite nonempty label type with the required decidable equality, let be injective, and let . Define
with real entries regarded as complex numbers, and define and . The theorem asserts that is positive semidefinite with trace , that is positive semidefinite, and that
It further asserts, for every string and label , that the diagonal entry normalized by the real trace satisfies
Both endpoints and are included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.