-
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.
Native quantum control toml fixup (#600)
**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
- Loading branch information
Sergei Mironov
authored
Mar 20, 2024
1 parent
1f46e2c
commit fe916ea
Showing
5 changed files
with
109 additions
and
88 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
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.