pygsti.objects.GateSet.get_identity_vec

GateSet.get_identity_vec()

Get the identity vector in the basis being used by this gateset.

Returns:The identity column vector. Note this is a reference to the GateSet’s internal object, so callers should copy the vector before changing it.
Return type:numpy array