pygsti.objects.StaticSPAMVec.__init__

StaticSPAMVec.__init__(vec)

Initialize a StaticSPAMVec object.

Parameters:vec (array_like or SPAMVec) – a 1D numpy array representing the SPAM operation. The shape of this array sets the dimension of the SPAM op.