squlearn.qnn.lowlevel_qnn.LowLevelQNN

class squlearn.qnn.lowlevel_qnn.LowLevelQNN(parameterized_quantum_circuit: EncodingCircuitBase, observable: ObservableBase | list, executor: Executor, *args, **kwargs)

Low-level QNN factory, which creates the specific low-level QNN based on the quantum framework.

Parameters:
  • pqc (EncodingCircuitBase) – The parameterized quantum circuit.

  • observable (Union[ObservableBase, list]) – The observable(s) to measure.

  • executor (Executor) – The executor for the quantum circuit.

  • *args – Additional arguments that are passed to the specific QNN.

  • **kwargs – Additional keyword arguments that are passed to the specific QNN.

Returns

LowLevelQNNBase: The specific low-level QNN based on the quantum framework.