Skip to content

Abstract analog interface

Interface(sequence, non_trainable_parameters)

Bases: AbstractInterface[float, Sequence, float, RunResult, Counter, Qobj]

Source code in qadence2_platforms/backends/_base_analog/interface.py
def __init__(self, sequence: Sequence, non_trainable_parameters: set[str]) -> None:
    self._non_trainable_parameters = non_trainable_parameters
    self._params: dict[str, float] = dict()
    self._sequence = sequence