pygsti.objects.SPAMVec¶
-
class
pygsti.objects.
SPAMVec
(vec)¶ Excapulates a parameterization of a state preparation OR POVM effect vector. This class is the common base class for all specific parameterizations of a SPAM vector.
-
__init__
(vec) Initialize a new SPAM Vector
Methods
__init__
(vec)Initialize a new SPAM Vector convert_to_vector
(V)Static method that converts a vector-like object to a 2D numpy dim x 1 column array. get_dimension
()Return the dimension of the gate matrix. -