From 5dd805a8cff9d5d866b4159827ffd4d58d235bdc Mon Sep 17 00:00:00 2001 From: Shuli Shu <08cnbj@gmail.com> Date: Fri, 9 Aug 2024 20:33:04 +0000 Subject: [PATCH 1/4] init commit --- .../core/src/simulators/lightning_tensor/tncuda/TNCudaBase.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/src/simulators/lightning_tensor/tncuda/TNCudaBase.hpp b/pennylane_lightning/core/src/simulators/lightning_tensor/tncuda/TNCudaBase.hpp index ea21984a39..b19099e0b9 100644 --- a/pennylane_lightning/core/src/simulators/lightning_tensor/tncuda/TNCudaBase.hpp +++ b/pennylane_lightning/core/src/simulators/lightning_tensor/tncuda/TNCudaBase.hpp @@ -269,7 +269,7 @@ class TNCudaBase : public TensornetBase { /* const int32_t * stateModes */ stateModes.data(), /* void * */ static_cast(dummy_device_data.getData()), /* const int64_t *tensorModeStrides */ nullptr, - /* const int32_t immutable */ 1, + /* const int32_t immutable */ 0, /* const int32_t adjoint */ 0, /* const int32_t unitary */ 1, /* int64_t * */ &id)); From c9f34882cc4ce0b041b6c81772a42f5a9076ada3 Mon Sep 17 00:00:00 2001 From: ringo-but-quantum Date: Fri, 9 Aug 2024 20:34:31 +0000 Subject: [PATCH 2/4] Auto update version from '0.38.0-dev26' to '0.38.0-dev27' --- pennylane_lightning/core/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index 444de99a58..974470cd4e 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.38.0-dev26" +__version__ = "0.38.0-dev27" From f39830c651220df0c5089aa8f342d73625d48010 Mon Sep 17 00:00:00 2001 From: Shuli Shu <08cnbj@gmail.com> Date: Fri, 9 Aug 2024 20:45:59 +0000 Subject: [PATCH 3/4] add changelog entry --- .github/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 79e3ef5f9e..7b46f96562 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -74,6 +74,9 @@ ### Bug fixes +* Set the `immutable` parameter value as `false` for the `cutensornetStateApplyTensorOperator` to allow the following `cutensornetStateUpdateTensorOperator` call. + [(#845)](https://github.com/PennyLaneAI/pennylane-lightning/pull/845) + * Fix cuQuantum SDK path pass-though in CMake. [(#831)](https://github.com/PennyLaneAI/pennylane-lightning/pull/831) From 3e4663c08a3ef61ca4ed8574cdbd6b2ef661bfff Mon Sep 17 00:00:00 2001 From: ringo-but-quantum Date: Fri, 9 Aug 2024 20:56:17 +0000 Subject: [PATCH 4/4] Auto update version from '0.38.0-dev27' to '0.38.0-dev28' --- pennylane_lightning/core/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index 974470cd4e..1e0e19350b 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.38.0-dev27" +__version__ = "0.38.0-dev28"