From 32bee13044da17305708d6f2f0d7b625de940907 Mon Sep 17 00:00:00 2001 From: tankya2 Date: Thu, 3 Aug 2023 15:33:34 +0800 Subject: [PATCH] Removed return of tensor as it is modified in place --- src/qibotn/MPSUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qibotn/MPSUtils.py b/src/qibotn/MPSUtils.py index b5f472a..1a9dad5 100644 --- a/src/qibotn/MPSUtils.py +++ b/src/qibotn/MPSUtils.py @@ -75,4 +75,4 @@ def apply_gate( mps_site_right_swap(mps_tensors, i, algorithm=algorithm, options=options) else: raise NotImplementedError("Only one- and two-qubit gates supported") - return mps_tensors + #return mps_tensors