Skip to content

FidelityLimits ​

What the layer refuses to compute, and how loudly it says so

4/4 passed in 0ms

TestWhat it doesResult
test_mixed_refusedA mixed two-mode pair raises NotImplementedError naming keep().✅ pass
test_mode_mismatchA one-mode against a two-mode state is a ValueError naming both counts.✅ pass
test_not_a_stateA non-State argument is a TypeError, not a deep attribute error.✅ pass
test_results_finiteEvery quantity stays finite for a hot, strongly squeezed, far-displaced pair, where the rationalised prefactor is what prevents the cancellation.✅ pass