Fix Identity's ctrl_adder
#602
pr.yaml
on: pull_request
pytest
7m 35s
dev-tools
2m 54s
notebooks
6m 53s
format
1m 5s
pylint
2m 49s
mypy
1m 37s
autogenerate-notebooks
1m 31s
Annotations
4 errors
|
format
Process completed with exit code 1.
|
|
mypy
Process completed with exit code 1.
|
|
mypy:
qualtran/bloqs/basic_gates/identity_test.py#L116
Argument "in_soqs" to "__call__" of "AddControlledT" has incompatible type "dict[str, Soquet | ndarray[tuple[int, ...], dtype[Any]] | None]"; expected "dict[str, Soquet | ndarray[tuple[int, ...], dtype[Any]]]" [arg-type]
|
|
mypy
Argument "ctrl_soqs" to "__call__" of "AddControlledT" has incompatible type "list[Soquet | ndarray[tuple[int, ...], dtype[Any]] | None]"; expected "Sequence[Soquet | ndarray[tuple[int, ...], dtype[Any]]]" [arg-type]
|