iqm.benchmarks.compressive_gst.mgst.reporting.figure_gen

iqm.benchmarks.compressive_gst.mgst.reporting.figure_gen#

Generation of figures.

Functions

dataframe_to_figure(df[, row_labels, ...])

Turns a pandas DataFrame into a figure.

generate_gate_err_pdf(filename, gates1, gates2)

Main routine to generate plots of reconstructed gates, ideal gates and the noise channels.

generate_hamiltonian_visualizations(dataset)

Plots the coherent errors as the difference of the entries of two Hamiltonian in the Pauli basis.

generate_spam_err_pdf(filename, E, rho, E2, rho2)

Generate pdf plots of two sets of POVM + state side by side in vector shape - Pauli basis.

generate_spam_err_std_pdf(filename, E, rho, ...)

Generate pdf plots of two sets of POVM + state side by side in matrix shape - standard basis.

plot_largest_errors(param_delta, ...[, ...])

Generate a bar plot showing the largest coherent errors.

plot_objf(res_list, title[, delta])

Plots the objective function over iterations in the algorithm.

set_size(w, h[, ax])

Forcing a figure to a specified size.