-
Notifications
You must be signed in to change notification settings - Fork 3
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: Add missing tket2 quantum gates, generalise RotationCompile #510
feat: Add missing tket2 quantum gates, generalise RotationCompile #510
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #510 +/- ##
==========================================
- Coverage 91.67% 91.58% -0.10%
==========================================
Files 59 59
Lines 6138 6166 +28
==========================================
+ Hits 5627 5647 +20
- Misses 511 519 +8 ☔ View full report in Codecov by Sentry. |
[q, angle] = args | ||
qs, angle = args[:-1], args[-1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[q, angle] = args | |
qs, angle = args[:-1], args[-1] | |
[*qs, angle] = args |
@guppy.hugr_op(quantum_op("CY")) | ||
def cy(control: qubit, target: qubit) -> None: ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add these functions to the quantum_functional
module?
Co-authored-by: Mark Koch <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [0.12.1](v0.12.0...v0.12.1) (2024-09-23) ### Features * Add Definition.compile producing Hugr Package ([#504](#504)) ([d8c8bec](d8c8bec)) * Add missing tket2 quantum gates, generalise RotationCompile ([#510](#510)) ([18d4b4c](18d4b4c)) ### Miscellaneous Chores * release 0.12.1 ([#512](#512)) ([b309a94](b309a94)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Addresses #484