tqecd.utils.has_combined_measurement_reset#

has_combined_measurement_reset(moment: Circuit) bool[source]#

Check if a stim.Circuit moment contains combined instructions.

Combined instructions are instructions that implement both a measurement and a reset in one step.

Parameters:

moment – The moment to check.

Returns:

True if the provided moment has a combined instruction, else False.