Skip to content

Add simple shortcut for fidelity computation #331

@LBacciottini

Description

@LBacciottini

It would be great to have a "fidelity" function that takes two quantum states and returns the fidelity between the two. Since it is likely going to be used to track fidelity w.r.t. Bell states it would be probably beneficial to have one of the two states defaulting to a Bell state or some other mechanism like this.

More generally, other measures such as the Helstrom bound or the quantum Chernoff bound could also be similarly useful, but fidelity is by far the most used and it should take priority.

Note: function should check that the size of the compared quantum states matches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions