pygsti.objects.LinearlyParameterizedGate.from_vector

LinearlyParameterizedGate.from_vector(v)

Initialize the gate using a vector of its parameters.

Parameters:v (numpy array) – The 1D vector of gate parameters. Length must == num_params().
Returns:
Return type:None