Qiskit Algorithms 0.1.0
Changelog
Prelude
Qiskit’s qiskit.algorithms
module has been superseded by this new standalone library, qiskit_algorithms
.
As of Qiskit’s 0.25 release, active development of new algorithm features has moved to this new package.
If you’re relying on qiskit.algorithms you should update your requirements to also include qiskit-algorithms
and update the imports from qiskit.algorithms
to qiskit_algorithms
.
Note
If you have not yet migrated from QuantumInstance
-based to primitives-based algorithms, you should first follow the migration guidelines in https://qisk.it/algo_migration, to complete the migration of your code, as this package does not include any deprecated algorithm function.
The decision to migrate the qiskit.algorithms module to a separate package was made to clarify the purpose of Qiskit and make a distinction between the tools and libraries built on top of it.
New Features
The primitive-based algorithms in qiskit_algorithms.eigensolvers and qiskit_algorithms.minimum_eigensolvers are now directly importable from qiskit_algorithms
. For example, the primitive-based VQE can now be imported using from qiskit_algorithms import VQE
without having to specify from qiskit_algorithms.minimum_eigensolvers import VQE
. This short import path used to be reserved for QuantumInstance
-based algorithms (now deprecated and removed from the codebase). If you have not yet migrated from QuantumInstance
-based to primitives-based algorithms, you should follow the migration guidelines in https://qisk.it/algo_migration.