apaetz / qfault Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/qfault
Automatically exported from code.google.com/p/qfault
This collection of Python modules implements the malignant set counting procedure described in TBD. Its primary purpose is to compute a lower bound on the tolerable depolarizing noise threshold for fault-tolerant circuits based on the Golay code. 1. Software requirements ------------------------ Python modules were written and tested for Python version 2.7. Some or all modules may be compatible with previous versions, but this has not been tested. The following third-party packages are also required. Tested versions are listed. - Sympy 0.7.1.rc1 http://sympy.org - matplotlib 1.0.0 http://matplotlib.sourceforge.net - gmpy 1.11 http://gmpy.sourceforge.net - Cython 0.12.1 http://cython.org - numpy 1.3.0 http://numpy.scipy.org - gcc 3.4.3 http://gcc.gnu.org (for build purposes only) TODO: The build and run instructions are out of date. 2. Build instructions --------------------- Functions for the most time consuming part of the counting procedure are written in C and bound to a Python interface using Cython. To compile the C source and build Python bindings run, cd src/component/cython sh buildCython 3. How to run the code ---------------------- The top-level Python module is located at src/GolayCounting.py. It is recommended run this module by executing the wrapper script 'countGolay'. Usage of countGolay is as follows: countGolay [nslots] [prep] [countRests] Options: nslots -- The number of threads (slots/CPUs/cores) to use prep -- The ancilla preparation, either 'rand' or 'overlap' countRests -- 'true' to count rest locations, 'false' to ignore rest locations Running time on 31 cores is approximately four days. Checkpoint results are saved as compressed pickle files in the 'data/' directory and allow execution to be be terminated and then restarted at a later time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.