Skip to content

Resolve union types of float / complex and symbolic stuff #266

@EarlMilktea

Description

@EarlMilktea

Describe the feature you'd like

Refactor simulators or/and update annotations to accurately keep track of types and get rid of unions such as npt.NDArray[np.complex128 | np.object_].

Additional context

Union types in return type annotations are in general not good, as users/developers need to further narrow types frequently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions