Skip to content

Commit 96c1e77

Browse files
committed
Added var env loading for backend type in Qsim unit test.
1 parent c24a982 commit 96c1e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_qsim_simple_circuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_qsim_simple_circuit():
2525
url=os.getenv("QISKIT_SCALEWAY_API_URL"),
2626
)
2727

28-
backend = provider.get_backend("qsim_simulation_pop_c16m128")
28+
backend = provider.get_backend(os.getenv("QSIM_SCALEWAY_BACKEND_NAME", "qsim_simulation_pop_c16m128"))
2929

3030
assert backend is not None
3131

0 commit comments

Comments
 (0)