- StateFn.compose(other, permutation=None, front=False)¶
Composition (Linear algebra-style: A@B(x) = A(B(x))) is not well defined for states in the binary function model, but is well defined for measurements.
OperatorBase) – The Operator to compose with self.
List[int]which defines permutation on other operator.
bool) – If front==True, return
- Type renvoyé
An Operator equivalent to the function composition of self and other.
ValueError – If self is not a measurement, it cannot be composed from the right.