scqubits.FluxQubit.plot_potential

FluxQubit.plot_potential(phi_grid=None, contour_vals=None, **kwargs)[source]

Draw contour plot of the potential energy.

Parameters:
  • phi_grid (Grid1d) – used for setting a custom grid for phi; if None use self._default_grid

  • contour_vals (ndarray) – specific contours to draw

  • **kwargs – plot options

Return type:

Tuple[Figure, Axes]