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.
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 newqiskit-algorithms
repository.We should switch all of our use of
qiskit.algorithms
to the new location and addqiskit-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 withqiskit.algorithms
we could add some string-comparison based on class names as a temporary solution. Onceqiskit.algorithms
is actually gone, these can be removed again.