pygsti.objects.DataSet.has_key

DataSet.has_key(gatestring)

Test whether data set contains a given gate string.

Parameters:gatestring (tuple or GateString) – A tuple of gate labels or a GateString instance which specifies the the gate string to check for.
Returns:whether gatestring was found.
Return type:bool