Skip to content

Commit

Permalink
Update ibm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdilkes committed Nov 25, 2024
1 parent ea9770e commit 48147a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytket/extensions/qiskit/backends/ibm.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def get_compiled_circuit(
"""
return_circuit = circuit.copy()
if optimisation_level == 3 and circuit.n_gates_of_type(OpType.Barrier) > 0:
warnings.warn(
warn(
"Barrier operations in this circuit will be removed when using "
"optimisation level 3."
)
Expand Down

0 comments on commit 48147a5

Please sign in to comment.