diff --git a/docs/api/qiskit/release-notes/1.1.mdx b/docs/api/qiskit/release-notes/1.1.mdx index bbf079683a2..5e1aa0da050 100644 --- a/docs/api/qiskit/release-notes/1.1.mdx +++ b/docs/api/qiskit/release-notes/1.1.mdx @@ -777,7 +777,7 @@ The Qiskit 1.1.0 release is a minor feature release that includes a myriad of ne ```python def get_backend(self, name=None, **kwargs): - backend = self.backends(name, **kwargs) + backends = self.backends(name, **kwargs) if len(backends) > 1: raise QiskitBackendNotFoundError("More than one backend matches the criteria") if not backends: