ApiComposition
Which path consumes which impairment, and the pair that describes one thing
7/7 passed in 1ms
| Test | What it does | Result |
|---|---|---|
test_afterpulse_reaches | Afterpulsing on the decoy family raises the error rate and costs key, and | ✅ pass |
test_backflash_reported | Backflash leaves the rate unchanged and reports leak as | ✅ pass |
test_dead_time_placed | Dead 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_alone | With no DSP chain q.Dephasing is charged as its own row. | ✅ pass |
test_dephasing_once | Where 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_ordering | A declared linewidth that diffuses further over its delay than the whole estimator residual is a contradiction and raises, naming both variances. | ✅ pass |
test_family_impairments | A descriptor no path consumes is refused: timing and polarisation on the pinned click path, backflash and detector memory on a quadrature one. | ✅ pass |