Skip to content

Commit

Permalink
Try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Ripper committed May 27, 2024
1 parent 14cb2e8 commit 3b24acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QiskitOpt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function __init__()
IBMQ_INSTANCE = get(ENV, "IBMQ_INSTANCE", "ibm-q/open/main")

if !isnothing(IBMQ_API_TOKEN)
qiskit_ibm_runtime.QiskitRuntimeService.save_account(channel="ibm_quantum", instance = IBMQ_INSTANCE, token=IBMQ_API_TOKEN)
qiskit_ibm_runtime.QiskitRuntimeService.save_account(channel=pystr("ibm_quantum"), instance = pystr(IBMQ_INSTANCE), token=pystr(IBMQ_API_TOKEN))
end
end

Expand Down

0 comments on commit 3b24acd

Please sign in to comment.