xir.ObservableFactor¶
- class ObservableFactor(name: str, params: Union[List[Union[complex, str, Decimal, DecimalComplex, bool, List[Param]]], Dict[str, Union[complex, str, Decimal, DecimalComplex, bool, List[Param]]]], wires: Sequence[Union[int, str]])[source]¶
Bases:
objectObservable factor to be used in observable definitions.
- Parameters
name (str) – name of the factor
params (Params) – the parameters of the factor
wires (Sequence[Wire]) – the wires this factor acts on
api/xir.ObservableFactor
Download Python script
Download Notebook
View on GitHub