Code dataΒΆ

The algebraic definition of a code: one class per code type, all derived from CodeData, and the Pauli products they are built from.

CodeData()

Nominal base shared by every algebraic code-data class.

AsymmetricDistance(X, Z)

Separate X- and Z-distances for codes where d_X differs from d_Z.

CSSCodeData(n, k, d, H_X, H_Z, ...)

Algebraic surface for a CSS code.

StabilizerCodeData(n, k, d, ...)

Algebraic surface for a general stabilizer code.

SubsystemCSSCodeData(n, k, d, gauge_X, ...)

Algebraic surface for a subsystem CSS code.

SubsystemStabilizerCodeData(n, k, d, ...[, ...])

Algebraic surface for a subsystem stabilizer code.

PauliProductOperator(_be)

Endianness-typed wrapper for a single Pauli product over {"I", "X", "Y", "Z"}.