From f5b93b430e740c7c2608f7ff38240549106021b8 Mon Sep 17 00:00:00 2001 From: Renato Mello Date: Mon, 16 Dec 2024 13:46:36 +0400 Subject: [PATCH] fix --- src/qibo/models/circuit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qibo/models/circuit.py b/src/qibo/models/circuit.py index 747a8208f6..5e2de220b7 100644 --- a/src/qibo/models/circuit.py +++ b/src/qibo/models/circuit.py @@ -129,7 +129,7 @@ class Circuit: circuit = Circuit(5) # Default wire names are [0, 1, 2, 3, 4] circuit = Circuit(["A", "B", "C", "D", "E"]) circuit = Circuit(5, wire_names=["A", "B", "C", "D", "E"]) - c = Circuit(wire_names=["A", "B", "C", "D", "E"]) + circuit = Circuit(wire_names=["A", "B", "C", "D", "E"]) Args: nqubits (int | list, optional): Number of qubits in the circuit or a list of wire names.