Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 committed Oct 16, 2024
1 parent 25e4df1 commit 0130659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_neko/aer_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ def get_backend(self, backend_selection=None):
method = backend_selection.split("=")[1]
return aer.AerSimulator(method=method)
if backend_selection in self.mock_provider_backend_names:
return self.mock_provider.get_backend(backend_selection)
return self.mock_provider.backend(backend_selection)
raise ValueError(f"Invalid selection string {backend_selection}.")

0 comments on commit 0130659

Please sign in to comment.