GaussianStates
Phase 1 Gaussian engine: constructors are bona fide with documented moments
4/4 passed in 4ms
| Test | What it does | Result |
|---|---|---|
test_broken_state_samples | epr(400).homodyne raises at the constructor, while epr(4) draws a marginal of non-zero width. | ✅ pass |
test_epr_ceiling | epr(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_ceiling | squeeze(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_vacuum | Vacuum(2) has covariance I/2, zero mean, and saturates dx^2 dp^2 = 1/4 on every mode. | ✅ pass |