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.