scqubits.Fluxonium.plot_wavefunction#
- Fluxonium.plot_wavefunction(which=0, mode='real', esys=None, phi_grid=None, scaling=None, **kwargs)#
Plot 1d phase-basis wave function(s). Must be overwritten by higher-dimensional qubits like FluxQubits and ZeroPi.
- Parameters:
which (
Union
[int
,Iterable
[int
]]) – single index or tuple/list of integers indexing the wave function(s) to be plotted. If which is -1, all wavefunctions up to the truncation limit are plotted.mode (
str
) – choices as specified in constants.MODE_FUNC_DICT (default value = ‘abs_sqr’)esys (
Optional
[Tuple
[ndarray
,ndarray
]]) – eigenvalues, eigenvectorsphi_grid (
Optional
[Grid1d
]) – used for setting a custom grid for phi; if None use self._default_gridscaling (
Optional
[float
]) – custom scaling of wave function amplitude/modulus**kwargs – standard plotting option (see separate documentation)
- Return type:
Tuple
[Figure
,Axes
]