II.C: coherent interference outputs and dark monitoring port
OpenQAlgorithms.Papers.Independent.Intakethird100.P33.monitoringInterferenceLet and , and put and . The two consecutive monitoring inputs have coherent amplitudes , with equal phase whenever both are occupied. The balanced one-bin-delay interferometer produces, at their common interference slot, normalized coherent output modes with amplitudes
Port has mean photon number and ideal dark-count-free threshold-click probability . When , the output is , with mean intensities and zero click probability in the second port. This applies both within a decoy and across a 1,0 source-bit boundary. With exactly one occupied input, each selected-time output has mean intensity and the two click probabilities are equal. The all-vacuum case is included.
This is the optical coherence test; a nonempty input does not force a detection.
Formalization Note The source's single-input prose says per port. The displayed amplitude equations and endnote [6] instead give , which is used here. Independent moderation of this disclosed correction remains required.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P33
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakethird100.P33
open scoped BigOperators ENNReal
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33 (IsDensity rankOne)
open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentCoefficient)
open QAlgorithms.Papers.Independent.Support50.P48 (vacuumAmplitude)
open QAlgorithms.Papers.Independent.Next46.P32 (FockPOVM realFockTracePair)
open QAlgorithms.Papers.Independent.Dependency50.P34
(TwoModeFock fockKet photonMean)
open QAlgorithms.Papers.Independent.Frontier18.P14
(coherentPair coherentPairCoefficients)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- PDF p.2, (6)-(7), and p.7 endnote [6]: exact coherent interference.
Printed prose gives single-input intensity x/2; changed to x/4, as both the
amplitude equations and endnote [6] require. This correction needs independent
moderation. Equal-input DM2 is vacuum; no assertion forces DM1 to click. -/
theorem monitoringInterference (mu t tB : ℝ) (hmu : 0 ≤ mu)
(ht : t ∈ Set.Icc 0 1) (htB : tB ∈ Set.Icc 0 1) :
let x := mu * t * (1 - tB)
let a : ℂ := Real.sqrt x
(∀ u v : Bool,
let b := if u then a else 0
let c := if v then a else 0
let out := monitoringOutput b c
‖out‖ = 1 ∧
(∀ nm, out nm = coherentPairCoefficients
(Complex.I * (b + c) / 2) ((-b + c) / 2) nm) ∧
(∀ port : Fin 2, Summable (fun nm : ℕ × ℕ =>
((if port = 0 then nm.1 else nm.2 : ℕ) : ℝ) * Complex.normSq (out nm))) ∧
photonMean out 0 = Complex.normSq (Complex.I * (b + c) / 2) ∧
photonMean out 1 = Complex.normSq ((-b + c) / 2) ∧
opticalClick out 0 = 1 - Real.exp (-Complex.normSq (Complex.I * (b + c) / 2)) ∧
opticalClick out 1 = 1 - Real.exp (-Complex.normSq ((-b + c) / 2))) ∧
monitoringOutput a a = coherentPair (Complex.I * a) 0 ∧
photonMean (monitoringOutput a a) 0 = x ∧
photonMean (monitoringOutput a a) 1 = 0 ∧
opticalClick (monitoringOutput a a) 1 = 0 ∧
(∀ out ∈ ({monitoringOutput a 0, monitoringOutput 0 a} : Set TwoModeFock),
photonMean out 0 = x / 4 ∧ photonMean out 1 = x / 4 ∧
opticalClick out 0 = opticalClick out 1) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P33
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all real with and , put and , regarded as complex. Define ; a coherent pair is the vector in with coefficients if this family is square summable, and zero otherwise. Put . For every pair of Booleans , let if is true and zero otherwise, and if is true and zero otherwise. Then has norm one and, for every , has coefficient . For each port , writing and , the family is summable, and the means and click quantities satisfy
In addition, , , , and . Every vector belonging to the set has both port means equal to and equal click quantities at the two ports. These assertions include .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.