We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59ed800 commit 3cff272Copy full SHA for 3cff272
pytket/extensions/quantinuum/backends/quantinuum.py
@@ -822,7 +822,8 @@ def get_compiled_circuit(
822
return_circuit = circuit.copy()
823
if optimisation_level == 3 and circuit.n_gates_of_type(OpType.Barrier) > 0:
824
warnings.warn(
825
- f"Barrier operations in this circuit will be removed when using optimisation level 3."
+ f"Barrier operations in this circuit will be removed when using "
826
+ "optimisation level 3."
827
)
828
self.default_compilation_pass(optimisation_level, timeout).apply(return_circuit)
829
return return_circuit
0 commit comments