Skip to content

Amplitude

Amplitude-damping channel vs exact

5/5 passed in 1198ms

TestWhat it doesResult
test_branch_opsBranches are identity, Z, and reset-to-|0>, identity first.✅ pass
test_branch_weightsBranch weights equal the analytic q_I, q_Z (negative), q_R = p.✅ pass
test_coherence_on_plusOff-diagonal coherence on |+> decays by sqrt(1-p): <X> ~ sqrt(1-p).✅ pass
test_decay_on_oneDamping |1> gives <Z> ~ 2p-1, matching exact density-matrix evolution.✅ pass
test_overhead_and_negativityFault weight q_Z + q_R is ~3p/4, full overhead ~1, negativity -> 1/3.✅ pass