Add more specific type annotations for Numpy arrays
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先,在 Python 源代码中定位 np.ndarray 的使用位置,并检查项目当前的注解约定。确定每个受影响数组的预期数据类型和形状,然后更新注解并运行现有的检查或测试,以确认它们仍然有效。
由索引模型根据 Issue 内容生成。
描述
So far we only use np.ndarray in type annotations but they could be made more specific to specify expected data types and shapes.
- 主要语言
- Python
- 星标
- 116
- 派生
- 50
- 平均合并
- 2 小时 1 分钟
- 30 天内合并 PR
- 8
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Qiskit/ffsim 的其他 Issue
-
LUCJ pass manager raises NoEdgeBetweenNodes when an edge is bad for two two-qubit gates可能已有人在做 @hat-im 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
needs upstream change
难度 3/5 1-2 天 新手友好度 20/100
维护者通常 1 天内回复
-
Add guide for computing RDMs可能重新可做 关联的 PR 已关闭且未合并。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
Qiskit/ffsim#672 · 1 个 reaction ·
维护者通常 1 天内回复
相似的 Issue
-
Layout accepts a step threshold of 0 or less, then in-toto-verify crashes with StopIteration可能已有人在做 @BahaaMattar 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
needs discussion
难度 2/5 1-3 小时 新手友好度 78/100
openfga/openfga.dev#1436 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
usb-device-hid: MouseInterface reports bInterfaceProtocol 1 (keyboard) instead of 2可能已有人在做 @Duhan07 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
micropython/micropython-lib#1176 ·