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 L-GPU and L-Kokkos as package extras
* Auto update version
* Update changelog
* Temp enable the x86 wheel cache
* Return wheel storage functionality to normal
* Update readme
* Auto update version
* Trigger CI
* Update README.rst
Co-authored-by: Amintor Dusko <[email protected]>
---------
Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Amintor Dusko <[email protected]>
* Update setup.py to allow for multi-package co-existence. The PennyLane_Lightning package now is the responsible for the core functionality, and will be depended upon by all other extensions.
* Switch most L-Qubit default kernels to `LM`. Add `LM::multiQubitOp` tests, failing when targeting out-of-order wires clustered close to `num_qubits-1`. Fix the `LM::multiQubitOp` kernel implementation by introducing a generic `revWireParity` routine and replacing the `bitswap`-based implementation. Mimic the changes fixing the corresponding `multiQubitOp` and `expval` functors in L-Kokkos.
Copy file name to clipboardExpand all lines: README.rst
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -189,9 +189,27 @@ Note that OpenMP and BLAS are disabled in this setting.
189
189
Lightning Kokkos installation
190
190
=============================
191
191
192
+
For linux systems, `lightning.kokkos` and be readily installed with an OpenMP backend by providing the optional ``[kokkos]`` tag:
193
+
194
+
.. code-block:: console
195
+
196
+
$ pip install pennylane-lightning[kokkos]
197
+
198
+
This can be explicitly installed through PyPI as:
199
+
200
+
.. code-block:: console
201
+
202
+
$ pip install pennylane-lightning-kokkos
203
+
204
+
205
+
Building from source
206
+
--------------------
207
+
208
+
As Kokkos enables support for many different HPC-targetted hardware platforms, `lightning.kokkos` can be built to support any of these platforms when building from source.
209
+
192
210
We suggest first installing Kokkos with the wanted configuration following the instructions found in the `Kokkos documentation <https://kokkos.github.io/kokkos-core-wiki/building.html>`_.
193
211
Next, append the install location to ``CMAKE_PREFIX_PATH``.
194
-
If an installation is not found, our builder will install it from scratch nevertheless.
212
+
If an installation is not found, our builder will clone and install it during the build process.
195
213
196
214
The simplest way to install PennyLane-Lightning-Kokkos (OpenMP backend) is using ``pip``.
197
215
@@ -220,7 +238,7 @@ To build the plugin directly with CMake:
Supported backend options are "SERIAL", "OPENMP", "THREADS", "HIP" and "CUDA" and the corresponding build options are ``-DKokkos_ENABLE_XXX=ON``, where ``XXX`` needs be replaced by the backend name, for instance ``OPENMP``.
241
+
The supported backend options are "SERIAL", "OPENMP", "THREADS", "HIP" and "CUDA" and the corresponding build options are ``-DKokkos_ENABLE_XXX=ON``, where ``XXX`` needs be replaced by the backend name, for instance ``OPENMP``.
224
242
One can activate simultaneously one serial, one parallel CPU host (e.g. "OPENMP", "THREADS") and one parallel GPU device backend (e.g. "HIP", "CUDA"), but not two of any category at the same time.
225
243
For "HIP" and "CUDA", the appropriate software stacks are required to enable compilation and subsequent use.
226
244
Similarly, the CMake option ``-DKokkos_ARCH_{...}=ON`` must also be specified to target a given architecture.
0 commit comments