RepetitionCode.syndrome_measurement

RepetitionCode.syndrome_measurement(reset=True, barrier=False)[source]

Application of a syndrome measurement round.

Parameters
  • reset (bool) – If set to true add a boolean at the end of each round

  • barrier (bool) – Boolean denoting whether to include a barrier at the end.