pytket-phir#

PHIR stands for PECOS High-level Intermediate Representation. See PHIR specification for more.

pytket-phir is a circuit analyzer and translator from pytket to PHIR.

Also included is the CLI tool phirc that takes QASM programs as input and emulates them using PECOS.

Installation#

Requires Python >=3.12, <3.16.

To install pytket-phir, simply run:

pip install pytket-phir

For the optional phirc CLI:

pip install "pytket-phir[phirc]"

Indices and tables#