Skip to content

FidelityChannels ​

Data processing: a shared channel can only raise the fidelity

3/3 passed in 4ms

TestWhat it doesResult
test_coherent_lossPure loss scales a coherent pair's amplitude difference by T, so F goes from exp⁡(−|d|2/2) to exp⁡(−T|d|2/2) -- an equality, not a bound.✅ pass
test_noise_monotoneA shared thermal-loss channel never lowers F, over a grid of (T,ξ) at both planes.✅ pass
test_thermal_channelTwo thermal states converge as T falls, both reaching the vacuum with F→1.✅ pass