Coder Social home page Coder Social logo

quplayground's Introduction

QuPlayground

A new way to test your ideas about quantum circuit.

A brief user guide

a

b

Examples

Bell test

A Bell test experiment or Bell's inequality experiment, also simply a Bell test, is a real-world physics experiment . In this demonstration you can see the interesting result when measuring a pair of EPR.

1

c

Shor algorithm

Shor's algorithm, named after mathematician Peter Shor, is a quantum algorithm for integer factorization.  In this demonstration we implement a simple case for N = 3 * 5 to show some features of quantum computing like undeterministic.

4

d

Quantum teleportation

Quantum teleportation is a process by which quantum information from one location to another.  In this demonstration you will see that first bit is "teleported" to the third bit. (You can change the first bit, run it again and again, and use the result of measurement to check that.)

8

e

Features

  • Purely JavaScript
    • which means cross-platform (Windows/Linux/Android/iOS...)
  • Build from the bottom
    • from complex number, matrix, qubit ... all way to the top
    • less dependency (GoJS for diagrams, Bootstrap for good looking... and no more)
    • a set of useful tools (Qubit, Qstat...to help you easily manage quantum state)
    • common Qgates (Pauli-X/Y/Z, Hadamard, C_U, SWAP) with relatively easy setup
  • Easy to tweak (without having to write a lot of code)
    • serialize to save and load your model
    • a convenient and intuitive GUI to build quantum circuit

Collaborators

Special thanks to Jingyi Cai, who helps me a lot in understanding of Shor algorithm and other stuffs.

quplayground's People

Contributors

camelop avatar

Stargazers

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