Skip to content

Commit

Permalink
Update IQMProvider initialization to use IQM_CORTEX_URL from environm…
Browse files Browse the repository at this point in the history
…ent variable
  • Loading branch information
vstirbu committed Dec 10, 2024
1 parent c1ba9aa commit 2fd7309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2fd7309

Please sign in to comment.