cirq.testing.assert_has_consistent_apply_channel

Tests whether a value's _applychannel is correct.

Contrasts the effects of the value's _apply_channel_ with the superoperator calculated from the Kraus components returned by the value's _kraus_ method.

val The value under test. Should have a __pow__ method.
atol Absolute error tolerance.