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"]