GenerativeNetwork¶
- class GenerativeNetwork[source]¶
Base class for generative Quantum and Classical Neural Networks.
This method should initialize the module, but raise an exception if a required component of the module is not available.
Methods
Apply quantum/classical neural network to given input and get the respective output
Loss function used for optimization
Set seed.
GenerativeNetwork.train
([quantum_instance, …])Perform one training step w.r.t to the generator’s parameters