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

PhaseShift optimizations for qml.clifford_t_decomposition #6842

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

obliviateandsurrender
Copy link
Contributor

@obliviateandsurrender obliviateandsurrender commented Jan 16, 2025

Context: Compilation transform converts adjoints of some gates to rotations that may result in complex decomposition due to the internal handling of the global phase.

Description of the Change: We try to catch PhaseShift-based simplification when we process rotation gates.

Benefits: Some simple cases like Adjoint(S) and Adjoint(T) will no longer give unexpectedly deep decompositions.

Possible Drawbacks:

Related GitHub Issues: [sc-82010], #6131

This comment was marked as outdated.

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.60%. Comparing base (0bed5e8) to head (7ca9d78).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6842   +/-   ##
=======================================
  Coverage   99.60%   99.60%           
=======================================
  Files         476      476           
  Lines       45178    45189   +11     
=======================================
+ Hits        44999    45010   +11     
  Misses        179      179           

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

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.

1 participant