Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the new DefaultQubit class in pennylane >=0.33.0 #1874

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [UNRELEASED]

### Operations
### Changed

- Removed the `.operations` and `.observables` attributes on `QEDevice`

### Operation

- Set `pennylane` to `pennylane>=0.33.0`
- Remove `boto3` dependency from `tests/requirements.txt`

## [0.232.0-rc.0] - 2023-12-01
Expand Down
4 changes: 0 additions & 4 deletions covalent/_workflow/qdevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -42,9 +41,6 @@ class QEDevice(QubitDevice):
version = "0.0.1"
author = "aq"

operations = DefaultQubit.operations
observables = DefaultQubit.observables

def __init__(
self,
wires=1,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.33.0
psutil>=5.9.0
pydantic>=2.1.1
python-multipart>=0.0.6
Expand Down
Loading