qudit_sim.visualization.inspect_heff_fit

qudit_sim.visualization.inspect_heff_fit(filename, threshold=0.01, tscale=FrequencyScale.auto, align_ylim=True, select_components=None, metrics=True)

Plot the time evolution of Pauli components before and after fidelity maximization.

Parameters
  • filename (str) – Name of the HDF5 file containing the fit result.

  • threshold (float) – Threshold for a Pauli component to be plotted, in radians. Ignored if limit_components is not None.

  • tscale (FrequencyScale) – Scale for the time axis.

  • align_ylim (bool) – Whether to align the y axis limits for all plots.

  • select_components (Optional[List[Tuple]]) – List of Pauli components to plot.

  • metrics (bool) – If True, a figure for fit information is included.

Return type

List[Figure]

Returns

A list of two (three if metrics=True) figures.