This repository contains the code for generating the samples for benchmarking the decoder performance. It is based on the TensorQEC package.
Clone the repository and run the following command in the root directory to install the dependencies:
make initGenerate the samples:
make generate-surface-samplesRun the benchmark:
make run-benchmark-surface-BPTo run the benchmarks for python packages, first install a conda environment with the following command:
make init-condaThen run the following command to install the dependencies:
make init-ldpcThen run the following command to run the benchmark:
make run-benchmark-ldpc-surface-BPSamples of the depolarizing channel are available at OneDrive. The codes include:
- Surface code with
$d = 9$ and$d = 21$ (TODO: more). - BBCode [[144, 12, 12]].