diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 17065b3d5..337612005 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -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) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index e3612df3c..b5d5a365d 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.39.0-rc6" +__version__ = "0.39.0-rc7" diff --git a/tests/test_device.py b/tests/test_device.py index 8474deec9..50b631862 100644 --- a/tests/test_device.py +++ b/tests/test_device.py @@ -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(