SteaneEncoderParams

class guppyft.code.steane.encode.SteaneEncoderParams(*, n_blocks: int)[source]

Parameters for a Steane encoding.

n_blocks

Number of logical blocks available to the encoding.

Type:

int

__eq__(other)

Return self==value.

__init__(*, n_blocks: int) → None
__repr__()

Return repr(self).

encoding() → str[source]

Return the identifier for the Steane encoding.

params() → Mapping[str, Any][source]

Return the Steane-specific encoding parameters.