Coder Social home page Coder Social logo

quojo's Introduction

Quojo

A Quantum Computing Simulation written in Mojo. This really only serves as one of my passion projects, but I would like it to expand into a larger platform for Quantum Development.

Goals

This project aims to:

  • Provide an easy to use, comprehensible, and simple interface to simulate operations on a Quantum System
    • This will be done with a simple QuantumWire("H X Y H") Quantum Wiring Syntax, Circuit.Connect(Wire, Wire) Quantum Circuitry Syntax to give full freedom on the customizability of Quantum Circuits.
  • Fast, Parallelized Compute on Quantum Operations.
    • This will make use of Mojo's fast parallelization, tiling, and autotune to optimize Matrix operations. Eventually when enabled to run on GPU, we will utilize GPU to perform matrix operations for more speed.

TODO:

  • Implement Uncomputing
  • Implement Quantum RAM
  • Implement Quantum Circuits
  • Add Sample Programs (Quantum Search, Quantum Teleportation)
  • Optimize code and make it more readable
    • Parallelize Quantum Gates

Usage

See USAGE.md

Complex Number Module

See COMPLEX.md

Sample Programs

Quantum Search

With a classical computer, a linear search has time complexity $O(n)$. With a Quantum Computer, a Quantum Search has time complexity $O(\sqrt{n})$.

quojo's People

Contributors

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