Skip to content

Commit

Permalink
Fix typo in example code of v1.1.0 changelog (#2050)
Browse files Browse the repository at this point in the history
  • Loading branch information
gschurck authored Sep 30, 2024
1 parent 3f5058b commit d6ec75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/qiskit/release-notes/1.1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d6ec75c

Please sign in to comment.