From a3e02f9f8d9f2220ee397fecb6c860897c59ec33 Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Thu, 24 Oct 2024 17:35:16 +0200 Subject: [PATCH] * Remove unsused variable in test --- test/test_swap_cancellation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_swap_cancellation.py b/test/test_swap_cancellation.py index 026e3d6..091d3e4 100644 --- a/test/test_swap_cancellation.py +++ b/test/test_swap_cancellation.py @@ -35,7 +35,7 @@ def test_simple(self): swap_pass.property_set["virtual_permutation_layout"] = layout dag = circuit_to_dag(qc) - qc2 = dag_to_circuit(swap_pass.run(dag)) + _ = swap_pass.run(dag) new_layout = swap_pass.property_set["virtual_permutation_layout"]