qiskit-community / qiskit-nature

Qiskit Nature is an open-source, quantum computing, framework for solving quantum mechanical natural science problems.
https://qiskit-community.github.io/qiskit-nature/
Apache License 2.0
306 stars 207 forks source link

Migrate from `qiskit.algorithms` to `qiskit_algorithms` #1250

Closed mrossinek closed 1 year ago

mrossinek commented 1 year ago

What should we add?

The latest release of Qiskit has deprecated the qiskit.algorithms module. The entire module has been extracted in its state at the time into the new qiskit-algorithms repository.

We should switch all of our use of qiskit.algorithms to the new location and add qiskit-algorithms as a required dependency.

When doing so, we need to be mindful of isinstance checks as these would break. In order to preserve backwards-compatibility with qiskit.algorithms we could add some string-comparison based on class names as a temporary solution. Once qiskit.algorithms is actually gone, these can be removed again.