Git Product home page Git Product logo

dkmfr's Introduction

dkmfr

Synthesis of reversible circuits.

Installing required modules:

pip install sympy pip install argparse

or simply use:

pip install -r requirements.txt

Usage:

dkmfr.py [-h] [--bi BI] [--functions FUNCTIONS [FUNCTIONS ...]] [--samples SAMPLES] [--nbits NBITS]

Example:

$ DKMFR.py --bi 2 --functions hwb4 4b15g_2

Optional arguments:

-h, --help show this help message and exit.

--bi BI choose 1 for forward only, and choose 2 for forward/reverse.

--functions FUNCTIONS [FUNCTIONS ...] Choose benchmark functions from 4b15g_1, 4b15g_2, 4b15g_3, 4b15g_4, 4b15g_5, hwb4, 4_49, toffoli_double_2, nth_prime4_inc, ham3_complete_47(28), miller_complete_5, toffoli_1, ex-1_82, 3_17, nth_prime3_inc, RCFK, ex1Miller, ex2Miller, ex3Miller, ex4Miller, ex5Miller, ex6Miller, ex7Miller, aj-e11_complete_74(81), mod5mils_complete_26(18), nth_prime5_inc, hwb5_13, mod5adder, hwb6, nth_prime6_inc, graycode6_complete_19, nth_prime7_inc, ham7, hwb7_15, random. You can choose multiple functions separating them by spaces.

--samples SAMPLES how many random permutations will be generated.

--nbits NBITS how many bits in random permutations.

dkmfr's People

Contributors

marquezino avatar raphaelbernardino avatar

Stargazers

 avatar

Watchers

 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.