-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Frontend] Implement quantum device capabilities as a data structure (#…
…609) In this PR we implement a dedicated data structure representing quantum device capabilities. Previously we used toml document IR for this purpose. We see the following benefits in the new approach: * Data structure simplifies capability calculations we do for our QJITDevice. Now the capabilities of QJITDevice and of the third-party devices we support are represented in the same format. * We reduce the internal usage of `C(Gate)/Adjoint(Gate)` syntax to minimum. We still use it only to communicate with PennyLane's API In subsequent PRs we will use it for program verification. [sc-59478] --------- Co-authored-by: Romain Moyard <rmoyard@gmail.com>
- Loading branch information
Showing
8 changed files
with
627 additions
and
560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.