qilisdk.utils.visualization.schedule_renderers

Classes

MatplotlibScheduleRenderer

Render a Schedule using matplotlib, with theme support.

Module Contents

class MatplotlibScheduleRenderer(schedule: qilisdk.analog.schedule.Schedule, ax: matplotlib.pyplot.Axes | None = None, *, style: qilisdk.utils.visualization.style.ScheduleStyle | None = None)[font]

Render a Schedule using matplotlib, with theme support.

schedule[font]
style[font]
ax[font]
plot(ax: matplotlib.pyplot.Axes | None = None) None[font]

Plot the schedule coefficients for each Hamiltonian over time. :param ax: The matplotlib axes to plot on. Default is None. :type ax: plt.Axes | None

save(filename: str) None[font]

Save current figure to disk.

Paràmetres:

filename – Path to save the figure (e.g., “circuit.png”).

show() None[font]

Show the current figure.