Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 711 Bytes

File metadata and controls

44 lines (28 loc) · 711 Bytes

pytket-pecos

This package enables emulation of pytket circuits using the PECOS emulator.

Installation

Installation requires Python 3.10, 3.11, 3.12 or 3.13. Linux, MacOS and Windows are all supported.

From pypi

pip install pytket_pecos

From source

# Clone the pytket-pecos repo:

git clone git@github.com:CQCL/pytket-pecos.git

# Set up the virtual environment

cd pytket-pecos
python -m venv env
. env/bin/activate
pip install -U pip flit wheel

# Install pytket-pecos

flit install

Testing

To run the unit tests:

python -m unittest test.test_emulator