Coder Social home page Coder Social logo

mikevasmer / sweep-decoder-boundaries Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 1.0 166 KB

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

License: MIT License

CMake 1.63% Python 2.47% C++ 95.81% Shell 0.09%

sweep-decoder-boundaries's Introduction

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

sweep-decoder-boundaries's People

Contributors

mikevasmer avatar padraic-padraic avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dua-arpit

sweep-decoder-boundaries's Issues

Fix cubic toric

Output for p=q=0.01 N=1024 should be basically no logical error, that isn't what is currently happening.
Threshold with direction change should be ~1.7%.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.