qBraid-SDK extension providing support for QIR conversions.
| Release: | |release| |
|---|
Python package for generating QIR programs from Cirq, and other high-level quantum programming languages.
This project aims to make QIR (Quantum Intermediate Representation) accessible via the qBraid-SDK
transpiler, and by doing so, open the door
to language-specific conversions from any and all high-level quantum languages supported by qbraid.
"Interoperability opens doors to cross-fields problem-solving." - QIR Alliance: Why do we need it?.
pip install qbraid-qirDocker image providing an environment for testing and executing QIR programs with the qir-runner package.
Clone the qbraid-qir repository:
git clone https://github.com/qBraid/qbraid-qir.git
cd qbraid-qirBuild the QIR runner image:
docker build -t qbraid-test/qir-runner:latest qir_runnerStart the container running a Jupyter Server with the JupyterLab frontend and expose
the container's internal port 8888 to port 8888 of the host machine:
docker run -p 8888:8888 qbraid-test/qir-runner:latestVisiting http://<hostname>:8888/?token=<token> in a browser will launch JupyterLab, where:
- The hostname is the name of the computer running Docker (e.g.
localhost) - The token is the secret token printed in the console.
Alternatively, you can open a shell inside the running container directly:
docker exec -it <container_name> /bin/bash.. seealso:: https://github.com/qBraid/qbraid-qir/tree/main/test-containers
This project was conceived in cooperation with the Quantum Open Source Foundation (QOSF).
![]() |
![]() |
![]() |
![]() |
.. toctree:: :maxdepth: 1 :caption: User Guide :hidden: userguide/cirq_qir userguide/qasm3_qir
.. toctree:: :maxdepth: 1 :caption: API Reference :hidden: api/qbraid_qir api/qbraid_qir.cirq api/qbraid_qir.qasm3




