pygsti.objects.TPParameterizedGate.from_vector

TPParameterizedGate.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