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

feat: Emit infallible floatrotation conversions #560

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

aborgna-q
Copy link
Collaborator

@aborgna-q aborgna-q commented Oct 15, 2024

Closes #550 #549

  • Updates tket2 dependency to >0.4.1, where we added the tket2.rotation.from_halfturns_unchecked op
  • Updates the json extension definitions
  • Removes the panicking conditional when converting floats into rotations for quantum op params.

@aborgna-q aborgna-q requested a review from a team as a code owner October 15, 2024 13:33
@aborgna-q aborgna-q requested a review from qartik October 15, 2024 13:33
@aborgna-q aborgna-q marked this pull request as draft October 15, 2024 13:43
@aborgna-q aborgna-q removed the request for review from qartik October 15, 2024 13:43
qartik
qartik previously approved these changes Oct 15, 2024
@qartik qartik dismissed their stale review October 15, 2024 13:45

CI failure

@aborgna-q
Copy link
Collaborator Author

We may need some more fixes before updating the tket2 dep -.-

@aborgna-q
Copy link
Collaborator Author

I temporarily disabled the guppy → pytket tests, as they need extra support from tket2.
CQCL/tket2#504

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.08%. Comparing base (3aecbf7) to head (4c45d13).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #560      +/-   ##
==========================================
- Coverage   91.09%   91.08%   -0.01%     
==========================================
  Files          59       59              
  Lines        6264     6257       -7     
==========================================
- Hits         5706     5699       -7     
  Misses        558      558              

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

@aborgna-q aborgna-q marked this pull request as ready for review October 15, 2024 15:49
@aborgna-q aborgna-q requested a review from qartik October 15, 2024 15:49
@aborgna-q aborgna-q added this pull request to the merge queue Oct 15, 2024
Merged via the queue into main with commit 74944a7 Oct 15, 2024
3 checks passed
@aborgna-q aborgna-q deleted the ab/infallible-rotations branch October 15, 2024 15:54
ss2165 pushed a commit that referenced this pull request Oct 21, 2024
Closes #550 

- Updates `tket2` dependency to `>0.4.1`, where we added the
`tket2.rotation.from_halfturns_unchecked` op
- Updates the json extension definitions
- Removes the panicking conditional when converting floats into
rotations for quantum op params.
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