Skip to content

Commit

Permalink
fix syntax error?
Browse files Browse the repository at this point in the history
  • Loading branch information
anurudhp committed Dec 31, 2024
1 parent 35293d2 commit f573a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qualtran/simulation/tensor/tensor_from_classical.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def tensor_from_classical_sim(bloq: Bloq) -> NDArray:
else:
output_t = np.array([])

matrix[*np.atleast_1d(output_t), *np.atleast_1d(input_t)] = 1
matrix[tuple([*np.atleast_1d(output_t), *np.atleast_1d(input_t)])] = 1

shape: tuple[int, ...]
if n_qubits_left == 0 and n_qubits_right == 0:
Expand Down

0 comments on commit f573a37

Please sign in to comment.