From cccabd197ab65c5be36b5f37bd9bdd775874122c Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Thu, 8 Sep 2022 20:08:30 -0700 Subject: [PATCH] Remove TODO markers for fixed issues --- cirq-core/cirq/ops/boolean_hamiltonian.py | 1 - cirq-core/cirq/ops/clifford_gate_test.py | 1 - 2 files changed, 2 deletions(-) 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()