TensoredMeasFitter.plot_calibration

TensoredMeasFitter.plot_calibration(cal_index=0, ax=None, show_plot=True)[source]

Plot one of the calibration matrices (2D color grid plot).

Parameters
  • cal_index (integer) – calibration matrix to plot

  • ax (matplotlib.axes) – settings for the graph

  • show_plot (bool) – call plt.show()

Raises
  • QiskitError – if _cal_matrices was not set.

  • ImportError – if matplotlib was not installed.