Skip to content

Commit 3cff272

Browse files
committed
Update quantinuum.py
1 parent 59ed800 commit 3cff272

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytket/extensions/quantinuum/backends/quantinuum.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,8 @@ def get_compiled_circuit(
822822
return_circuit = circuit.copy()
823823
if optimisation_level == 3 and circuit.n_gates_of_type(OpType.Barrier) > 0:
824824
warnings.warn(
825-
f"Barrier operations in this circuit will be removed when using optimisation level 3."
825+
f"Barrier operations in this circuit will be removed when using "
826+
"optimisation level 3."
826827
)
827828
self.default_compilation_pass(optimisation_level, timeout).apply(return_circuit)
828829
return return_circuit

0 commit comments

Comments
 (0)