You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add native controlled operation support for Lightning Kokkos (#950)
### Before submitting
Please complete the following checklist when submitting a PR:
- [X] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to
the
[`tests`](../tests) directory!
- [X] All new functions and code must be clearly commented and
documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running `make docs`.
- [X] Ensure that the test suite passes, by running `make test`.
- [X] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
the
change, and including a link back to the PR.
- [X] Ensure that code is properly formatted by running `make format`.
When all the above are checked, delete everything above the dashed
line and fill in the pull request template.
------------------------------------------------------------------------------------------------------------
**Context:**
Native arbitrary controlled operations have already been implemented in
Lightning Qubit and Lightning GPU. This PR adds support for controlled
operations to Lightning Kokkos as well. This PR is the base branch of
combination of multiple PRs
([1](#952),
[2](#953),
[3](#954),
[4](#955),
[5](#956),
[6](#958),
[7](#965))
**Description of the Change:**
Controlled named-gates, matrix, generators, and adjoint differentiation
capability is added to Lightning Kokkos C++ layer.
**Benefits:**
Better performance for controlled operations in Lightning Kokkos (CPU +
GPU). Adjoint differentiation now supported in Lightning Kokkos.
**Possible Drawbacks:**
**Related GitHub Issues:**
[sc-78995]
---------
Co-authored-by: ringo-but-quantum <[email protected]>
Co-authored-by: Ali Asadi <[email protected]>
0 commit comments