deltakit.explorer.types.MatrixSpecifications#

class deltakit.explorer.types.MatrixSpecifications(param_l: int, param_m: int, m_A_powers: list[int], m_B_powers: list[int])#

Bases: JSONable

Parameters to be passed to BivariateBicycle code type, IBM Bivariate Bicycle qLDPC codes, as specified in arXiv:2308.07915. The parameter n below as in the [[n,k,d]] specification of an error-correcting code refers to a number of physical qubits.

Parameters:
  • param_l (int) – The parameter l, used to construct a code of length n = 2lm.

  • param_m (int) – The parameter m, used to construct a code of length n = 2lm.

  • m_A_powers (List[int]) – The powers of the polynomial terms used to construct the matrix A. Each polynomial is of the form x^a + y^b + y^c so the sequence should specify [a, b, c].

  • m_B_powers (List[int]) – The powers of the polynomial terms used to construct the matrix B. Each polynomial is of the form y^a + x^b + x^c so the sequence should specify [a, b, c].

Methods#

MatrixSpecifications.to_gql

Get a dictionary for the current object

MatrixSpecifications.to_json