Open GTorlai opened 2 years ago
Right now, since we are computing the logarithm of the inner product directly, we get a NaN for fidelity measurements of orthogonal states.
Should it just check for 0 before the logarithm is taken and return 0 in that case?
0
Right now, since we are computing the logarithm of the inner product directly, we get a NaN for fidelity measurements of orthogonal states.