Coder Social home page Coder Social logo

prashanth-up / quantum-simulator Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 42 KB

A Quantum Simulator program utilizing matrix operations to simulate a quantum system capable of reproducing pseudo fundamentals of superposition and entanglement.

License: GNU General Public License v3.0

Jupyter Notebook 100.00%
quantum-simulator quantum-computing quantum-algorithms quantum

quantum-simulator's Introduction

Quantum-Simulator

A Quantum Simulator program utilizing matrix operations to simulate a quantum system capable of reproducing pseudo fundamentals of superposition and entanglement. This program however constitutes to perform operations on 2 qubits only. As limited to its 2 qubit operation versatality, this is still capable of multi-gate measurements. In addition to this, parametric gates are also enabled for inputs in variables with angles and radians.

A more readable way to view the jupyter notebook render: nbviewer

Current capabilities

  • Initialise state vectors.
  • Read program to calculate matrix operator for specific gates.
  • Modify the state by applying operators.
  • Perform multishot measurement of all qubits using weighted random technique.
  • Can run parametric gates.
  • Can run unitaries for radians.

Requirements

  • Python (3.5 or above preferred)
  • NumPy
  • math (inbuilt in py)
  • itertools (inbuilt in py)
  • Human with enough interest and patience to study this

Future features to be added

  • Allow parameterized gates in matrix operations.
  • Run variational quantum algorithms.

Support ⭐

Any bugs or improvements you find may remain in a state of superposition.

Feel free to contribute, however revolutionary or miniscule of a PR it may be.

quantum-simulator's People

Contributors

prashanth-up avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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