Skip to content

ProtocolBasis ​

Phase 5b API: basis-keyed weak coherent pulses with decoy-state bounds

3/3 passed in 1ms

TestWhat it doesResult
test_bounds_sandwichy1 sits below the infinite-decoy yield and e1 above its error rate at every distance, and a weakest intensity of 0 is the tighter bound.✅ pass
test_engine_agreementThe rate is decoy_gain into decoy_bounds into bb84_rate, on Y0 twice the per-gate dark probability over two ports.✅ pass
test_sifting_is_a_factorThe basis-reconciliation factor multiplies the whole rate: sift = 1.0 is exactly twice sift = 0.5.✅ pass