RepetitionCode.x

RepetitionCode.x(logs=('0', '1'), barrier=False)[source]

Applies a logical x to the circuits for the given logical values.

Parameters
  • logs (list or tuple) – List or tuple of logical values expressed as strings.

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