remove return in apply_gate()
This commit is contained in:
@@ -74,4 +74,3 @@ def apply_gate(
|
|||||||
mps_site_right_swap(mps_tensors, i, algorithm=algorithm, options=options)
|
mps_site_right_swap(mps_tensors, i, algorithm=algorithm, options=options)
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError("Only one- and two-qubit gates supported")
|
raise NotImplementedError("Only one- and two-qubit gates supported")
|
||||||
#return mps_tensors
|
|
||||||
|
|||||||
Reference in New Issue
Block a user