pygsti.objects.LinearlyParameterizedGate.get_num_params¶
-
LinearlyParameterizedGate.
get_num_params
(bG0=True)¶ Get the number of independent parameters which specify this gate.
Parameters: bG0 (bool) – Whether or not the first row of the gate matrix should be parameterized. This is significant in that in the Pauli or Gell-Mann bases a the first row determines whether the gate is trace-preserving (TP). Returns: the number of independent parameters. Return type: int