Skip to content

GaussianStates ​

Phase 1 Gaussian engine: constructors are bona fide with documented moments

4/4 passed in 4ms

TestWhat it doesResult
test_broken_state_samplesepr(400).homodyne raises at the constructor, while epr(4) draws a marginal of non-zero width.✅ pass
test_epr_ceilingepr(r) is bona fide and re-admitted by from_moments to r = 8, and raises at both signs from r = 12: the ceiling is representability near r = 9.2 (80 dB), not the r = 356 where the covariance overflows.✅ pass
test_squeeze_ceilingsqueeze(r) is finite to r = 355 and raises at 356, 400, 710 and 1e300; the guard is on the RESULT, not on r.✅ pass
test_vacuumVacuum(2) has covariance I/2, zero mean, and saturates dx^2 dp^2 = 1/4 on every mode.✅ pass