-
Notifications
You must be signed in to change notification settings - Fork 40
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
Native quantum control toml #554
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #554 +/- ##
=======================================
Coverage 99.49% 99.50%
=======================================
Files 50 50
Lines 8745 8814 +69
Branches 624 648 +24
=======================================
+ Hits 8701 8770 +69
Misses 25 25
Partials 19 19 ☔ View full report in Codecov by Sentry. |
7409fce
to
526635c
Compare
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
**Context:** Ongoing transition to the schema 2 of the quantum device toml specification **Description of the Change:** This is a minor source code clean up PR. * Remove force addition of the ControlQubitUnitary gate to the set of QJITDevice operations. This gate is handled by the generic logic in schema 2 config loader. In schema 1 loader, the sources already have all the required patches. * Explicitly list the runtime-supported controlled gates * Fix missing Projector observable in the lightning-kokkos device config * Open toml files in binary mode (fixes wheel builds) * Update some comments and simplify the set calculations. * Includes Cuda hotfix, to be removed after #617 is merged **Benefits:** Cleaner sources **Possible Drawbacks:** N/A **Related GitHub Issues:** #554
By this PR we change the TOML file schema in a way that allows us to represent quantum control at per-gate level.
[sc-57159]
[sc-57172]