From 29ffa22ac4ed70ffee9039b74832cbacada92c05 Mon Sep 17 00:00:00 2001 From: Kartik Singhal Date: Mon, 27 Nov 2023 20:56:15 -0600 Subject: [PATCH] build: phirc also needs projectq, other cleanup (#45) --- .pre-commit-config.yaml | 4 ++-- README.md | 5 ++--- pyproject.toml | 2 +- requirements.txt | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bbcff0f..9994b9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: additional_dependencies: [ phir, pytest, - pytket-quantinuum==0.25.0, - pytket==1.21.0, + pytket-quantinuum, + pytket, types-setuptools, ] diff --git a/README.md b/README.md index 0d61223..041533e 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,8 @@ Just issue `pip install pytket-phir` to obtain the latest stable release. The package includes a tool for emulating QASM files from the command line using PECOS. -NOTE: PECOS currently requires installation using -`pip install "quantum-pecos@git+https://github.com/PECOS-packages/PECOS.git@e2e-testing"` -for the CLI to work. +NOTE: The CLI currently requires installation of additional dependencies using +`pip install projectq "quantum-pecos@git+https://github.com/PECOS-packages/PECOS.git@e2e-testing"` ```sh ❯ phirc -h diff --git a/pyproject.toml b/pyproject.toml index ab7a32a..fb60634 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ [project.optional-dependencies] docs = ["sphinx", "pydata_sphinx_theme"] -# phirc = ["quantum-pecos@git+https://github.com/PECOS-packages/PECOS.git@e2e-testing"] +phirc = ["projectq"] # add quantum-pecos>=5.0.0 once released tests = ["pytest"] [project.scripts] diff --git a/requirements.txt b/requirements.txt index 17593d8..5d71a1b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ build==1.0.3 mypy==1.7.1 +networkx==2.8.8 phir==0.1.6 pre-commit==3.5.0 pydata_sphinx_theme==0.14.3