mqt.qecc.cc_decoder.utils

Utilities for the CC decoder.

Functions

code_from_string(lattice_type, distance) → mqt.qecc.codes.constructions.color_codes.color_code.ColorCode

Construct a color code from a string defining the lattice and a distance.

Module Contents

code_from_string(lattice_type: str, distance: int) → ColorCode[source]

Construct a color code from a string defining the lattice and a distance.