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

Lightning Kokkos arg test fix for MacOS #974

Merged
merged 2 commits into from
Nov 4, 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
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@

### Bug fixes

* Fix Lightning Kokkos test_device for `kokkos_args` fail for MacOS due to `np.complex256`
[(#974)](https://github.com/PennyLaneAI/pennylane-lightning/pull/974)

* Fix PTM stable-latest related to `default.qubit.legacy` and the `latest` flag usage.
[(#961)](https://github.com/PennyLaneAI/pennylane-lightning/pull/961)
[(#966)](https://github.com/PennyLaneAI/pennylane-lightning/pull/966)
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-rc6"
__version__ = "0.39.0-rc7"
2 changes: 1 addition & 1 deletion tests/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_create_device_with_unsupported_dtype():
)
def test_create_device_with_unsupported_kokkos_args():
with pytest.raises(TypeError, match="Argument kokkos_args must be of type .* but it is of .*."):
dev = qml.device(device_name, wires=1, kokkos_args=np.complex256)
dev = qml.device(device_name, wires=1, kokkos_args=np.complex128)


@pytest.mark.skipif(
Expand Down
Loading