qudit_sim.apps.heff_tools.fidelity_loss
- qudit_sim.apps.heff_tools.fidelity_loss(time_evolution, components, tlist)
Compute the loss in the mean fidelity when each component is set to zero.
- Parameters
time_evolution (
numpy.ndarray) – Time evolution unitary as a function of time.components (
numpy.ndarray) – Pauli components.tlist (
numpy.ndarray) – Time points.
- Return type
numpy.ndarray- Returns
An array with the shape of Pauli basis, with elements corresponding to the loss in mean fidelity when the respective components are set to zero.