C++ implementation of the sweep decoder for topological quantum codes with and without boundaries. See https://arxiv.org/abs/2004.07247 and https://arxiv.org/abs/1809.10145.
Use CMake to build. During the build process CMake will automatically download googletest and pcg-cpp. Tested on Linux (Ubuntu 16.04 & 18.04) and macOS.
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug ../
make
make test
- The python script
data_generator.py
is the entry_point - Run
python data_generator.py --help
for information - See
example_script.py
for an example of a bigger run
- Interactive models of the L=3 cubic and rhombic-dodecahedral lattices are included in the
models
directory - To open the files, use vZome