ImpairmentsClick
Which descriptors a threshold detector reads, and one reason per mechanism for each it does not
9/9 passed in 182ms
| Test | What it does | Result |
|---|---|---|
test_background_floors | A coexisting channel and a Rayleigh return each raise the click floor and so the QBER, less through a narrower passband and more at a stronger launch. | ✅ pass |
test_background_stated | A coexisting channel without q.ClickDetector(passband=...) is refused naming the field, and a background over a bare transmittance is refused for want of a fibre length. | ✅ pass |
test_demux_apart | The click route refuses a demultiplexer share as a loss on Bob's receive chain. | ✅ pass |
test_extinction_charged | An extinction ratio dilutes a basis-keyed link's misalignment by 4/(r+3) exactly as impairments.extinction does, keeps misalign_optics apart, and costs QBER and rate. | ✅ pass |
test_extinction_sampled | The same extinction dilution costs QBER and rate on the sampled pulse train. | ✅ pass |
test_fields_apart | A quadrature link refuses a q.Modulator extinction ratio and a click link its ratio and angle, each by name, and a click link refuses a q.Modulator with no extinction. | ✅ pass |
test_four_paths | The 4 of 4/(r+3) counts four transmitter paths, so six-state and DPS refuse an extinction ratio by name and COW refuses it as declared twice. | ✅ pass |
test_quadrature_reasons | A quadrature link refuses q.Backflash and q.DeadTime as having no Gaussian-modulation term, in the message the guide prints. | ✅ pass |
test_reasons_apart | A click link refuses q.Dephasing, q.Polarisation and q.Timing each with its own reason; the q.Dephasing message is the one the guide prints. | ✅ pass |