pygsti.objects.LinearlyParameterizedGate.compose¶
-
LinearlyParameterizedGate.
compose
(otherGate)¶ Create and return a new gate that is the composition of this gate followed by otherGate, which must be another LinearlyParameterizedGate. (For more general compositions between different types of gates, use the module-level compose function.) The returned gate’s matrix is equal to dot(this, otherGate).
Parameters: otherGate (LinearlyParameterizedGate) – The gate to compose to the right of this one. Returns: Return type: LinearlyParameterizedGate