cirq.testing.assert_decompose_is_consistent_with_unitary

cirq.testing.assert_decompose_is_consistent_with_unitary(val: Any, including_global_phase: bool = False)[source]

Uses val._unitary_ to check val._phase_by_’s behavior.