pygsti.objects.GateSet.get_rhovec

GateSet.get_rhovec(index=0)

Get a state prepartion vector by index.

Parameters:index (int, optional) – the index of the vector to return.
Returns:a state preparation vector of shape (gate_dim, 1).
Return type:numpy array