From f9556ef61bc3fa610b1ee522296ad54bf0e6fe7d Mon Sep 17 00:00:00 2001 From: "Andrew S. Rosen" Date: Tue, 5 Dec 2023 21:17:39 -0800 Subject: [PATCH 1/6] [Not for merge] Find out where QEDevice.operations is being used --- covalent/_workflow/qdevice.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/covalent/_workflow/qdevice.py b/covalent/_workflow/qdevice.py index 418c167f9..c560b812c 100644 --- a/covalent/_workflow/qdevice.py +++ b/covalent/_workflow/qdevice.py @@ -42,9 +42,6 @@ class QEDevice(QubitDevice): version = "0.0.1" author = "aq" - operations = DefaultQubit.operations - observables = DefaultQubit.observables - def __init__( self, wires=1, From 15d17c014e2c391f7c84cf0c88d7b55a99e2595d Mon Sep 17 00:00:00 2001 From: "Andrew S. Rosen" Date: Tue, 5 Dec 2023 21:18:09 -0800 Subject: [PATCH 2/6] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bdffc7147..903cc6bf8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ mpire>=2.7.1 natsort>=8.4.0 networkx>=2.8.6 orjson>=3.8.10 -pennylane>=0.31.1,<0.33.0 +pennylane>=0.31.1 psutil>=5.9.0 pydantic>=2.1.1 python-multipart>=0.0.6 From e529174ecc2df7582f9c22d4bd53271f7d0e5dbe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 6 Dec 2023 05:18:16 +0000 Subject: [PATCH 3/6] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- covalent/_workflow/qdevice.py | 1 - 1 file changed, 1 deletion(-) diff --git a/covalent/_workflow/qdevice.py b/covalent/_workflow/qdevice.py index c560b812c..4fdd00360 100644 --- a/covalent/_workflow/qdevice.py +++ b/covalent/_workflow/qdevice.py @@ -22,7 +22,6 @@ from pennylane import QubitDevice from pennylane import numpy as np -from pennylane.devices.default_qubit import DefaultQubit from ..quantum.qclient.core import middleware From 486fa566024e956d8f26c3e2cf82b0ca52294a56 Mon Sep 17 00:00:00 2001 From: "Andrew S. Rosen" Date: Tue, 5 Dec 2023 21:21:28 -0800 Subject: [PATCH 4/6] Update CHANGELOG.md --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3b07900e..8205f2721 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [UNRELEASED] +### Changed + +- Removed the `.operations` and `.observables` attributes on `QEDevice` + +### Operation + +- Removed upper bound pin on `pennylane` + ## [0.232.0-rc.0] - 2023-12-01 ### Authors From 6c27baa0c3ada164072eb444fa0bf1e445669807 Mon Sep 17 00:00:00 2001 From: "Andrew S. Rosen" Date: Tue, 5 Dec 2023 21:38:38 -0800 Subject: [PATCH 5/6] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 903cc6bf8..cb0d6fd46 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ mpire>=2.7.1 natsort>=8.4.0 networkx>=2.8.6 orjson>=3.8.10 -pennylane>=0.31.1 +pennylane>=0.33.0 psutil>=5.9.0 pydantic>=2.1.1 python-multipart>=0.0.6 From c94db272f639145c7e2adfb15c220a9f4d603e1f Mon Sep 17 00:00:00 2001 From: "Andrew S. Rosen" Date: Tue, 5 Dec 2023 21:39:06 -0800 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8205f2721..ef972dc28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Operation -- Removed upper bound pin on `pennylane` +- Set `pennylane` to `pennylane>=0.33.0` ## [0.232.0-rc.0] - 2023-12-01