Hi everyone,
I am trying to resolve the below deprecation warnings I am getting while using IBMQ framework.
DeprecationWarning: The qiskit.IBMQ entrypoint and the qiskit-ibmq-provider package (accessible from 'qiskit.providers.ibmq`) are deprecated and will be removed
in a future release. Instead you should use the qiskit-ibm-provider package which is accessible from 'qiskit_ibm_provider'. You can install it with 'pip install qiskit_ibm_provider'. Just replace 'qiskit.IBMQ' with 'qiskit_ibm_provider.
IBMProvider'
My earlier code was:
from qiskit import IBMQ
IBMQ.save_account('key', overwrite=True)
IBMQ.load_account()
Now, I have changed it below:
from qiskit_ibm_provider import IBMProvider
IBMProvider.save_account('key', overwrite=True)
IBMProvider.load_account()
But now I am getting the error:
IBMProvider.load_account()
AttributeError: type object 'IBMProvider' has no attribute 'load_account'.
Hi everyone, I am trying to resolve the below deprecation warnings I am getting while using IBMQ framework.
My earlier code was:
Now, I have changed it below:
But now I am getting the error:
It would be great if I can be helped on this.