tqecd.utils.has_reset#

has_reset(moment: Circuit) bool[source]#

Check if a stim.Circuit moment contains reset instructions.

Parameters:

moment – The moment to check.

Returns:

True if the provided moment has a reset, else False.