Skip to content

ApiComposition ​

Which path consumes which impairment, and the pair that describes one thing

7/7 passed in 1ms

TestWhat it doesResult
test_afterpulse_reachesAfterpulsing on the decoy family raises the error rate and costs key, and pAP=0 is the plain model.✅ pass
test_backflash_reportedBackflash leaves the rate unchanged and reports leak as Pb times the sifted rate.✅ pass
test_dead_time_placedDead time is refused on the decoy family, whose interleaved intensities have no single rate, and as an impairment on the phase-keyed path, which already models it.✅ pass
test_dephasing_aloneWith no DSP chain q.Dephasing is charged as its own row.✅ pass
test_dephasing_onceWhere the DSP produced a residual only budget.phase(v_err) is charged: a declared q.Dephasing changes no rate and reports v_floor below the residual.✅ pass
test_dephasing_orderingA declared linewidth that diffuses further over its delay than the whole estimator residual is a contradiction and raises, naming both variances.✅ pass
test_family_impairmentsA descriptor no path consumes is refused: timing and polarisation on the pinned click path, backflash and detector memory on a quadrature one.✅ pass