From 9e9d625c2fefbc8409c4e200898812884bbba803 Mon Sep 17 00:00:00 2001 From: changsookim <> Date: Tue, 29 Oct 2024 10:53:45 +0400 Subject: [PATCH] fix: temp fix minor update --- src/qibolab/backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qibolab/backends.py b/src/qibolab/backends.py index 42eeeb03d..229b2c015 100644 --- a/src/qibolab/backends.py +++ b/src/qibolab/backends.py @@ -127,7 +127,7 @@ def execute_circuit(self, circuit, initial_state=None, nshots=1000): # This should be done in qibo side # Temporary fix: overwrite the wire names - if not all(q in circuit.wire_names for q in self.platform.qubits): + if not all(q in circuit.wire_names for q in self.qubits): circuit._wire_names = self.qubits sequence, measurement_map = self.compiler.compile(circuit, self.platform) @@ -175,7 +175,7 @@ def execute_circuits(self, circuits, initial_states=None, nshots=1000): # This should be done in qibo side # Temporary fix: overwrite the wire names for circuit in circuits: - if not all(q in circuit.wire_names for q in self.platform.qubits): + if not all(q in circuit.wire_names for q in self.qubits): circuit._wire_names = self.qubits # TODO: Maybe these loops can be parallelized