Skip to content

GaussianConditioning ​

Homodyne conditioning: EPR steering, mode removal, correlated mean update

6/6 passed in 1ms

TestWhat it doesResult
test_conditional_physicalThe conditional state is still a bona fide Gaussian state.✅ pass
test_epr_steeringConditioning Epr(1.0) on x of mode 1 leaves mode 0 with x variance 1/(2*cosh(2)) = 0.133, below the vacuum 1/2.✅ pass
test_last_mode_refusedConditioning the only mode raises, while homodyne on it still samples and two modes still drop to one.✅ pass
test_mean_follows_outcomeThe conditional x mean is the outcome times the Schur gain tanh(2r).✅ pass
test_mode_removedConditioning removes the measured mode: two modes drop to one.✅ pass
test_vacuum_untouchedConditioning on an uncorrelated vacuum mode leaves the survivor in the vacuum.✅ pass