Module: cirq.testing.consistent_channels

Functions

assert_consistent_channel(...): Asserts that a given gate has Kraus operators and that they are properly normalized.

assert_consistent_mixture(...): Asserts that a given gate is a mixture and the mixture probabilities sum to one.