Skip to content

Commit

Permalink
Replace deprecated provider FakeAlmadenV2
Browse files Browse the repository at this point in the history
  • Loading branch information
karlaspuldaro committed Feb 16, 2024
1 parent af8d62a commit 5e53cfd
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 FakeAlmadenV2, FakeBrooklynV2
from qiskit.providers.fake_provider import Fake20QV1, FakeBrooklynV2

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

backend1 = FakeAlmadenV2()
backend1 = Fake20QV1()
backend2 = FakeBrooklynV2()

with QuantumServerless().context():
Expand All @@ -48,7 +48,7 @@ def test_transpile_fail(self):
"""Test failing cases for parallel transpile."""
circuit1 = random_circuit(5, 3)

backend1 = FakeAlmadenV2()
backend1 = Fake20QV1()
backend2 = FakeBrooklynV2()

with QuantumServerless().context():
Expand Down

0 comments on commit 5e53cfd

Please sign in to comment.