# Fidelity

Calculate the fidelity $F = |<\psi_1 | \psi_2>|^2$ between two states

## Inputs

• $\psi$: state - $\psi_1$ in the equation
• $\psi$: state - $\psi_2$ in the equation

## Outputs

• Scalar: real number - the calculated fidelity

## Content

For convenience, the node displays its result directly.