Skip to content

Mark CUQUANTUM_SDK env var set as optional #964

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@

### Documentation

* Mark ``CUQUANTUM_SDK`` environment variable set as an option.
[(#964)](https://github.com/PennyLaneAI/pennylane-lightning/pull/964)

* Update ``lightning.tensor`` documentation to include all the new features added since pull request #756. The new features are: 1, Finite-shot measurements; 2. Expval-base quantities; 3. Support for ``qml.state()`` and ``qml.stateprep()``; 4. Support for all gates support via Matrix Product Operator (MPO).
[(#909)](https://github.com/PennyLaneAI/pennylane-lightning/pull/909)

Expand Down
6 changes: 2 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ To install Lightning-GPU from the package sources using the direct SDK path, Lig
PL_BACKEND="lightning_qubit" python scripts/configure_pyproject_toml.py
SKIP_COMPILATION=True pip install -e . --config-settings editable_mode=compat -vv

Then a ``CUQUANTUM_SDK`` environment variable can be set:

``CUQUANTUM_SDK`` environment variable set is optional for most cases. *If cuQuantum SDK is not installed in Python environment ``site-packages`` directory*, it has to be set with:
.. code-block:: bash

export CUQUANTUM_SDK=$(python -c "import site; print( f'{site.getsitepackages()[0]}/cuquantum')")
Expand Down Expand Up @@ -396,8 +395,7 @@ Lightning-Qubit should be installed before Lightning-Tensor (compilation is not
PL_BACKEND="lightning_qubit" python scripts/configure_pyproject_toml.py
SKIP_COMPILATION=True pip install -e . --config-settings editable_mode=compat

Then a ``CUQUANTUM_SDK`` environment variable can be set:

``CUQUANTUM_SDK`` environment variable set is optional for most cases. *If cuQuantum SDK is not installed in Python environment ``site-packages`` directory*, it has to be set with:
.. code-block:: bash

export CUQUANTUM_SDK=$(python -c "import site; print( f'{site.getsitepackages()[0]}/cuquantum')")
Expand Down
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.39.0-dev49"
__version__ = "0.39.0-dev50"