see definition of fidelity of quantum states.
The fidelity function should be a method of AtomicEnsemble which takes a matrix as an argument and computes the fidelity of the AtomicEnsemble.density_matrix() against it.
It returns a float between 0 and 1
see definition of fidelity of quantum states. The fidelity function should be a method of AtomicEnsemble which takes a matrix as an argument and computes the fidelity of the AtomicEnsemble.density_matrix() against it. It returns a float between 0 and 1