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 __delattr__(name)¶ Implement delattr(self, name). __eq__(other)¶ Return self==value. __init__(*, n_blocks: int) → None¶ __repr__()¶ Return repr(self). __setattr__(name, value)¶ Implement setattr(self, name, value). encoding() → str[source]¶ Return the identifier for the Steane encoding. params() → Mapping[str, Any][source]¶ Return the Steane-specific encoding parameters.