-
Notifications
You must be signed in to change notification settings - Fork 40
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
Downstream LightningSimulator C++ API to the pennylane-lightning repository #960
Conversation
pennylane_lightning/core/src/simulators/lightning_qubit/catalyst/LightningSimulator.cpp
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #960 +/- ##
==========================================
- Coverage 97.97% 91.76% -6.21%
==========================================
Files 221 179 -42
Lines 33726 24889 -8837
==========================================
- Hits 33043 22840 -10203
- Misses 683 2049 +1366 ☔ View full report in Codecov by Sentry. |
4c54c9f
to
497f0e3
Compare
3e05dbf
to
00bf076
Compare
This reverts commit 80714a6.
pennylane_lightning/core/src/simulators/lightning_qubit/catalyst/LightningSimulator.cpp
Show resolved
Hide resolved
pennylane_lightning/core/src/simulators/lightning_qubit/catalyst/LightningSimulator.cpp
Show resolved
Hide resolved
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.
Thanks @rauletorresc! I'm concerned about the new dependencies on runtime/capi
and runtime/tests
. Let's resolve the remaining comments before merging the PR :)
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.
Thanks @rauletorresc! Happy to approve 🥳
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.
LGTM! We might come back to refactor catalyst integration code once there is feature parity across all sv backends
**Context:** Catalyst needs to build a class wrapping the Lightning Qubit class. Here we are moving the logic from Catalyst to the Lightning repository. **Description of the Change:** Moving code from Catalyst to this repository and updating the build system to build against Catalyst. **Benefits:** Catalyst wheels will build faster. **Note:** We need the PR in lightning to be merged first PennyLaneAI/pennylane-lightning#960 [sc-70319] [sc-70317]
Context: Catalyst needs to build a class wrapping the Lightning Qubit class. Here we are moving the logic from Catalyst to the Lightning repository.
Description of the Change: Moving code from Catalyst to this repository and updating the build system to build against Catalyst.
Benefits: Catalyst wheels will build faster.
Possible Drawbacks: Our build system now relies on headers coming from Catalyst. It is unclear if this may cause a deadlock in the future because of our cyclic dependencies (PennyLane, PennyLane Lightning, Catalyst). Chances are small because we don't rely on Catalyst wheels or build it from scratch.
[sc-70316]
[sc-70318]
[sc-70317]