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
Hello, I'm trying to simulate a number partitioning problem using openqaoa. I have installed openqaoa in a python environment in VSCode. I am using Python 3.10 since 3.11 and 3.12 don't support openqaoa. I have already imported qiskit. When I run from openqaoa import NumberPartition I receive the following errors: ImportError: cannot import name 'ProviderV1' from 'qiskit.providers' (unknown location) ImportError: Missing optional 'qiskit' dependencies. To install run: pip install azure-quantum[qiskit]
I am especially confused about the second error because I installed the recommended package. Does anyone know what I'm missing or how I can avoid these errors? Thank you in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'm trying to simulate a number partitioning problem using openqaoa. I have installed openqaoa in a python environment in VSCode. I am using Python 3.10 since 3.11 and 3.12 don't support openqaoa. I have already imported qiskit. When I run
from openqaoa import NumberPartition
I receive the following errors:ImportError: cannot import name 'ProviderV1' from 'qiskit.providers' (unknown location)
ImportError: Missing optional 'qiskit' dependencies. To install run: pip install azure-quantum[qiskit]
I am especially confused about the second error because I installed the recommended package. Does anyone know what I'm missing or how I can avoid these errors? Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions