We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c9b173 commit 7978a27Copy full SHA for 7978a27
cirq-core/cirq/ops/raw_types_test.py
@@ -653,7 +653,7 @@ def test_tagged_operation_forwards_protocols() -> None:
653
np.testing.assert_equal(cirq.unitary(tagged_h), cirq.unitary(h))
654
assert cirq.has_unitary(tagged_h)
655
assert cirq.decompose(tagged_h) == cirq.decompose(h)
656
- assert [*tagged_h._decompose_()] == cirq.decompose(h)
+ assert [*tagged_h._decompose_()] == cirq.decompose_once(h)
657
assert cirq.pauli_expansion(tagged_h) == cirq.pauli_expansion(h)
658
assert cirq.equal_up_to_global_phase(h, tagged_h)
659
assert np.isclose(cirq.kraus(h), cirq.kraus(tagged_h)).all()
0 commit comments