38 lines
2.7 KiB
Plaintext
38 lines
2.7 KiB
Plaintext
---
|
|
title: neural_networks (v0.29)
|
|
description: API reference for qiskit.aqua.components.neural_networks in qiskit v0.29
|
|
in_page_toc_min_heading_level: 2
|
|
python_api_type: module
|
|
python_api_name: qiskit.aqua.components.neural_networks
|
|
---
|
|
|
|
<span id="module-qiskit.aqua.components.neural_networks" />
|
|
|
|
<span id="qiskit-aqua-components-neural-networks" />
|
|
|
|
<span id="neural-networks-qiskit-aqua-components-neural-networks" />
|
|
|
|
# Neural Networks
|
|
|
|
`qiskit.aqua.components.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`](qiskit.aqua.algorithms.QGAN "qiskit.aqua.algorithms.QGAN") algorithm.
|
|
|
|
# Neural Network Base Classes
|
|
|
|
| | |
|
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
|
|
| [`DiscriminativeNetwork`](qiskit.aqua.components.neural_networks.DiscriminativeNetwork "qiskit.aqua.components.neural_networks.DiscriminativeNetwork") | Base class for discriminative Quantum or Classical Neural Networks. |
|
|
| [`GenerativeNetwork`](qiskit.aqua.components.neural_networks.GenerativeNetwork "qiskit.aqua.components.neural_networks.GenerativeNetwork") | Base class for generative Quantum and Classical Neural Networks. |
|
|
|
|
# Neural Networks
|
|
|
|
| | |
|
|
| --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
|
|
| [`NumPyDiscriminator`](qiskit.aqua.components.neural_networks.NumPyDiscriminator "qiskit.aqua.components.neural_networks.NumPyDiscriminator") | Discriminator based on NumPy |
|
|
| [`PyTorchDiscriminator`](qiskit.aqua.components.neural_networks.PyTorchDiscriminator "qiskit.aqua.components.neural_networks.PyTorchDiscriminator") | Discriminator based on PyTorch |
|
|
| [`QuantumGenerator`](qiskit.aqua.components.neural_networks.QuantumGenerator "qiskit.aqua.components.neural_networks.QuantumGenerator") | Quantum Generator. |
|
|
|