Environment
- Qiskit Nature version: 0.7.2
- Python version: 3.12.3
- Operating system: Ubuntu 24.04.2 LTS
What is happening?
Qiskit Nature does not work with Qiskit 2 as it uses deprecated import
from qiskit.primitives import BaseSampler
It seems to be related to its use of qiskit_algorithms.
How can we reproduce the issue?
import qiskit_nature
with qiskit version 2
What should happen?
Successful import
Any suggestions?
BaseSampler -> BaseSamplerV2