Code Monkey home page Code Monkey logo

quantum's Introduction

Quantum

A software for Android that emulates the actions of a quantum computer

It's main purpose is to enable testing to everyone, even on the go. Since this app is only an emulator, it can show the position of the qubits on the bloch sphere. This app can also show the vector representations of the states in a straightforward way. The limit is only the computing power of your device!

About the backend

The app uses a home-made backend written entirely in Java. Since the app does not use Qiskit, no such functionality is included. Scripts cannot be run, however, it is planned!

Main features

  • 10 qubits
  • Gates with at most 4 qubits
  • Parallel processing (1-64 threads)
  • Extremely high number of shots (up to 2^20)
  • Numerous predefined gates
  • Users can define custom gates
  • Get results immediately → No queues, everything is done locally
  • Export results as .csv
  • Import / Export gate sequence & Export as OpenQASM
  • Show bloch sphere
  • Display the final state-vector of the system
  • Graph the probability distribution

Predefined Gates

Single Qubit
  • Hadamard
  • Pauli-X/Y/Z
  • S-gate, T-gate (π/2 & π/4 phase shift)
  • √NOT
  • Identity
  • U3
  • Rotation (using spherical coordinates)
Multi Qubit
  • Controlled U3-gate
  • CNOT/CY/CZ (Controlled Pauli)
  • Controlled T and S gates
  • Controlled Hadamard
  • SWAP
  • Toffoli (CCNOT)
  • Fredkin (CSWAP)
  • Quantum Fourier Transform (up to 6 qubits)

Desktop key shortcuts

Key Action
Ctrl+Z Undo
Ctrl+Y Redo
Ctrl+S Save
Ctrl+E Export
Ctrl+D Clear timeline
Ctrl+R Run
Ctrl+M Switch statevector mode
Ctrl+B Show Bloch sphere
Ctrl+O Open file
Ctrl+A Add gate
Ctrl+→ Scroll right
Ctrl+← Scroll left
Ctrl+↑ Scroll up
Ctrl+↓ Scroll down
W Go up
A Go left
S Go down
D Go right
E Edit selected
M Toggle qubit measurement on/off
Planned features

Display multi-qubit Bloch sphere Create and run algorithms with loops and conditions
Display the final unitary matrix of the system


Get it on Google Play

quantum's People

Contributors

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