Fix logic for handling repetition_ids
in CircuitOperation.replace
#16816
Loading
repetition_ids
in CircuitOperation.replace
#16816