mirror of https://github.com/Qiskit/qiskit.git
Update algorithms deprecation message/reno (#10500)
* Update reno * Update deprecation warning
This commit is contained in:
parent
07b06f9a0d
commit
f01b7ab8eb
|
@ -20,8 +20,11 @@ Algorithms (:mod:`qiskit.algorithms`)
|
|||
The :mod:`qiskit.algorithms` module has been migrated to an independent package:
|
||||
https://github.com/qiskit-community/qiskit-algorithms.
|
||||
The current import path is deprecated and will be removed no earlier
|
||||
than 3 months after the release date. You can run ``pip install qiskit_algorithms``
|
||||
and import ``from qiskit_algorithms`` instead.
|
||||
than 3 months after the release date. If your code uses primitives, you can run
|
||||
``pip install qiskit_algorithms`` and import ``from qiskit_algorithms`` instead.
|
||||
If you use opflow/quantum instance-based algorithms, please update your code to
|
||||
use primitives following: https://qisk.it/algo_migration before migrating to
|
||||
the new package.
|
||||
|
||||
It contains a collection of quantum algorithms, for use with quantum computers, to
|
||||
carry out research and investigate how to solve problems in different domains on
|
||||
|
|
|
@ -12,11 +12,13 @@ deprecations:
|
|||
of new features has moved to the new package.
|
||||
If you're relying on :mod:`qiskit.algorithms` you should update your
|
||||
requirements to also include ``qiskit-algorithms`` and update the imports
|
||||
from ``qiskit.algorithms`` to ``qiskit_algorithms``. If you have not yet
|
||||
from ``qiskit.algorithms`` to ``qiskit_algorithms``. Please note that this
|
||||
new package does not include already deprecated algorithms code, including
|
||||
``opflow`` and ``QuantumInstance``-based algorithms. 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.
|
||||
The decision to migrate the :mod:`~.algorithms` module to a
|
||||
separate package was made to clarify the purpose Qiskit and
|
||||
The decision to migrate the :mod:`~.algorithms` module to a
|
||||
separate package was made to clarify the purpose Qiskit and
|
||||
make a distinction between the tools and libraries built on top of it.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue