https://github.com/crazy4pi314/qwop
Helpful utilities for working with QIR in Python
https://github.com/crazy4pi314/qwop
qir quantum-computing quantum-programming
Last synced: about 1 month ago
JSON representation
Helpful utilities for working with QIR in Python
- Host: GitHub
- URL: https://github.com/crazy4pi314/qwop
- Owner: crazy4pi314
- License: mit
- Created: 2022-02-03T05:01:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-03T05:21:52.000Z (over 4 years ago)
- Last Synced: 2025-11-20T22:04:10.921Z (7 months ago)
- Topics: qir, quantum-computing, quantum-programming
- Language: Python
- Homepage:
- Size: 11.9 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# qwop : tools to help you get running with QIR in Python
_EXPERIMENTAL_
The point of the project is to help you not need this project 😅
This package is intended to be a collection of tools/utilities that allow
developers to work with [QIR](https://github.com/qir-alliance/qir-spec) in Python and add functionality to their own projects.
The hope is that with this sort of entry point developers can see and play around with QIR functionality such thaty they can then implement support in a more direct or integrated way in their own projects.
The primary dependency is on [pyQIR](https://github.com/qir-alliance/pyqir) for the core Python - QIR conversion implementation.
## Planned features
- [ ] Parse blocks from QIR bit files into circuit representations
- [x] Cirq
- [x] [OpenQASM2](https://arxiv.org/pdf/1707.03429v2.pdf)
- [ ] OpenQASM3
- [-] Qiskit (cheating right now, need direct impelmentation)
- [ ] QuTiP
- [ ] Visualization functions for loaded QIR modules.
- [x] Block level using [NetworkX](https://networkx.org/documentation/stable/index.html) and [pyvis](https://pyvis.readthedocs.io/en/latest/index.html) maybe? [Other examples](https://www.python-graph-gallery.com/network-chart/)
- Other ideas? File an issue! <3
## Resources/Notes
- Current project setup requires installing pyqir wheels from GH releases, qwop is currently build against release 0.0.1 of pyqir.
- For a development setup, see [CONTRIBUTING.md](CONTRIBUTING.md).
- Conversion tools inspired by [PR](https://github.com/microsoft/qsharp-compiler/pull/1221/files)