localuf.decoders.luf.constants

Constants for local Union–Find decoder.

Module Attributes

BUSY_SIGNAL_SYMBOLS

How drawer should label a node with(out) a busy signal.

ACTIVE_SIGNAL_SYMBOLS

How drawer should label a node with(out) an active signal.

Classes

Stage(*values)

Constants for stage values.

localuf.decoders.luf.constants.BUSY_SIGNAL_SYMBOLS = {False: ' ', True: 'b'}

How drawer should label a node with(out) a busy signal.

localuf.decoders.luf.constants.ACTIVE_SIGNAL_SYMBOLS = {False: ' ', True: 'A'}

How drawer should label a node with(out) an active signal.

class localuf.decoders.luf.constants.Stage(*values)[source]

Bases: IntEnum

Constants for stage values.

INCREMENT = 1
SV_STAGE_COUNT = 4

Syndrome validation stage count.

BP_STAGE_COUNT = 3

Burning & peeling stage count.

GROWING = 0
MERGING = 1
PRESYNCING = 2
SYNCING = 3
BURNING = 4
PEELING = 5
DONE = 6