Skip to content

Commit 670900f

Browse files
committed
Restore gateway
1 parent 7f7656c commit 670900f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

gateway/api/views/programs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
44
Version views inherit from the different views.
55
"""
6-
76
import logging
87
import os
98

@@ -242,7 +241,7 @@ def run(self, request): # pylint: disable=too-many-locals
242241
carrier = {}
243242
TraceContextTextMapPropagator().inject(carrier)
244243
arguments = serializer.data.get("arguments")
245-
channel = Channel.IBM_QUANTUM_PLATFORM
244+
channel = Channel.IBM_QUANTUM
246245
token = ""
247246
instance = None
248247
if request.auth:

gateway/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ drf-yasg>=1.21.10, <2
1919
# Django dependency, but we need a newer version (IBMQ#246)
2020
sqlparse>=0.5.0, <1
2121
qiskit[qpy-compat]>=1.4, <3
22-
qiskit-ibm-runtime>=0.41.0
22+
qiskit-ibm-runtime~=0.40.1
2323
tzdata>=2024.1
2424
django-cors-headers>=4.4.0, <5
2525
whitenoise>=6.7.0, <7

0 commit comments

Comments
 (0)