I have created a circuit and then run the following: provider = IBMQ.get_provider('ibm-q') And this is what I get:

IBMQProviderError                         Traceback (most recent call last)
<ipython-input-24-d651cdcd236d> in <module>
----> 1 provider = IBMQ.get_provider('ibm-q')

~\anaconda3\lib\site-packages\qiskit\providers\ibmq\ibmqfactory.py in get_provider(self, hub, group, project)
    353         if not providers:
--> 354             raise IBMQProviderError('No provider matches the criteria.')
    355         if len(providers) > 1:
    356             raise IBMQProviderError('More than one provider matches the criteria.')

IBMQProviderError: 'No provider matches the criteria.'

There is no hub simply called ibm-q. I think what you are meaning to do is provider = IBMQ.get_provider(). What you put in the brackets is the name of the hub, for example if your school was a registered hub you might have something to write in there but most users will leave the brackets blank. After this you can do backend = provider.get_backend(BACKEND_NAME) to get the backend you want to use.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy