Coherent
Coherent-noise importance sampling vs exact
4/4 passed in 2073ms
| Test | What it does | Result |
|---|---|---|
test_clifford_rotation_is_exact | RZ(pi/2) is the Clifford S (gamma = 1), so <Y> on |+> is exactly 1. | ✅ pass |
test_rx_on_zero_matches_exact | Importance sampling of RX(theta) on |0> reproduces exact <Z> and <Y>. | ✅ pass |
test_rz_on_plus_matches_exact | Importance sampling of RZ(theta) on |+> reproduces exact <X> and <Y>. | ✅ pass |
test_sample_rejects_coherent | Record sampling refuses a non-Pauli (coherent) channel. | ✅ pass |