pygsti.objects.GateSet.from_vector

GateSet.from_vector(v)

The inverse of to_vector. Loads values of gates and/or rho and E vecs from from a vector v according to the optional parameters. Note that neither v nor the optional parameters specify what number of gates and their labels, and that this information must be contained in the gateset prior to calling from_vector. In practice, this just means you should call the from_vector method of the gateset that was used to generate the vector v in the first place.