-
Notifications
You must be signed in to change notification settings - Fork 615
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
Make qml.Qubitization
QJIT compatible
#6305
Conversation
…into qjit-qubitization
Hello. You may have forgotten to update the changelog!
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6305 +/- ##
=======================================
Coverage 99.39% 99.39%
=======================================
Files 445 446 +1
Lines 42315 42326 +11
=======================================
+ Hits 42060 42071 +11
Misses 255 255 ☔ View full report in Codecov by Sentry. |
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.
Looks good, thanks!
Catalyst does not support passing a list of wires into the identity operator, so the following code causes a segmentation fault `qml.Identity([0, 1])` To make this template QJIT compatible we need to build the Identity operator as a tensor product of single wire Identity operators instead of passing in a list of wires. This PR addresses [sc-74444].
This PR adds QJIT compatibility tests for all supported PL templates. Some tests currently fail, and rely on fixes from the following PennyLane PRs: [#6305](PennyLaneAI/pennylane#6305), [#6306](PennyLaneAI/pennylane#6306), [#6307](PennyLaneAI/pennylane#6307). This PR addresses [sc-72625]. --------- Co-authored-by: Guillermo Alonso-Linaje <65235481+KetpuntoG@users.noreply.github.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Catalyst does not support passing a list of wires into the identity operator, so the following code causes a segmentation fault
qml.Identity([0, 1])
To make this template QJIT compatible we need to build the Identity operator as a tensor product of single wire Identity operators instead of passing in a list of wires. This PR addresses [sc-74444].