pygsti.objects.GateSet.set_rhovec¶
-
GateSet.
set_rhovec
(rhoVec, index=0)¶ Set a state prepartion vector by index. Calls make_spams automatically.
Parameters: - rhoVec (numpy array) – a column vector containing the state preparation vector.
- index (int, optional) – the index of the state preparation vector to set. Must be <= num_rhovecs(), where equality adds a new vector.