Skip to content

Commit

Permalink
Fix the issue with initializing LK with zero-qubit and invalid number…
Browse files Browse the repository at this point in the history
… of control_wires in ctrl_decomp_zyz (#757)

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`.

- [ ] 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:**
- [X] Fix the issue with initializing `lightning.kokkos` with zero-qubit
and
- [X] Invalid number of control_wires in ctrl_decomp_zyz (PR
PennyLaneAI/pennylane#5735)
- [x] Add test for `device('lightning.kokkos', wires=0)`

**Description of the Change:**

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**
Fixes #751

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
  • Loading branch information
2 people authored and multiphaseCFD committed Jun 7, 2024
1 parent 2457024 commit c710998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane_lightning/core/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.37.0-dev31"
__version__ = "0.37.0-dev30"

0 comments on commit c710998

Please sign in to comment.