Skip to content
Snippets Groups Projects
Commit 1ae27184 authored by Bernabeu Lou's avatar Bernabeu Lou
Browse files

forgot a 2

parent fb673e49
No related branches found
No related tags found
No related merge requests found
......@@ -50,9 +50,9 @@ class BeamSplitter(Element):
self.output_vector = self.matrix @ input_state
if side == "left":
ans, _ = np.split(self.output_vector)
ans, _ = np.split(self.output_vector, 2)
elif side == "right":
_, ans = np.split(self.output_vector)
_, ans = np.split(self.output_vector, 2)
return ans
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment