lifted_product

lifted_product#

Functions

bivariate_bicycle_code

Construct the bivariate bicycle code with circulants of size l and m respectively.

generalised_bicycle_code

Construct the generalised bicycle code with circulant of size l, see eg https://arxiv.org/abs/1904.02703, https://arxiv.org/abs/1212.6703.

lift_connected_surface_codes

Construct the lift-connected surface code with base code paramaterised by l and lift matrix parameterised by L.

polynomial_to_qubits

Converts a polynomial in two variables into a set of qubits in a bivariate bicycle code.

primed_X_logical

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

primed_Z_logical

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

tensor_product

Calculate the tensor product in the category of chain complexes given two length 1 chain complexes, i.e. classical codes.

unprimed_X_logical

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

unprimed_Z_logical

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