scqubits.Cos2PhiQubit.plot_potential#

Cos2PhiQubit.plot_potential(phi_grid=None, theta_grid=None, contour_vals=None, **kwargs)[source]#

Draw contour plot of the potential energy in \(\theta, \phi\) basis, at \(\zeta = 0\)

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

  • theta_grid (Grid1d, option) – used for setting a custom grid for theta; if None use self._default_theta_grid

  • contour_vals (list, optional) –

  • **kwargs – plotting parameters

Return type:

Tuple[Figure, Axes]