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



QGAN.run

QGAN.run(quantum_instance=None, **kwargs)[source]

Execute the algorithm with selected backend. :type quantum_instance: Union[QuantumInstance, BaseBackend, Backend, None] :param quantum_instance: the experimental setting. :param kwargs: kwargs :type kwargs: dict

Returns

results of an algorithm.

Return type

dict

Raises

QiskitMachineLearningError – If a quantum instance or backend has not been provided