RelayInterference
Two-source interference: mode overlap, HOM ceiling, error from contrast
3/3 passed in 3ms
| Test | What it does | Result |
|---|---|---|
test_error_monotone | relay_error rises as the mode match falls, reads (1 - contrast)/2 in the weak-flux limit with no fitted constant, and is floored by dark counts. | ✅ pass |
test_hom_orders | The phase-averaged dip from relay_ports equals hom_visibility at intensity overlap = contrast^2, to 1e-7. | ✅ pass |
test_overlap_width | mode_overlap falls with width mismatch and offset, is symmetric in the widths and even in the offset, and reads 0.8 at a 2:1 ratio. | ✅ pass |