qecx.AsymmetricDistance

class qecx.AsymmetricDistance(X, Z)

Bases: object

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

Both distances are positive integers: the minimum weight of an undetected Pauli error of the corresponding type.

Variables:
  • X (int) – Minimum weight of an undetected X-error.

  • Z (int) – Minimum weight of an undetected Z-error.