From 79a8fb781f3282a977d167119d359b242ce72586 Mon Sep 17 00:00:00 2001 From: Mudit Pandey Date: Tue, 5 Nov 2024 15:29:15 -0500 Subject: [PATCH 1/3] Increase PL lower bound --- CHANGELOG.md | 3 +++ pennylane_rigetti/device.py | 2 +- requirements.txt | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86c8c5d4..f4b977ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ * Support for Python 3.9 has been removed, and support for Python 3.12 has been added. [(#167)](https://github.com/PennyLaneAI/pennylane-rigetti/pull/167) +* Upgrade minimum supported version of PennyLane to 0.38.0. + [(#)]() + ### Bug fixes 🐛 * Fix deprecated import path for `QubitDevice`. diff --git a/pennylane_rigetti/device.py b/pennylane_rigetti/device.py index a60b0b50..ffa5d105 100644 --- a/pennylane_rigetti/device.py +++ b/pennylane_rigetti/device.py @@ -181,7 +181,7 @@ class RigettiDevice(QubitDevice): For simulator devices, 0 means the exact EV is returned. """ - pennylane_requires = ">=0.18" + pennylane_requires = ">=0.38" version = __version__ author = "Rigetti Computing Inc." diff --git a/requirements.txt b/requirements.txt index cbb0d64a..44459095 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ numpy>=1.21 networkx>=2.5,<3.0 -pennylane>=0.32 +pennylane>=0.38 pyquil>=3.0.0,<4.0.0 qcs-api-client>=0.20.13,<0.22.0 From 140f6a15da52430d4798e8d248d2da0b9993c534 Mon Sep 17 00:00:00 2001 From: Mudit Pandey Date: Tue, 5 Nov 2024 15:37:23 -0500 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4b977ca..24f85436 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ [(#167)](https://github.com/PennyLaneAI/pennylane-rigetti/pull/167) * Upgrade minimum supported version of PennyLane to 0.38.0. - [(#)]() + [(#168)](https://github.com/PennyLaneAI/pennylane-rigetti/pull/168) ### Bug fixes 🐛 From 035655c3d3c0a48ae079be979346d63846fb51c4 Mon Sep 17 00:00:00 2001 From: Alex Preciado Date: Wed, 6 Nov 2024 02:28:18 -0500 Subject: [PATCH 3/3] Trigger CI