bleykauf / aisim

Simulations for light-pulse atom interferometry
GNU General Public License v3.0
8 stars 5 forks source link

add fidelity utillity function to compare an AtomicEnsemble's density matrix to a target density matrix #50

Closed savowe closed 4 years ago

savowe commented 4 years ago

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