Giter Club home page Giter Club logo

amitanilkulkarni / kitaev-toric-decoder Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 3.0 1.52 MB

This is a simulation of optimal decoder for Kitaev's Toric Codes, written in C++. The optimal toric decoder has a theoretical threshold of 11%. Through this simulation, I have successfully verified the threshold of 11%. This was done as a part of my MTech thesis at IIT Madras.

Shell 0.69% Makefile 0.98% C++ 98.33%
topological-quantum-computation stabilizer-code kitaev topological-surface-states

kitaev-toric-decoder's Introduction

----------------------------------------------------------------------
     CSS SURFACE CODES : DECODER SIMULATION FOR SQUARE LATTICE
----------------------------------------------------------------------

		AMIT A KULKARNI (EE11B069)
		DEPARTMENT OF ELECTRICAL ENGG
		IIT MADRAS, CHENNAI
		
----------------------------------------------------------------------

1) REQUIRED PACKAGES AND SYSTEM

   To compile the code, the following packages must be installed:

   gcc		Version should support C++11	(tested on v5.3)
   openmp	LLVM OpenMP Runtime Library	(tested on v3.7)
   boost	For boost graph libraries	(tested on v1.60)
   gsl		GNU Scientific Library		(tested on v2.1)

   BLOSSOM-V	Check README_FIRST.txt in ./blossom/

2) COMPILATION

    For toric decoder simulation     :  make decoder
    For square octagonal decoder     :  make sqoct
    To clean the compiled files      :  make clean

    Before building the code, it is recommended to clean the present
    object files using 'make clean'.

   
3) USAGE
 
   A) Toric code decoder simulation:

      ./surface_decoder [L] [P_START] [P_END] [P_STEP] [NUM_THREADS]
  
      Example:
          ./surface_decoder 8 0.05 0.18 0.02 12

      Where,

          L = Dimension of the square lattice (LxL)
          P_START = Starting point of error probability
          P_END = End point of error probability
          P_STEP = Step between values of error probability
          NUM_THREADS = Number of process threads. Optimal is $(nproc).

   B) Square octagonal decoder simulation:

      ./square_octagonal

kitaev-toric-decoder's People

Contributors

amitanilkulkarni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.