Skip to content

Commit

Permalink
Use FakeProviderForBackendV2()
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 committed Oct 16, 2024
1 parent 67e525c commit 25e4df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_neko/aer_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"""Qiskit Aer default backend plugin."""

import qiskit_aer as aer
from qiskit_ibm_runtime import fake_provider
from qiskit_ibm_runtime.fake_provider import FakeProviderForBackendV2

from qiskit_neko import backend_plugin

Expand All @@ -23,7 +23,7 @@ class AerBackendPlugin(backend_plugin.BackendPlugin):

def __init__(self):
super().__init__()
self.mock_provider = fake_provider.FakeProvider()
self.mock_provider = FakeProviderForBackendV2()
self.mock_provider_backend_names = set()
for backend in self.mock_provider.backends():
if backend.version == 1:
Expand Down

0 comments on commit 25e4df1

Please sign in to comment.