pygsti.objects.TPParameterizedGate.compose¶
-
TPParameterizedGate.
compose
(otherGate)¶ Create and return a new gate that is the composition of this gate followed by otherGate, which must be another TPParameterizedGate. (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 (TPParameterizedGate) – The gate to compose to the right of this one. Returns: Return type: TPParameterizedGate