Skip to content

[BUG] qml.probs' first argument is wires unlike other MPsΒ #9187

@dime10

Description

@dime10

It's very easy to accidentally pass an mcm result into probs as a wire instead of an observable. Other MPs that both take wires and observables have the observable as the first argument (op=None, wires=None), probs on the other hand uses (wires=None, op=None).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions