cirq.testing.assert_phase_by_is_consistent_with_unitary

cirq.testing.assert_phase_by_is_consistent_with_unitary(val: Any)[source]

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