scqubits.TunableTransmon.plot_n_wavefunction#
- TunableTransmon.plot_n_wavefunction(esys=None, mode='real', which=0, nrange=None, **kwargs)#
Plots transmon wave function in charge basis
- Parameters:
esys (
Optional
[Tuple
[ndarray
,ndarray
]]) – eigenvalues, eigenvectorsmode (
str
) – ‘abs_sqr’, ‘abs’, ‘real’, ‘imag’which (
int
) – index or indices of wave functions to plot (default value = 0)nrange (
Optional
[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
]