diff --git a/cirq-core/cirq/ops/boolean_hamiltonian.py b/cirq-core/cirq/ops/boolean_hamiltonian.py index b7d43ae56be..62bd773a039 100644 --- a/cirq-core/cirq/ops/boolean_hamiltonian.py +++ b/cirq-core/cirq/ops/boolean_hamiltonian.py @@ -266,7 +266,6 @@ def _simplify_cnots_triplets( ) # Since we removed the pivot, the length should be one fewer. cnots = [cnots[idx] for idx in new_idx] - # TODO(#4532): Speed up code by not returning early. return True, cnots return False, cnots diff --git a/cirq-core/cirq/ops/clifford_gate_test.py b/cirq-core/cirq/ops/clifford_gate_test.py index 1fa9937402d..a9b27e0e487 100644 --- a/cirq-core/cirq/ops/clifford_gate_test.py +++ b/cirq-core/cirq/ops/clifford_gate_test.py @@ -480,7 +480,6 @@ def test_parses_single_qubit_gate(gate): itertools.product(_all_clifford_gates(), _paulis, (1.0, 0.25, 0.5, -0.5)), ) def test_commutes_pauli(gate, pauli, half_turns): - # TODO(#4328) cirq.X**1 should be _PauliX instead of XPowGate pauli_gate = pauli if half_turns == 1 else pauli**half_turns q0 = cirq.NamedQubit('q0') mat = cirq.Circuit(gate(q0), pauli_gate(q0)).unitary()