Comments (8)
@Andrew-S-Rosen so when creating a new device in Pennylane there are some attributes that the custom device is required to have, essentially describing what are all the operations and observables that this particular device supports as not all devices can physically support all operations/observables. This is why here we are simply making our device support whatever the default device supports. This is why you couldn't find it in the codebase 😅 because it's something that is required by pennylane when defining a custom device.
from covalent.
@kessler-frost: Makes perfect sense to me! I was admittedly relying blind on the test suite for this since I don't know anything about pennylane. I'll go ahead and close this!
Edit: Oops, I thought this was a PR. The issue should still be kept open until it's resolved!
from covalent.
I'd say even your PR should be open 😅 . I can comment on there once it's resolved. Until then you can keep it in draft mode instead I believe.
from covalent.
Looks like this is the offending line:
covalent/covalent/_workflow/qdevice.py
Line 45 in e45bd30
@kessler-frost: Is the QEDevice.operations
attribute actually used anywhere? I couldn't spot it from a quick search in the codebase, but maybe I missed it.
from covalent.
@kessler-frost: Ah, that explains it! So then in order to resolve this issue, we basically need to swap out the required attributes (if any) and then would need to pin a lower-bound version on pennylane if I understand correctly.
from covalent.
That is correct.
from covalent.
Sorry @Andrew-S-Rosen , but I think this issue will be blocked by #1877 😓 . We don't currently have tests enabled for the qelectrons (which are the reason behind the Pennylane dependency), thus we cannot know whether upgrading to version 33 will break the feature or not (or if the feature has gotten broken due to a recent change yet).
from covalent.
Sounds good!!
from covalent.
Related Issues (20)
- Looking into the GPU support for GCP Batch executor PR by the external contributor
- Updating/Verifying OS support for python 3.9 and 3.10 HOT 1
- Suppress the SQL Alchemy warning that shows up when starting fresh covalent server
- Address consistent error in logs with no functional effect
- Resolve all the dependabot PRs across all repos
- Deployment CRM does not convert `bool`, `NoneType`, or `Sequence` correctly HOT 1
- Remove electron object from electron decorator wrapper HOT 1
- Unable to emit socket messages for dispatches
- SDK only installs fail due to unsatisfied SQLAlchemy dependency
- Better sublattice graph navigation
- Add support for redispatch tracking original dispatch id to OS HOT 1
- Optimizing `covalent start/stop` time
- A `TypeError` is raised if a dictionary with a non-string key is passed as the input to an `@electron`
- Add a how to for module deps feature
- Logs in the UI have the wrong timezone
- The `workdir` setting does not appear to work for the Dask/local executors
- Editing the `@ct.lattice` executor in a Jupyter Notebook is not always reflected if importing a `@ct.electron`
- Updating the compatibility matrix doc
- Bug in `qelectron` compatiblity with pennylane
- Unable to install covalent with poetry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covalent.