pygsti.objects.Gate.get_dimension

Gate.get_dimension()

Return the dimension of the gate matrix.