pygsti.objects.FullyParameterizedSPAMVec.set_vector

FullyParameterizedSPAMVec.set_vector(vec)

Attempts to modify SPAMVec parameters so that the specified raw SPAM vector becomes vec. Will raise ValueError if this operation is not possible.

Parameters:vec (array_like or SPAMVec) – A numpy array representing a SPAM vector, or a SPAMVec object.
Returns:
Return type:None