qecx.DecoderEntry

class qecx.DecoderEntry(*, slug, parameters=<factory>, tags=())

Bases: object

Declaration of one supported syndrome decoder with its parameters and tags.

The entry’s presence in a document is itself the capability declaration; an entry without parameters or tags is a complete, legal declaration.

Variables:
  • slug (str) – Short decoder name (e.g. "pymatching", "chromobius"); the key the document stores the entry under.

  • parameters (Mapping[str, object]) – Global, non-per-detector settings for the decoder, opaque to the generic layer; values are JSON-native (None, bool, int, float, str, or lists/dicts thereof with str keys). Defaults to an empty mapping.

  • tags (tuple[DecoderTag, ...]) – Per-detector tags of the decoder; sequence input is normalized to a tuple at construction.