qilisdk.utils.visualization.schedule_renderers
Classes
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)[source]
Render a Schedule using matplotlib, with theme support.
- plot(ax: matplotlib.pyplot.Axes | None = None) None [source]
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 [source]
Save current figure to disk.
- Parameters:
filename – Path to save the figure (e.g., ‘circuit.png’).