From 25a81c49dfc87035cb54bd93a137cc0755148468 Mon Sep 17 00:00:00 2001 From: David Yonge-Mallo Date: Sun, 21 Jul 2024 04:07:10 +0200 Subject: [PATCH] Fix pyzx version at 0.8. A change after this version enforces that `phase` is a `Fraction` with an `assert`, which breaks `test_random_circuits` as it sometimes produces a `phase` which is a floating point value. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e0ae39e..b7cfb4b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -pyzx>=0.8.0 # or use pyzx@git+https://github.com/Quantomatic/pyzx for latest development version +pyzx~=0.8.0 # or use pyzx@git+https://github.com/Quantomatic/pyzx for latest development version matplotlib>=3.7.4 numpy>=1.24.0,<2 # can't go higher than 1.24.0 for python 3.8 pylatexenc~=2.10