Skip to content

Commit

Permalink
fix: added alternative signature to rowsum for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Feb 21, 2024
1 parent 4308b03 commit 2e292d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/qibojit/backends/clifford_operations_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,13 @@ def CY(symplectic_matrix, control_q, target_q, nqubits):


@njit(
"b1[:,:](b1[:,:], u8[:], u8[:], u8, b1)", parallel=True, cache=True, fastmath=True
[
"b1[:,:](b1[:,:], u8[:], u8[:], u8, b1)",
"b1[:,:](b1[:,:], u8[:], u8[:], i8, b1)",
],
parallel=True,
cache=True,
fastmath=True,
)
def _rowsum(symplectic_matrix, h, i, nqubits, determined=False):
xi, xh = symplectic_matrix[i, :nqubits], symplectic_matrix[h, :nqubits]
Expand Down

0 comments on commit 2e292d4

Please sign in to comment.