primed_X_logical

primed_X_logical#

ssip.lifted_product.primed_X_logical(alpha: tuple[int], g: list[tuple[int]], h: list[tuple[int]], l: int, m: int) list[int][source]#

Picks out a particular X logical in the primed block of a bivariate bicycle code, see p23 of https://arxiv.org/abs/2308.07915.

Parameters:
  • alpha – A monomial in F_2[x, y], i.e. a pair of integers

  • x (being powers of)

  • y.

  • g – A polynomial in F_2[x, y].

  • h – A polynomial in F_2[x, y].

  • l – Size of first circulants in the tensor product.

  • m – Size of second circulants in the tensor product.

Returns:

The set of indices i.e. qubits in the code, which the X logical has support on.