squlearn.qnn.lowlevel_qnn
.LowLevelQNN
- class squlearn.qnn.lowlevel_qnn.LowLevelQNN(parameterized_quantum_circuit: EncodingCircuitBase, observable: ObservableBase | list, executor: Executor, num_features: int, post_processing: Callable = None, *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.
post_processing (Callable) – Optional post processing function operating on the result dict after evaluate.
*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.