Pyqir
PyQIR is a set of APIs for generating, parsing, and evaluating Quantum Intermediate Representation (QIR).
Install / Use
/learn @qir-alliance/PyqirREADME
PyQIR
PyQIR is a set of APIs for generating, parsing, and evaluating Quantum Intermediate Representation (QIR). This repository contains:
-
This package provides a Python API for parsing and generating QIR. It is intended to easily integrate the QIR toolchain into existing Python-based frontends. For more advanced scenarios, we recommend taking a look at the LLVM-based infrastructure provided by QAT.
It also provides an easy way to run 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.
-
This is a Rust library wrapping LLVM for working with QIR that is used by PyQIR.
Documentation
Feedback
If you have feedback about the content in this repository, please let us know by filing a new issue!
Contributing
There are many ways in which you can contribute to PyQIR, whether by contributing a feature or by engaging in discussions; we value contributions in all shapes and sizes! We refer to this document for guidelines and ideas for how you can get involved.
Contributing a pull request to this repo requires to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. A CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately. Simply follow the instructions provided by the bot. You will only need to do this once.
Code of Conduct
This project has adopted the community covenant Code of Conduct. Please contact qiralliance@mail.com for Code of Conduct issues or inquiries.
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
