GenerativeNetwork.get_output¶
- abstract GenerativeNetwork.get_output(quantum_instance, qc_state_in, params, shots)[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.
qc_state_in (QuantumCircuit or vector) – corresponding to the network input state
params (numpy.ndarray) – parameters which should be used to run the generator, if None use self._params
shots (int) – if not None use a number of shots that is different from the number set in quantum_instance
- Returns
Neural network output
- Raises
NotImplementedError – not implemented