Hi there! I am trying to connect to the IBM quantum computing system from my Jupyter Notebook. I know that one can set it up with API tokens. Can anyone give a step by step guidance?
Hi there! I am trying to connect to the IBM quantum computing system from my Jupyter Notebook. I know that one can set it up with API tokens. Can anyone give a step by step guidance?
Hi. You could find the tutorial here.
You could access your API token in your account setting.
And then you use this for the first time.
IBMQ.save_account(TOKEN)
After that, each time you could use
IBMQ.load_account()
to connect your IBMQ account.
Hope it helps.
First, you need to have a IBMQ account so that you can use their QPU cloud service. Register here: quantum-computing.ibm.com/
from qiskit import IBMQ
IBMQ.save_account(TOKEN)
IBMQ.load_account() # Load account from disk
IBMQ.providers() # List all available providers
You can show a list of backends which you can access
provider = IBMQ.get_provider(hub='ibm-q')
provider.backends()
Choose one backend from the list
backend = provider.get_backend('ibmq_vigo')
backend
Use a tool to help you visualize the queue on QPU
from qiskit.tools import jupyter
%qiskit_job_watcher
Then run the circuit on the backend!
backend.run(qc)