tqecd.utils.has_circuit_repeat_block#

has_circuit_repeat_block(moment: Circuit) bool[source]#

Check if a stim.Circuit moment contains a stim.CircuitRepeatBlock.

Parameters:

moment – The moment to check.

Returns:

True if the provided moment has a stim.CircuitRepeatBlock, else False.