French
Langues
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese



GenerativeNetwork.train

abstract GenerativeNetwork.train(quantum_instance=None, shots=None)[source]

Perform one training step w.r.t to the generator’s parameters

Paramètres:
  • quantum_instance (QuantumInstance) – used to run generator network. Ignored for a classical network.

  • shots (int) – Number of shots for hardware or qasm execution. Ignored for classical network

Renvoie:

generator loss and updated parameters.

Type renvoyé:

dict

Lève:

NotImplementedError – not implemented