Skip to content

Commit

Permalink
Fix for issue #431
Browse files Browse the repository at this point in the history
  • Loading branch information
drewvandeth committed Aug 26, 2024
1 parent 91464fe commit 693f7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qiskit_qec/linear/symplectic.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _symplectic_product_vv_boolean(vec1: np.ndarray, vec2: np.ndarray, n: int) -
assert vec1.dtype == bool
r = False
for i in range(n):
r += vec1[i] & vec2[n + i] ^ vec1[n + i] & vec2[i]
r ^= vec1[i] & vec2[n + i] ^ vec1[n + i] & vec2[i]
return int(r)


Expand Down

0 comments on commit 693f7e6

Please sign in to comment.