Skip to content

Commit

Permalink
Replace deprecated provider FakeBrooklynV2
Browse files Browse the repository at this point in the history
  • Loading branch information
karlaspuldaro committed Feb 16, 2024
1 parent 5e53cfd commit 5fbfc1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/tests/library/test_transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from qiskit import QuantumCircuit
from qiskit.circuit.random import random_circuit
from qiskit.providers.fake_provider import Fake20QV1, FakeBrooklynV2
from qiskit.providers.fake_provider import Fake20QV1, GenericBackendV2

from quantum_serverless import QuantumServerless
from quantum_serverless.exception import QuantumServerlessException
Expand All @@ -32,7 +32,7 @@ def test_transpile(self):
circuit2 = random_circuit(5, 3)

backend1 = Fake20QV1()
backend2 = FakeBrooklynV2()
backend2 = GenericBackendV2()

with QuantumServerless().context():
transpiled_circuits = parallel_transpile(
Expand All @@ -49,7 +49,7 @@ def test_transpile_fail(self):
circuit1 = random_circuit(5, 3)

backend1 = Fake20QV1()
backend2 = FakeBrooklynV2()
backend2 = GenericBackendV2()

with QuantumServerless().context():
# inconsistent number of circuits and backends
Expand Down

0 comments on commit 5fbfc1f

Please sign in to comment.