Giter Site home page Giter Site logo

fumbles / quantum-ugly-duckling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rochisha0/quantum-ugly-duckling

0.0 0.0 0.0 2.17 MB

Qiskit Hackathon Project

License: Apache License 2.0

JavaScript 0.10% Python 0.89% HTML 0.59% Jupyter Notebook 98.36% Dockerfile 0.07%

quantum-ugly-duckling's Introduction

Quantum Ugly Duckling

main image

"One thing that traditional computer systems aren’t good at is coin flipping. They’re deterministic, which means that if you ask the same question you’ll get the same answer every time. In fact, such machines are specifically and carefully programmed to eliminate randomness in results. They do this by following rules and relying on algorithms when they compute.” -Steve Ward, Professor of Computer Science and Engineering at MIT’s Computer Science and Artificial Intelligence Laboratory.

  • Qiskit Hackathon Project

  • The aim of this project is

    • to find a use case of the noise
    • to build a random number generator with a quantum computer with the help of only noise
    • Connect the project with IBM cloud
    • Create a Discord bot with the help of Quantum Simulator
  • Random numbers can be used in various applications like

    • The Monte Carlo simulation for electric circuits
    • For procedural generation of landscape in games
    • For cryptography to have a save way to authenticate

What we did

  1. Creating a Quantum Random Number Generator using just noise.
  2. Testing the new QRNG and comparing with the Hadamard Random Number Generator.
  3. Linking the Quantum Random Number Generator with the Qad jokes in the IBM cloud.
  4. Creating a Discord API to display the Qad jokes.

  • We created our random number generator using 3 ways:

    • Mapping a noise model onto the Qasm simulator
    • Using the noisy real hardware
    • Proposal for using pulse to extract randomness
  • We also tested our circuits using FFT.

    • Comparing the up to now used Hadamard circuit to our noisy quantum circuit showed, that the randomness is comparable, in both the simulator and the real device.
  • The NQRNG in this project was used to make a Discord bot tell random Qad jokes (quantum dad jokes).

    • These jokes are taken from Cloudant in IBM cloud database where the participants of the Hackathon could add jokes.
    • Details of how to build Discord bot with IBM Cloud is here: Make a discord bot for qadjokes

How does the Qadjoke bot work

bot

quantum-ugly-duckling's People

Contributors

tula3and avatar wwhurin avatar kathrinkoenig avatar rochisha0 avatar 0sophy1 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.