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

Qubitization reformat #6182

Merged
merged 30 commits into from
Sep 5, 2024
Merged

Qubitization reformat #6182

merged 30 commits into from
Sep 5, 2024

Conversation

KetpuntoG
Copy link
Contributor

@KetpuntoG KetpuntoG commented Aug 29, 2024

This PR updates Qubitization to use qml.PrepSelPrep. It also fixes this bug
Note that we are changing from decompose Qubitization in PrepSelPrep . Reflection to Reflection.PrepSelPrep

Related GitHub Issues:
#6175

Related Shortcut Stories:
[sc-72403]

@KetpuntoG
Copy link
Contributor Author

[sc-71962]

@KetpuntoG
Copy link
Contributor Author

Pending on this issue to be solved

Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.65%. Comparing base (b37234d) to head (08d00f9).
Report is 338 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6182      +/-   ##
==========================================
- Coverage   99.65%   99.65%   -0.01%     
==========================================
  Files         446      446              
  Lines       42536    42239     -297     
==========================================
- Hits        42390    42092     -298     
- Misses        146      147       +1     

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

@KetpuntoG KetpuntoG requested a review from willjmax September 4, 2024 17:19
Copy link
Contributor

@willjmax willjmax left a comment

Choose a reason for hiding this comment

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

@KetpuntoG Looks good other than one concern about the equality function

pennylane/ops/functions/equal.py Show resolved Hide resolved
Copy link
Contributor

@obliviateandsurrender obliviateandsurrender left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @KetpuntoG!

@KetpuntoG KetpuntoG enabled auto-merge (squash) September 5, 2024 20:48
@KetpuntoG KetpuntoG merged commit e3cabd7 into master Sep 5, 2024
40 checks passed
@KetpuntoG KetpuntoG deleted the psp_reformat branch September 5, 2024 21:46
mudit2812 pushed a commit that referenced this pull request Sep 10, 2024
This PR updates `Qubitization` to use `qml.PrepSelPrep`. It also fixes
this [bug](#6175)
Note that we are changing from decompose Qubitization in PrepSelPrep .
Reflection to Reflection.PrepSelPrep

---------

Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
mudit2812 pushed a commit that referenced this pull request Sep 12, 2024
This PR updates `Qubitization` to use `qml.PrepSelPrep`. It also fixes
this [bug](#6175)
Note that we are changing from decompose Qubitization in PrepSelPrep .
Reflection to Reflection.PrepSelPrep

---------

Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
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