Skip to content

Commit 1da8914

Browse files
authored
Remove TODO markers for fixed issues (quantumlib#5871)
Clean up TODO-s for fixed issues quantumlib#4328 and quantumlib#4532
1 parent d613559 commit 1da8914

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

cirq/ops/boolean_hamiltonian.py

-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ def _simplify_cnots_triplets(
266266
)
267267
# Since we removed the pivot, the length should be one fewer.
268268
cnots = [cnots[idx] for idx in new_idx]
269-
# TODO(#4532): Speed up code by not returning early.
270269
return True, cnots
271270

272271
return False, cnots

cirq/ops/clifford_gate_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ def test_parses_single_qubit_gate(gate):
480480
itertools.product(_all_clifford_gates(), _paulis, (1.0, 0.25, 0.5, -0.5)),
481481
)
482482
def test_commutes_pauli(gate, pauli, half_turns):
483-
# TODO(#4328) cirq.X**1 should be _PauliX instead of XPowGate
484483
pauli_gate = pauli if half_turns == 1 else pauli**half_turns
485484
q0 = cirq.NamedQubit('q0')
486485
mat = cirq.Circuit(gate(q0), pauli_gate(q0)).unitary()

0 commit comments

Comments
 (0)