pygsti.objects.StaticGate.from_vector

StaticGate.from_vector(v)

Initialize the gate using a vector of parameters.

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