Skip to content
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

Fix lightning stable plugin test matrix tests #783

Merged
merged 7 commits into from
Jul 3, 2024
Merged
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
17 changes: 10 additions & 7 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

### New features since last release
* Implement Python interface to the `lightning.tensor` device.
[(#748)](https://github.com/PennyLaneAI/pennylane-lightning/pull/748)
[(#748)](https://github.com/PennyLaneAI/pennylane-lightning/pull/748)

* Add `inverse` support for gate operations in `lightning.tensor` in the C++ layer.
[(#753)](https://github.com/PennyLaneAI/pennylane-lightning/pull/753)
[(#753)](https://github.com/PennyLaneAI/pennylane-lightning/pull/753)

* Add `observable` and `expval` support to `cutensornet` backed `lightning.tensor` C++ layer.
[(#728)](https://github.com/PennyLaneAI/pennylane-lightning/pull/728)
Expand Down Expand Up @@ -45,17 +45,17 @@
[(#763)](https://github.com/PennyLaneAI/pennylane-lightning/pull/763)

* Change the type of tensor network objects passed to `ObservablesTNCuda` and `MeasurementsTNCuda` class from `StateTensorT` to `TensorNetT`.
[(#759)](https://github.com/PennyLaneAI/pennylane-lightning/pull/759)
[(#759)](https://github.com/PennyLaneAI/pennylane-lightning/pull/759)

* Rationalize MCM tests, removing most end-to-end tests from the native MCM test file,
but keeping one that validates multiple mid-circuit measurements with any allowed return.
[(#754)](https://github.com/PennyLaneAI/pennylane/pull/754)

* Refactor C++ library names for `lightning.tensor`.
[(#755)](https://github.com/PennyLaneAI/pennylane-lightning/pull/755)
[(#755)](https://github.com/PennyLaneAI/pennylane-lightning/pull/755)

* Set `state_tensor` as `const` for the `MeasurementTNCuda` class.
[(#753)](https://github.com/PennyLaneAI/pennylane-lightning/pull/753)
[(#753)](https://github.com/PennyLaneAI/pennylane-lightning/pull/753)

* Updated Kokkos version and support to 4.3.01.
[(#725)](https://github.com/PennyLaneAI/pennylane-lightning/pull/725)
Expand Down Expand Up @@ -140,9 +140,12 @@
* Add support for Scipy v1.14.
[(#776)](https://github.com/PennyLaneAI/pennylane-lightning/pull/776)

* Add pickle support for the `DevPool` object in `lightning.gpu`.
* Add pickle support for the `DevPool` object in `lightning.gpu`.
[(#772)](https://github.com/PennyLaneAI/pennylane-lightning/pull/772)

* Downgrade Scipy on Lightning stable version tests.
[(#783)](https://github.com/PennyLaneAI/pennylane-lightning/pull/783)

### Contributors

This release contains contributions from (in alphabetical order):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compat-check-latest-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
lightning-version: latest
pennylane-version: stable
secrets: inherit
AmintorDusko marked this conversation as resolved.
Show resolved Hide resolved

2 changes: 1 addition & 1 deletion .github/workflows/compat-check-stable-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
lightning-version: stable
pennylane-version: latest
secrets: inherit
AmintorDusko marked this conversation as resolved.
Show resolved Hide resolved

5 changes: 5 additions & 0 deletions .github/workflows/tests_lgpumpi_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,14 @@ jobs:
run: |
source /etc/profile.d/modules.sh && module use /opt/modules/ && module load ${{ matrix.mpilib }}/cuda-${{ matrix.cuda_version_maj }}.${{ matrix.cuda_version_min }}
python -m pip install -r requirements-dev.txt

python -m pip install custatevec-cu${{ matrix.cuda_version_maj }} mpi4py openfermionpyscf
PL_BACKEND=lightning_qubit python -m pip install . -vv

- name: Downgrade Scipy (remove after release)
if: inputs.lightning-version == 'stable'
run: pip install --force-reinstall "scipy<1.14"

- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests_lqcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ jobs:
cd main
python -m pip install -r requirements-dev.txt

- name: Downgrade Scipy (remove after release)
if: inputs.lightning-version == 'stable'
run: |
# TODO: Remove this step with v0.37.0 release
python -m pip install --force-reinstall "scipy<1.14"

- name: Create device wheel
id: create_lq_wheel
run: |
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.37.0-dev49"
__version__ = "0.37.0-dev50"
Loading