pygsti.objects.GateSet.get_num_elements¶
-
GateSet.
get_num_elements
()¶ Return the number of total gate matrix and spam vector elements in this gateset. This is in general different from the number of parameters in the gateset, which are the number of free variables used to generate all of the matrix and vector elements.
Returns: the number of gateset elements. Return type: int