Skip to content

SurfaceOscillator ​

The transmitted oscillator, its shot-noise unit and its refusal

11/11 passed in 0ms

TestWhat it doesResult
test_bias_signsestimate() at a unit ratio of 1 returns the true channel untouched; an inflated ratio hides excess noise while it fakes extra channel loss.✅ pass
test_leak_displacesA leaking multiplexer displaces the measured quadrature rather than adding a variance, and an undeclared extinction returns None rather than zero.✅ pass
test_local_limitA lossless span with a back-to-back characterisation returns the locally generated limit: unit and ratio both 1, electronic noise unchanged, no light lost.✅ pass
test_local_refusedq.Link refuses a transmitted oscillator by name on the quadrature path and the click one alike.✅ pass
test_monitor_resolvesThe monitor flags a 20% misnormalisation and not a 1e-6 one, and the noise it still hides falls with the sample count rather than with the attack.✅ pass
test_oscillator_domainsq.TransmittedLO refuses an out-of-range photon number, multiplexer transmittance, extinction and delay, naming the parameter refused.✅ pass
test_phase_absentq.TransmittedLO has no linewidth field and refuses one: both modes leave one laser, so the linewidth that multiplies the delay is Alice's own.✅ pass
test_phase_commonThe residual phase variance is the Wiener 2pilinewidth*delay over the multiplexing delay alone, and a zero delay carries exactly none.✅ pass
test_state_refusedcovariance() returns a bona fide Gaussian state at a unit ratio of 1 and refuses one a misnormalisation has pushed below the vacuum.✅ pass
test_unit_tracksThe operating shot-noise unit is the oscillator arm's transmittance, span times multiplexer, and the ratio to the characterisation level is its reciprocal.✅ pass
test_vel_growsElectronic noise referred to the operating unit grows as the oscillator arm loses light: 0.01 SNU quoted back to back reads 1.0 once the oscillator has crossed 20 dB.✅ pass