🐲 PyQIR
Open bounties:- $40 | Upgrade samples to ANTLR 4.10
- $175 | pyqir-evaluator should gracefully fail when bitcode contains unknown external functions
- $50 | Add mypy to CI
- $15 | Migrate to Rust 2021 Edition
PyQIR is a set of APIs for generating, parsing, and evaluating Quantum
Intermediate Representation (QIR). It
consists of the following components:
pyqir-generator
[examples]:
Provides a Python API for generating QIR
(bitcode and
IR). It is intended to easily integrate
the QIR toolchain into existing Python-based frontends.pyqir-evaluator
[examples]:
Provides an easy way to execute generated QIR. It contains the
necessary just-in-time
compilation
infrastructure as well an extensibility mechanism to define what actions to
perform when a gate is applied in Python.pyqir-parser:
Provides a Python API for loading QIR for basic analysis and
transformation.qirlib - a Rust library
wrapping LLVM libraries for working with QIR that is used
by the above Python packages.
Open PyQIR GitHub issues are here.