Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Jun 26, 2024
1 parent 7b056db commit f0efa41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/providers/fake_provider/generic_backend_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}, "
Expand Down

0 comments on commit f0efa41

Please sign in to comment.