Skip to content
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

Decompose ops to unitary transform #598

Merged
merged 94 commits into from
Mar 18, 2024
Merged

Decompose ops to unitary transform #598

merged 94 commits into from
Mar 18, 2024

Conversation

rmoyard
Copy link
Contributor

@rmoyard rmoyard commented Mar 13, 2024

Context:
Integration of the new device API.

Description of the Change:
We add a preprocess transform that takes a list of operation names that needs to be decomposed as qml.QubitUnitary. One step forward towards feature parity with the old device API.

Benefits:
A modular transform for decomposition to qubit unitary.

Sergei Mironov and others added 30 commits March 1, 2024 13:11
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
@rmoyard rmoyard changed the base branch from main to native-quantum-control-toml March 13, 2024 15:33
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.50%. Comparing base (2a4fba1) to head (49bb58a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #598   +/-   ##
=======================================
  Coverage   99.50%   99.50%           
=======================================
  Files          50       51    +1     
  Lines        8814     8838   +24     
  Branches      648      651    +3     
=======================================
+ Hits         8770     8794   +24     
  Misses         25       25           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rmoyard rmoyard marked this pull request as ready for review March 13, 2024 18:32
@rmoyard rmoyard requested a review from dime10 March 13, 2024 18:55
Base automatically changed from native-quantum-control-toml to main March 13, 2024 19:33
Copy link
Contributor

@erick-xanadu erick-xanadu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@rmoyard rmoyard merged commit 541a537 into main Mar 18, 2024
36 checks passed
@rmoyard rmoyard deleted the operations_verification branch March 18, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants