Comments (3)
@maliasadi, where would you say this issue stands, after #327 got merged?
At least the first point seems taken care of, but maybe the second is still relevant?
from catalyst.
The installation and support of ever device shouldn't be checked by PennyLane a priori. Catalyst must have its own device checking mechanism to check the installed backend devices. Currently, the frontend heavily relies on PL device infra so that every backend device has to pip install, otherwise PL throws an error complaining that the plugin/device isn't installed!
Can you explain what you want here? Why does Catalyst need its own device checking mechanism to check the installed backend devices? Don't we want to converge with how PL treats devices?
from catalyst.
The installation and support of every device shouldn't be dependent on PL a priori. Catalyst must have its own device checking mechanism to verify the installed backend devices. Currently, the frontend heavily relies on PL's device infrastructure, requiring every backend device to be installed via pip, otherwise, PL throws an error, complaining that the plugin/device isn't installed.
We're moving in an opposite direction with the device communication API. This suggestion is outdated.
Device options should be communicated through Catalyst and to the runtime, without the frontend needing to know hardcoded details about the devices.
That's on our roadmap and will be addressed by the communication API.
If the options must be cached/stored in the frontend, we can potentially utilize a dataclass that also facilitates the serialization of
device_kwargs
in the backend,
This is also not required anymore by getting the plugin systems fully implemented for all backend devices.
My main concerns regarding the addition of new backend devices have been thoroughly discussed in the past months and they have either been addressed or are now part of our roadmap. We are currently moving towards separating devices and dynamically loading them to improve scalability & flexibility, and we plan to implement a consistent device communication protocol. Let's close this issue as the objectives are being updated more in the opposite direction.
from catalyst.
Related Issues (20)
- Invoking PassPipelines multiple times with no clear explanation in CompilerDriver HOT 1
- [BUG] Compilation failure when indexing 32-bit int wire arrays HOT 1
- [BUG] Error when performing measurement on wire array with single wire HOT 1
- Support `qml.Projector` observable HOT 1
- [BUG] `jax.scipy.linalg.expm` does not work HOT 2
- Improve how the SciPy BLAS library is found HOT 1
- Raise an error if we attempt to call a QJIT'ed context inside a callback HOT 2
- Support for `IsingZZ` in Catalyst
- Document how to install ccache for macOS and virtualenv
- Autograph fails when used with Catalyst's JAX VJP integration
- Support building on conda
- [BUG] `jax.scipy.linalg.expm` doesn't work due to undefined symbols
- Compiling with return signature raises an exception.
- Find a better way to link blas routines from jaxlib HOT 2
- Add exponential fitting functionality to ZNE HOT 3
- Add local folding to ZNE error mitigation HOT 4
- Automatic conversion of operator-based array updates
- [BUG] catalyst.for_loop default argument `i` cannot be used as a concrete value HOT 10
- Can we use `--buffer-results-to-out-params`?
- It would be nice to have an interface (or documentation) for accessing the original function of a QJIT object HOT 3
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 catalyst.