Skip to content

QubitFinite ​

One six-state run end to end, and its measured asymptotic limit

6/6 passed in 0ms

TestWhat it doesResult
test_below_asymptoticTHE SANITY PROPERTY. The finite rate never exceeds the same-parameter asymptotic rate at any block size, basis bias or error rate.✅ pass
test_bias_optimumThe basis bias has an interior optimum: 0.95 beats 0.7 beats the uniform third, and 0.999 starves the monitor bases to zero.✅ pass
test_block_shrinksThe rate falls as the block shrinks and is exactly zero at 1e5 signals, never negative.✅ pass
test_rate_convergesMEASURED CONVERGENCE. The rate per sifted signal rises onto the asymptotic secret fraction, the gap falling over ninefold per two decades of block to 1.634e-8 at 1e22.✅ pass
test_sift_accountingThe block splits by the paper's three-basis sifting, b2 to the key basis and ((1−b)/2)2 to each monitor basis, mismatches discarded.✅ pass
test_threshold_holdsAt and above the 12.6% asymptotic crossing the finite rate is zero at every block.✅ pass