Git Product home page Git Product logo

tqec's Introduction

tqec geometry generator

Software for generating a geometric description corresponding to a TQEC circuit.

Please reference http://www.nature.com/articles/srep30600 (http://arxiv.org/abs/1604.08621) if you use the software.

To use it:

  1. make all

  2. make cpbin (copies some files into bin)

  3. have a look in the visual folder (visual/localscript.sh)

The quantum circuit file is bin/circuit.raw.in It is possible to generate adders and other circuits directly in the code (see code starting at here).

tqec's People

Contributors

alexandrupaler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tqec's Issues

failure of single cnot circuit and some simple tests

Hi Alexandru,

I'm a student in electrical engineering in US and reading your paper on http://arxiv.org/abs/1604.08621v1. It looks like there are failed cases with the following circuits.
#1.

circuit.raw

c 1 2

This is a simple CNOT gate with control qubit 1 and target qubit 2.
The visual part does not work when I open index.html.
#2.

circuit.raw

t 1
c 1 2 3

The second line is supposed to be a toffoli gate of control qubit 1 and two target qubits 2 and 3.
I got segmentation fault in executing "./convertft circuit.raw.in 0"

The program is compiled under OS X with clang. But I think the problem can also be reproduced under unix with gcc. Hope these inputs are legal to the program.

Thanks
Yibo

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.