Skip to content

MikeVasmer/Sweep-Decoder-Boundaries

Repository files navigation

Sweep-Decoder-Boundaries

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.

Build instructions

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.

Step-by-step instructions

  • mkdir build && cd build
  • cmake -DCMAKE_BUILD_TYPE=Release ../
  • make

To run the tests

  • mkdir build && cd build
  • cmake -DCMAKE_BUILD_TYPE=Debug ../
  • make
  • make test

Usage

  • 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

Lattice models

  • Interactive models of the L=3 cubic and rhombic-dodecahedral lattices are included in the models directory
  • To open the files, use vZome

About

C++ implementation of the sweep rule decoder for topological quantum codes with boundaries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published