GaussianConditioning
Homodyne conditioning: EPR steering, mode removal, correlated mean update
6/6 passed in 1ms
| Test | What it does | Result |
|---|---|---|
test_conditional_physical | The conditional state is still a bona fide Gaussian state. | ✅ pass |
test_epr_steering | Conditioning 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_refused | Conditioning the only mode raises, while homodyne on it still samples and two modes still drop to one. | ✅ pass |
test_mean_follows_outcome | The conditional x mean is the outcome times the Schur gain tanh(2r). | ✅ pass |
test_mode_removed | Conditioning removes the measured mode: two modes drop to one. | ✅ pass |
test_vacuum_untouched | Conditioning on an uncorrelated vacuum mode leaves the survivor in the vacuum. | ✅ pass |