Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Deftioon/Quojo
A Quantum Computing Machine written in Mojo
https://github.com/Deftioon/Quojo
mojo mojo-lang mojo-language quantum quantum-computing
Last synced: 27 days ago
JSON representation
A Quantum Computing Machine written in Mojo
- Host: GitHub
- URL: https://github.com/Deftioon/Quojo
- Owner: Deftioon
- License: apache-2.0
- Created: 2024-02-11T07:04:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-01T17:25:07.000Z (6 months ago)
- Last Synced: 2024-08-03T15:04:48.868Z (4 months ago)
- Topics: mojo, mojo-lang, mojo-language, quantum, quantum-computing
- Language: Mojo
- Homepage:
- Size: 99.6 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mojo - Quojo - A Quantum Computing Machine written in Mojo (🖥️ Applications / Physics)
README
# 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. Moved to a Python adaptation, [PyQ](https://github.com/Deftioon/PyQ)## 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](USAGE.md)## Complex Number Module
See [COMPLEX.md](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})$.