1
1
---
2
2
prelude : >
3
3
This release includes the migration of a subset of Qiskit Algorithms features to Qiskit Machine
4
- Learning.
5
- This ensures continued enhancement of essential features for Qiskit Machine Learning following
6
- the end of official support for Qiskit Algorithms. Therefore, Qiskit Machine Learning
7
- will no longer depend on
8
- Qiskit Algorithms, possibly introducing breaking changes in import structures. Some quick-
9
- fixes are
10
- described below.
4
+ Learning. This ensures continued enhancement of essential features for Qiskit Machine
5
+ Learning following the end of official support for Qiskit Algorithms. Therefore, Qiskit
6
+ Machine Learning will no longer depend on Qiskit Algorithms, possibly introducing breaking
7
+ changes in import structures. Some quick-fixes are described below.
11
8
12
9
features :
13
10
- |
14
11
Migrated essential Qiskit Algorithms features to Qiskit Machine Learning:
15
12
16
13
- `qiskit_algorithms/gradients` -> `qiskit_machine_learning/gradients`.
17
14
Note:
18
- only the SPSA,
19
- parameter-shift and linear-combination-of-unitaries gradients are retained. Other gradient
20
- strategies, such as reverse and finite-diff are not incorporated.
15
+ only the SPSA, parameter-shift and linear-combination-of-unitaries gradients are retained.
16
+ Other gradient strategies, such as reverse and finite-diff are not incorporated.
21
17
22
18
- `qiskit_algorithms/optimizers` -> `qiskit_machine_learning/optimizers`.
23
19
Note:
24
- optimizers
25
- from `scikit-quant <https://scikit-quant.readthedocs.io/en/latest/>`_ are not incorporated.
20
+ optimizers from `scikit-quant <https://scikit-quant.readthedocs.io/en/latest/>`_ are not
21
+ incorporated.
26
22
27
23
- `qiskit_algorithms/state_fidelities` -> `qiskit_machine_learning/state_fidelities`
28
24
@@ -34,9 +30,8 @@ features:
34
30
upgrade :
35
31
- |
36
32
The merge of some of the features of Qiskit Algorithms into Qiskit Machine Learning might lead
37
- to breaking changes.
38
- For this reason, caution is advised when updating to version 0.8 during critical production
39
- stages in a project.
33
+ to breaking changes. For this reason, caution is advised when updating to version 0.8 during
34
+ critical production stages in a project.
40
35
41
36
- |
42
37
Users must update their imports and code references in code that uses Qiskit Machine Leaning
@@ -52,18 +47,14 @@ upgrade:
52
47
53
48
- |
54
49
To continue using sub-modules and functionalities of Qiskit Algorithms that **have not been
55
- transferred**,
56
- you may continue using them as before by importing from Qiskit Algorithms. However, be aware
57
- that Qiskit Algorithms
58
- is no longer officially supported and some of its functionalities may not work in your use case.
59
- For any problems
60
- directly related to Qiskit Algorithms, please open a GitHub issue at
61
- https://github.com/qiskit-community/qiskit-algorithms.
62
- Should you want to include a Qiskit Algorithms functionality that has not been incorporated in
63
- Qiskit Machine Learning,
64
- please open a feature-request issue at
65
- https://github.com/qiskit-community/qiskit-machine-learning, explaining why
66
- this change would be useful for you and other users.
50
+ transferred**, you may continue using them as before by importing from Qiskit Algorithms.
51
+ However, be aware that Qiskit Algorithms is no longer officially supported and some of its
52
+ functionalities may not work in your use case. For any problems directly related to Qiskit
53
+ Algorithms, please open a GitHub issue at https://github
54
+ .com/qiskit-community/qiskit-algorithms. Should you want to include a Qiskit Algorithms
55
+ functionality that has not been incorporated in Qiskit Machine Learning, please open a
56
+ feature-request issue at https://github.com/qiskit-community/qiskit-machine-learning,
57
+ explaining why this change would be useful for you and other users.
67
58
68
59
- |
69
60
Four examples of upgrading the code can be found below.
0 commit comments