Skip to content

DmcsInformation ​

Exact constellation mutual information against the Gaussian substitution

3/3 passed in 3ms

TestWhat it doesResult
test_info_gaussianThe Gaussian branch returns log2⁡(1+SNR) exactly with noise variance 2+Tξ, one vacuum unit for the mode and one for Bob's balanced splitter.✅ pass
test_info_regression8-PSK at α=1, T=1, ξ=0.01, β=0.95 turns a 1.9% information gap (0.99640674 Gaussian against 0.97753325 exact) into a 60% key-rate gap (0.047832 against 0.029903), 2.08% at the optimum α=0.6805, while QPSK at α=0.4, 0 km differs by 0.043% and at α=0.35, 20 km by 0.0016%.✅ pass
test_info_saturatesThe exact information rises monotonically to log2⁡m -- 2 bits for QPSK, 6 for 64-PSK at α=100 -- while the Gaussian form passes 13 bits.✅ pass