Visualization

Tools for visualizing the state populations and the control pulses are provided in the plot_populations and plot_control functions, respectively.

QuantumGateDesign.plot_populationsFunction
plot_populations(history; [ts=missing, level_indices=missing, labels=missing])

Given state vector history, plot population evolution (assuming single qubit for labels).

source
QuantumGateDesign.plot_controlFunction
plot_control(control, pcof; [npoints=1001, derivative_orders=0, convert_units=false, linewidth=2])

Plot the pulse amplitudes over time for the given control and control vector. Return the plot.

The derivatives can also be plotted by supplying an integer or vector of integers as the arguemnt for derivative_orders.

source