Shortcuts



Neural Networks (qiskit_machine_learning.neural_networks)

A neural network is a parametrized network which may be defined as a artificial neural network - classical neural network - or as parametrized quantum circuits - quantum neural network. Furthermore, neural networks can be defined with respect to a discriminative or generative task.

Neural Networks may be used, for example, with the QGAN algorithm.

Neural Network Base Classes

NeuralNetwork

Abstract Neural Network class providing forward and backward pass and handling batched inputs.

Neural Networks

NeuralNetwork

Abstract Neural Network class providing forward and backward pass and handling batched inputs.

OpflowQNN

Opflow Quantum Neural Network.

TwoLayerQNN

Two Layer Quantum Neural Network consisting of a feature map, a ansatz, and an observable.

SamplingNeuralNetwork

A Sampling Neural Network abstract class for all (quantum) neural networks within Qiskit’s machine learning module that generate samples instead of (expected) values.

CircuitQNN

A Sampling Neural Network based on a given quantum circuit.