Giter Site home page Giter Site logo

theheavygluon / bervaz Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 164 KB

berVaz is a basic module I wrote that allows one to either simulate or run the Bernstein-Vazirani on a real IBMQ quantum device of choice in only one line of code.

License: MIT License

Python 4.25% Jupyter Notebook 95.75%

bervaz's Introduction

berVaz

berVaz is a basic module I wrote that allows one to either simulate or run the Bernstein-Vazirani algorithm on a real IBMQ quantum device of choice in only one line of code.

There are two main functions:

sim(n), which simulates the berVaz algorithm on your computer using the qasm_simulator

and

run(n,device='ibmq_16_mealborne'), which pretty much runs the experiment on any IBMQ device you want (with ibmq_16_mealborne being the default)

Note that for berVaz to work, you need to have qiskit set-up and using it on jupyter notebook (preferrably). The run() function will only work if you dealt with the token and stuff beforehand.

Good luck and feel free to contact me for any reason!

bervaz's People

Contributors

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