- NumPyDiscriminator.train(data, weights, penalty=False, quantum_instance=None, shots=None)¶
Perform one training step w.r.t to the discriminator’s parameters
weights (tuple) – real problem, generated problem
penalty (bool) – Depreciated for classical networks.
quantum_instance (QuantumInstance) – Depreciated for classical networks.
shots (int) – Number of shots for hardware or qasm execution. Ignored for classical networks.
with Discriminator loss and updated parameters.