pygsti.objects.TPParameterizedGate.__init__

TPParameterizedGate.__init__(M)

Initialize a TPParameterizedGate object.

Parameters:M (array_like or Gate) – a square 2D numpy array representing the gate action. The shape of this array sets the dimension of the gate.