Skip to content

DecoySandwich ​

Finite-decoy bounds bracket the infinite-decoy limit and converge onto it

4/4 passed in 0ms

TestWhat it doesResult
test_bracket_idealOver 0-200 km the vacuum+weak Y1 lower bound never exceeds the ideal Y1 and the e1 upper bound never falls below the ideal e1.✅ pass
test_gain_consistencyThe returned Q1 bound is Q1 = Y1muexp(-mu), the Poisson weight of Eq. (8).✅ pass
test_tightnessAs the weak decoy goes to zero the bounds converge onto the infinite-decoy values, the deviation shrinking linearly in nu as their Sec. 3.4 predicts.✅ pass
test_vacuum_decoy_optimalTheir Sec. 3.3: at fixed nu1 a vacuum second decoy gives the tightest bounds.✅ pass