# Q-CTRL Visualizer

Source: https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer

<span id="qctrlvisualizer"></span>


|||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|
| [QCTRL_DIVERGENT_COLORMAP](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/QCTRL_DIVERGENT_COLORMAP.md#qctrlvisualizer.QCTRL_DIVERGENT_COLORMAP)                                                       | A divergent color map in the Q-CTRL style.                                                                |
| [QCTRL_SEQUENTIAL_COLORMAP](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/QCTRL_SEQUENTIAL_COLORMAP.md#qctrlvisualizer.QCTRL_SEQUENTIAL_COLORMAP)                                                    | A sequential color map in the Q-CTRL style.                                                               |
| [QCTRL_STYLE_COLORS](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/qctrlvisualizer.style.QCTRL_STYLE_COLORS.md#qctrlvisualizer.style.QCTRL_STYLE_COLORS)                                             | A list of colors defined in the Q-CTRL style.                                                             |
| [confidence_ellipse_matrix](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/confidence_ellipse_matrix.md#qctrlvisualizer.confidence_ellipse_matrix)                                                    | Calculate a matrix that you can use to represent the confidence region of parameters that you estimated.  |
| [display_bloch_sphere](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/display_bloch_sphere.md#qctrlvisualizer.display_bloch_sphere)                                                                   | Display a trajectory on the Bloch sphere using state vectors as input.                                    |
| [display_bloch_sphere_from_bloch_vectors](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/display_bloch_sphere_from_bloch_vectors.md#qctrlvisualizer.display_bloch_sphere_from_bloch_vectors)          | Display a Bloch sphere with an animation of the Bloch vectors.                                            |
| [display_bloch_sphere_from_density_matrices](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/display_bloch_sphere_from_density_matrices.md#qctrlvisualizer.display_bloch_sphere_from_density_matrices) | Display a trajectory in the Bloch sphere from input density matrices.                                     |
| [get_qctrl_style](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/get_qctrl_style.md#qctrlvisualizer.get_qctrl_style)                                                                                  | Return a dictionary representing the Q-CTRL styling in Matplotlib format.                                 |
| [plot_confidence_ellipses](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_confidence_ellipses.md#qctrlvisualizer.plot_confidence_ellipses)                                                       | Create an array of confidence ellipse plots.                                                              |
| [plot_controls](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_controls.md#qctrlvisualizer.plot_controls)                                                                                        | Create a plot of the specified controls.                                                                  |
| [plot_cost_histories](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_cost_histories.md#qctrlvisualizer.plot_cost_histories)                                                                      | Create a plot of the cost against iterations for either a single cost history or a set of cost histories. |
| [plot_density_matrix](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_density_matrix.md#qctrlvisualizer.plot_density_matrix)                                                                      | Create a heatmap with the absolute values of a density matrix's elements.                                 |
| [plot_filter_functions](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_filter_functions.md#qctrlvisualizer.plot_filter_functions)                                                                | Create a plot of the specified filter functions.                                                          |
| [plot_population_dynamics](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_population_dynamics.md#qctrlvisualizer.plot_population_dynamics)                                                       | Create a plot of the dynamics of the specified populations.                                               |
| [plot_population_distributions](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_population_distributions.md#qctrlvisualizer.plot_population_distributions)                                        | Create a bar graph of the given population distributions.                                                 |
| [plot_bitstring_probabilities_histogram](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_bitstring_probabilities_histogram.md#qctrlvisualizer.plot_bitstring_probabilities_histogram)             | Create a histogram of the specified counts.                                                               |
| [plot_sequences](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_sequences.md#qctrlvisualizer.plot_sequences)                                                                                     | Create a plot of dynamical decoupling sequences.                                                          |
| [plot_wigner_function](https://docs.q-ctrl.com/references/qctrl-visualizer/qctrlvisualizer/plot_wigner_function.md#qctrlvisualizer.plot_wigner_function)                                                                   | Create a contour plot of the specified Wigner function.                                                   |
