You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class that makes use of the [Fidelity](https://qiskit.org/documentation/stubs/qiskit.algorithms.state_fidelities.BaseStateFidelity.html) algorithm introduced in Qiskit and can be easily used to directly compute
14
14
kernel matrices for given datasets or can be passed to a Quantum Support Vector Classifier
15
15
[QSVC](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.algorithms.QSVC.html#qiskit_machine_learning.algorithms.QSVC) or
16
16
Quantum Support Vector Regressor
@@ -20,25 +20,17 @@ It also can be used with many other existing kernel-based machine learning algor
20
20
classical frameworks.
21
21
22
22
Qiskit Machine Learning defines a generic interface for neural networks that is implemented by different
23
-
quantum neural networks. Multiple implementations are readily provided, such as the
the [TwoLayerQNN](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.neural_networks.TwoLayerQNN.html#qiskit_machine_learning.neural_networks.TwoLayerQNN),
The [OpflowQNN](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.neural_networks.OpflowQNN.html#qiskit_machine_learning.neural_networks.OpflowQNN)
29
-
allows users to combine parametrized quantum circuits
30
-
with quantum mechanical observables. The circuits can be constructed using, for example, building blocks
23
+
quantum neural networks. Two core implementations are readily provided, such as the
and the [SamplerQNN](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.neural_networks.SamplerQNN.html).
26
+
The [EstimatorQNN](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.neural_networks.EstimatorQNN.html)
27
+
leverages the [Estimator](https://qiskit.org/documentation/stubs/qiskit.primitives.BaseEstimator.html) primitive from Qiskit and
28
+
allows users to combine parametrized quantum circuits with quantum mechanical observables. The circuits can be constructed using, for example, building blocks
31
29
from Qiskit’s circuit library, and the QNN’s output is given by the expected value of the observable.
32
-
The [TwoLayerQNN](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.neural_networks.TwoLayerQNN.html#qiskit_machine_learning.neural_networks.TwoLayerQNN) is a special case of the
The [CircuitQNN](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.neural_networks.CircuitQNN.html#qiskit_machine_learning.neural_networks.CircuitQNN) directly takes the quantum circuit’s
36
-
measurements as output without an observable.
37
-
The output can be used either as a batch of samples, i.e., a list of bitstrings measured from the circuit’s
38
-
qubits, or as a sparse vector of the resulting sampling probabilities for each bitstring. The former is of
39
-
interest in learning distributions resulting from a given quantum circuit, while the latter finds application,
40
-
e.g., in regression or classification. A post-processing step can be used to interpret a given bitstring in
41
-
a particular context, e.g. translating it into a set of classes.
30
+
The [SamplerQNN](https://qiskit.org/documentation/machine-learning/stubs/qiskit_machine_learning.neural_networks.SamplerQNN.html)
31
+
leverages another primitive introduced in Qiskit, the [Sampler](https://qiskit.org/documentation/stubs/qiskit.primitives.BaseSampler.html) primitive.
32
+
This neural network translates quasi-probabilities of bitstrings estimated by the primitive into a desired output. This
33
+
translation step can be used to interpret a given bitstring in a particular context, e.g. translating it into a set of classes.
42
34
43
35
The neural networks include the functionality to evaluate them for a given input as well as to compute the
44
36
corresponding gradients, which is important for efficient training. To train and use neural networks,
@@ -57,7 +49,7 @@ In addition to the models provided directly in Qiskit Machine Learning, it has t
0 commit comments