You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The qiskit.execute was deprecated in Qiskit 0.46.0. See Qiskit/qiskit#7892 for the background discussion. Replacement is either backend.run(transpile(...), ...) or using the Sampler primitive.
The text was updated successfully, but these errors were encountered:
For those who have not yet identified an alternative to the execute() method in their code, the simplest solution to maintain your code operational is to downgrade qiskit's installation. This can be achieved by first uninstalling qiskit on pip, and then executing pip install qiskit==0.46.1. By doing so, you will still have access to the execute() method.
The
qiskit.execute
was deprecated in Qiskit 0.46.0. See Qiskit/qiskit#7892 for the background discussion. Replacement is eitherbackend.run(transpile(...), ...)
or using theSampler
primitive.The text was updated successfully, but these errors were encountered: