QuantumGenerator.construct_circuit

QuantumGenerator.construct_circuit(params=None)[source]

Construct generator circuit.

Parameters

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

Returns

construct the quantum circuit and return as gate

Return type

Instruction