pygsti.objects.FullyParameterizedGate.compose

FullyParameterizedGate.compose(otherGate)

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