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: 22 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-01T17:25:07.000Z (12 months ago)
- Last Synced: 2024-08-03T15:04:48.868Z (10 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<a id='applications'></a> / Physics)
README
# Quojo
A Quantum Computing Simulation written in Mojo. This really only serves as one of my passion projects for me to learn, but I would like it to expand into a larger platform for Quantum Development.## Goals
This project aims to implement classical strong simulation for quantum circuits with Parametric Rewriting in ZX-Calculus ([Paper](https://arxiv.org/pdf/2403.06777)) using the Mojo and Max Engine APIs to accelerate computation.I'm deferring development to Rust at the moment while we wait for Mojo to have the features I'd like it to have.
Check out [Quojo-Rust](./quojo-rust/docs/README.md)
## Current Features:
- Circuit construction.
- ZX Graph construction.
- Circuit and Graph visualization in Tikz.## TODO:
- Implement custom unitaries.
- Implement more graph rewriting.
- Implement circuit to graph conversion.
- Implement simulation.## References
Sutcliffe, Matthew, and Aleks Kissinger. "Fast classical simulation of quantum circuits via parametric rewriting in the ZX-calculus." arXiv preprint arXiv:2403.06777 (2024).```tex
@misc{sutcliffe2025fastclassicalsimulationquantum,
title={Fast classical simulation of quantum circuits via parametric rewriting in the ZX-calculus},
author={Matthew Sutcliffe and Aleks Kissinger},
year={2025},
eprint={2403.06777},
archivePrefix={arXiv},
primaryClass={quant-ph},
url={https://arxiv.org/abs/2403.06777},
}
```
van de Wetering, John. "ZX-calculus for the working quantum computer scientist." arXiv preprint arXiv:2012.13966 (2020).```tex
@misc{vandewetering2020zxcalculusworkingquantumcomputer,
title={ZX-calculus for the working quantum computer scientist},
author={John van de Wetering},
year={2020},
eprint={2012.13966},
archivePrefix={arXiv},
primaryClass={quant-ph},
url={https://arxiv.org/abs/2012.13966},
}
```