Commit 5fbfc1f 1 parent 5e53cfd commit 5fbfc1f Copy full SHA for 5fbfc1f
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
16
16
from qiskit import QuantumCircuit
17
17
from qiskit .circuit .random import random_circuit
18
- from qiskit .providers .fake_provider import Fake20QV1 , FakeBrooklynV2
18
+ from qiskit .providers .fake_provider import Fake20QV1 , GenericBackendV2
19
19
20
20
from quantum_serverless import QuantumServerless
21
21
from quantum_serverless .exception import QuantumServerlessException
@@ -32,7 +32,7 @@ def test_transpile(self):
32
32
circuit2 = random_circuit (5 , 3 )
33
33
34
34
backend1 = Fake20QV1 ()
35
- backend2 = FakeBrooklynV2 ()
35
+ backend2 = GenericBackendV2 ()
36
36
37
37
with QuantumServerless ().context ():
38
38
transpiled_circuits = parallel_transpile (
@@ -49,7 +49,7 @@ def test_transpile_fail(self):
49
49
circuit1 = random_circuit (5 , 3 )
50
50
51
51
backend1 = Fake20QV1 ()
52
- backend2 = FakeBrooklynV2 ()
52
+ backend2 = GenericBackendV2 ()
53
53
54
54
with QuantumServerless ().context ():
55
55
# inconsistent number of circuits and backends
You can’t perform that action at this time.
0 commit comments