# RepetitionCode¶

class RepetitionCode(d, T=0)[소스]

기반 클래스: object

Implementation of a distance d repetition code, implemented over T syndrome measurement rounds.

Creates the circuits corresponding to a logical 0 and 1 encoded using a repetition code.

매개변수
• d (int) – Number of code qubits (and hence repetitions) used.

• T (int) – Number of rounds of ancilla-assisted syndrome measurement.

 get_circuit_list returns self.circuit as a list, with process_results param raw_results A dictionary whose keys are logical values, readout Readout of all code qubits, which corresponds to a logical measurement as well as allowing for a measurement of the syndrome to be inferred. syndrome_measurement Application of a syndrome measurement round. x Applies a logical x to the circuits for the given logical values.