pygsti.objects.GateSet.dim

GateSet.dim

The dimension of the gateset, which equals d when the gate matrices have shape d x d and spam vectors have shape d x 1.

Returns:gateset dimension
Return type:int