From 2fd73095147b9813b697335e1d6db8dca985ed76 Mon Sep 17 00:00:00 2001 From: Vlad Stirbu Date: Tue, 10 Dec 2024 13:54:33 +0200 Subject: [PATCH] Update IQMProvider initialization to use IQM_CORTEX_URL from environment variable --- app/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/run.py b/app/run.py index e0eb024..834ccff 100644 --- a/app/run.py +++ b/app/run.py @@ -11,7 +11,7 @@ def run_circuit(qasm: str) -> Result: if os.getenv("IQM_TOKENS_FILE") is None: backend = IQMFakeAdonis() else: - provider = IQMProvider() + provider = IQMProvider(os.getenv("IQM_CORTEX_URL")) backend = provider.get_backend() new_circuit = transpile(circuit, backend)