scqubits.Transmon.plot_n_wavefunction

Transmon.plot_n_wavefunction(esys=None, mode='real', which=0, nrange=None, **kwargs)[source]

Plots transmon wave function in charge basis

Parameters:
  • esys (Tuple[ndarray, ndarray]) – eigenvalues, eigenvectors

  • mode (str) – ‘abs_sqr’, ‘abs’, ‘real’, ‘imag’

  • which (int) – index or indices of wave functions to plot (default value = 0)

  • nrange (Tuple[int, int]) – range of n to be included on the x-axis (default value = (-5,6))

  • **kwargs – plotting parameters

Return type:

Tuple[Figure, Axes]