Removed return of tensor as it is modified in place

This commit is contained in:
tankya2
2023-08-03 15:33:34 +08:00
parent c15e4ca967
commit 32bee13044

View File

@@ -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