Skip to content

Commit

Permalink
Change Lightning to inherit from QubitDevice instead of DefaultQubit (#…
Browse files Browse the repository at this point in the history
…365)

* Change Lightning to inherit from QubitDevice

* update python tests

* expand cmake hints for Kokkos search

* NotImplementedError for SparseHamiltonian expval in the absence of Kokkos

* update changelog

* update apply method to rely on apply_lightning for rotations

* update tests and conftest

* Update pennylane_lightning/lightning_qubit.py

* add black to requirements-dev

* update adjoint jacobian tests

* add stopping condition and tests

* without binary skip decomposition test
  • Loading branch information
AmintorDusko authored Oct 31, 2022
1 parent 277ce6f commit 2590eee
Show file tree
Hide file tree
Showing 17 changed files with 619 additions and 502 deletions.
2 changes: 2 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* Update gcc and g++ 10.x to 11.x in CI tests. This update brings improved support for newer C++ features.
[(#370)](https://github.com/PennyLaneAI/pennylane-lightning/pull/370)

* Change Lightning to inherit from QubitDevice instead of DefaultQubit.
[(#365)](https://github.com/PennyLaneAI/pennylane-lightning/pull/365)

### Documentation

Expand Down
2 changes: 2 additions & 0 deletions cmake/process_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ if(ENABLE_KOKKOS)
/usr
/usr/local
/opt
/opt/Kokkos
)
if(Kokkos_FOUND)
message(STATUS "Found existing Kokkos library")
Expand All @@ -134,6 +135,7 @@ if(ENABLE_KOKKOS)
/usr
/usr/local
/opt
/opt/KokkosKernels
)
if(KokkosKernels_FOUND)
message(STATUS "Found existing Kokkos Kernels library")
Expand Down
2 changes: 1 addition & 1 deletion pennylane_lightning/_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.27.0-dev11"
__version__ = "0.27.0-dev12"
Loading

0 comments on commit 2590eee

Please sign in to comment.