Module: cirq.testing.consistent_decomposition

Functions

assert_decompose_ends_at_default_gateset(...): Asserts that cirq.decompose(val) ends at default cirq gateset or a known gate.

assert_decompose_is_consistent_with_unitary(...): Uses val._unitary_ to check val._phase_by_'s behavior.