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



GenerativeNetwork.get_output

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

Apply quantum/classical neural network to given input and get the respective output

Parameters
  • quantum_instance (QuantumInstance) – Quantum Instance, used to run the generator circuit.

  • params (Optional[ndarray]) – parameters which should be used to run the generator, if None use self._params

  • shots (Optional[int]) – if not None use a number of shots that is different from the number set in quantum_instance

Return type

Tuple[List, List]

Returns

Neural network output

Raises

NotImplementedError – not implemented