EntangledQuery
  • Threads
  • Categories
  • Users
  • Seminar
  • forum
  • group
  • theaters
  • search
  1. Threads
  2. Qiskit
chevron_left Qiskit

Error in qiskit IBMQ.load_account() - Account Credentials Not Found

  • forum 1 reply
  • last reply by Meng Oct. 13, 2021
  • Last
  • link
    SchrodingersMouse
    Members 12 posts
    Sept. 5, 2021, 8:47 a.m. Sept. 5, 2021, 8:47 a.m.
    link

    I am using the ''ibmq_vigo" backend by calling IBMQ.load_account(), which is an example in qiskit documentation for NoiseModel.

    from qiskit import IBMQ, Aer
    from qiskit.providers.aer.noise import NoiseModel
    
    provider = IBMQ.load_account()
    backend = provider.get_backend('ibmq_vigo')
    noise_model = NoiseModel.from_backend(backend)
    

    When I run the above code in my Jupyter Notebook, I encountered this error:

    IBMQAccountCredentialsNotFound: 'No IBM Quantum Experience credentials found.'
    

    Any help here?

  • link
    Meng
    Members 22 posts
    Oct. 13, 2021, 2:58 p.m. Oct. 13, 2021, 2:58 p.m.
    link

    I believe you havn't link your IBMQ account to your local device. If you are using IBMQ device for the first time, copy a token from your IBMQ account and save your token:

    IBMQ.save_account(TOKEN)
    
    

    Please also refer to this thread: entangledquery.com/t/how-do-you-access-the-ibm-quantum-computer-backend-using-api-tokens/25/

There are no more posts in this thread.

  • EntangledQuery