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