From 48147a56828a25564f37855d6e43cb1e0daa55f1 Mon Sep 17 00:00:00 2001 From: Silas Dilkes <36165522+sjdilkes@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:13:38 +0000 Subject: [PATCH] Update ibm.py --- pytket/extensions/qiskit/backends/ibm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytket/extensions/qiskit/backends/ibm.py b/pytket/extensions/qiskit/backends/ibm.py index fda58695..04e9e9b0 100644 --- a/pytket/extensions/qiskit/backends/ibm.py +++ b/pytket/extensions/qiskit/backends/ibm.py @@ -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." )