PyQIR makes it easy to work with Quantum Intermediate Representation (QIR) using Python. You can use it to parse and evaluate existing QIR modules or generate new ones.


PyQIR can be installed using pip:

pip install pyqir

You can also build PyQIR from source.

Supported Systems#

PyQIR runs on most 64-bit x86 systems with Python 3.7 or newer.

There are two tiers of support. Tier 1 systems are guaranteed to work and we publish official binaries for them. Tier 2 systems are likely to work and may be compatible with the binaries published for a tier 1 system, but may need to be built from source instead.

Tier 1#

  • Ubuntu 20.04

  • Debian 9

  • macOS 11

  • Windows Server 2019

Tier 2#

  • Ubuntu 22.04

  • Debian 11, 10

  • macOS 12, 10.7-10.15

  • Windows 11, 10