QuantumBFS / YaoLang.jl

YaoLang: The next DSL for Yao and quantum programs.
https://yaoquantum.org/YaoLang.jl/dev/
Apache License 2.0
31 stars 6 forks source link

integration with IBMQ #67

Closed Roger-luo closed 3 years ago

Roger-luo commented 3 years ago

this PR initialize the integration with IBM Q devices.

ismaelfaro commented 3 years ago

Hi @Roger-luo I think that can be great try to use the IBM Quantum Provider parameters in the same way that Qiskit does, to use in the authentication part.

~/.qiskit/qiskitrc

[ibmq] token = [your-api-token] url = https://auth.quantum-computing.ibm.com/api verify = True

you can set it, and use it, in the same way that is used from the python Qiskit provider, and with that you keep secret the user api_token, and allow other that before play with Qiskit python can play with Yao too :).

Roger-luo commented 3 years ago

@ismaelfaro indeed! I'll put a fallback to this config file shortly!

Roger-luo commented 3 years ago

OK I think I'm gonna merge this first, and improve test cov in other PRs, since this seems to work well in general.