Skip to content

Commit a0def49

Browse files
fix ci mypy
1 parent b310378 commit a0def49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tensorcircuit/u1circuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def __init__(
157157
1j * (1.0 - 2.0 * occupied[target_idx_safe][:, y_indices]),
158158
axis=1,
159159
)
160-
phase = np.where(valid, phase, 0.0).astype(np.complex128)
160+
phase = np.where(valid, phase, 0.0).astype(np.complex128) # type: ignore
161161

162162
off_diagonal_indices.append(term_idx)
163163
off_diagonal_targets.append(target_idx_safe)

0 commit comments

Comments
 (0)