Q-CTRL VisualizerΒΆ

QCTRL_STYLE_COLORS

Built-in mutable sequence.

display_bloch_sphere

Display a trajectory on the Bloch sphere using state vectors as input.

display_bloch_sphere_from_bloch_vectors

Display a Bloch sphere with an animation of the Bloch vectors.

display_bloch_sphere_from_density_matrices

Display a trajectory in the Bloch sphere from input density matrices.

get_qctrl_style

Return a dictionary representing the Q-CTRL styling in Matplotlib format.

plot_confidence_ellipses

Create an array of confidence ellipse plots.

plot_controls

Create a plot of the specified controls.

plot_cost_history

Create a plot of the cost against iterations for either a single cost history or a set of cost histories.

plot_filter_functions

Create a plot of the specified filter functions.

plot_populations

Create a plot of the specified populations.

plot_bitstring_probabilities_histogram

Create a histogram of the specified counts.

plot_sequences

Create plot of dynamical decoupling sequences.

plot_smooth_controls

Create a plot of the specified smooth controls.

plot_wigner_function

Create a contour plot of the specified Wigner function.