Update algorithms deprecation message/reno (#10500)

* Update reno

* Update deprecation warning
This commit is contained in:
Elena Peña Tapia 2023-07-26 11:55:16 +02:00 committed by GitHub
parent 07b06f9a0d
commit f01b7ab8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -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.