From f0efa41320d53b6fee7833b7d7bac53db6134146 Mon Sep 17 00:00:00 2001 From: Luciano Bello Date: Wed, 26 Jun 2024 22:28:22 +0200 Subject: [PATCH] black --- qiskit/providers/fake_provider/generic_backend_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/providers/fake_provider/generic_backend_v2.py b/qiskit/providers/fake_provider/generic_backend_v2.py index 388fa3bcd5fd..e7264a059e62 100644 --- a/qiskit/providers/fake_provider/generic_backend_v2.py +++ b/qiskit/providers/fake_provider/generic_backend_v2.py @@ -368,7 +368,7 @@ def _build_generic_target(self): f"in the standard qiskit circuit library." ) gate = self._supported_gates[name] - + if self.num_qubits < gate.num_qubits: raise QiskitError( f"Provided basis gate {name} needs more qubits than {self.num_qubits}, "