Git Product home page Git Product logo

q-tetris's Introduction

Q-Tetris

input

The benchmark circuits used in our paper.

  • ".qasm" files: circuits from Qiskit Lib and those used in SABRE.
  • ".txt" files: circuits from RevLib. Each one is a sequence of "tq [$x_i$]", where "q" is the number of qubits on which the gate performs and "[$x_i$]" represents the qubits.

output

The the experimental results.

  • ".qasm" files: physical circuits
  • ".qasm.txt" files: scheduling sequences. A scheduling sequence is a sequence of (start execution time, duration, qubits). For example, "1 2 3 4" represents that a gate whose duration is 2 is executed at time 1 on qubits $q_3$ and $q_4$.

start

tetris argv[1...5]

  • argv[1]: directory where benchmark circuits are inputed
  • argv[2]: directory where physical circuits and scheduling sequences are outputed
  • argv[3]: ".txt" file where the experimental data are outputed, including execution time of secheduling sequence, compile time
  • argv[4]: $l$ in Fig.8 in our paper, set as 45 in our experiment
  • argv[5]: $k$ in Fig.7 in our paper, set as 256 in our experiment

example

Run the following command in the build directory

"cmake .."

"make"

"tetris ../input/debug ../output/debug ../output/debug/debug.txt 45 256"

q-tetris's People

Contributors

liyongshang 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.