pygsti.objects.LinearlyParameterizedGate.to_vector

LinearlyParameterizedGate.to_vector()

Extract a vector of the underlying gate parameters from this gate.

Returns:a 1D numpy array with length == num_params().
Return type:numpy array