Skip to content

Commit

Permalink
Remove TODO markers for fixed issues (quantumlib#5871)
Browse files Browse the repository at this point in the history
Clean up TODO-s for fixed issues quantumlib#4328 and quantumlib#4532
  • Loading branch information
pavoljuhas authored and rht committed May 1, 2023
1 parent ea5fb9d commit 03d1a44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cirq-core/cirq/ops/boolean_hamiltonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion cirq-core/cirq/ops/clifford_gate_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 03d1a44

Please sign in to comment.