i am not able to import execute from qiskit

28 Views Asked by At

so the problem I am facing is when I run this command from qiskit import execute I am getting this error cannot import execute from qiskit I have tried asking every known source for the solution but no use so can anyone help me with this issue

1

There are 1 best solutions below

0
luciano On BEST ANSWER

The function execute works in Qiskit 0.* and it was removed in Qiskit 1.*. See the migration guide here.