From e2d9967ae294eea3c3a71c566249971c90ffe600 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Mon, 24 Feb 2025 12:16:09 +0000 Subject: [PATCH] Remove redunant set --- test/python/compiler/test_transpiler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/python/compiler/test_transpiler.py b/test/python/compiler/test_transpiler.py index cf11f3d3156..769bf66b006 100644 --- a/test/python/compiler/test_transpiler.py +++ b/test/python/compiler/test_transpiler.py @@ -1651,7 +1651,6 @@ def test_transpile_preserves_circuit_metadata(self, optimization_level): metadata = {"experiment_id": "1234", "execution_number": 4} name = "my circuit" circuit = QuantumCircuit(2, metadata=metadata.copy(), name=name) - circuit.name = "my circuit" circuit.h(0) circuit.cx(0, 1)