scqubits.FluxQubit.plot_wavefunction#
- FluxQubit.plot_wavefunction(esys=None, which=0, phi_grid=None, mode='abs', zero_calibrate=True, **kwargs)[source]#
Plots 2d phase-basis wave function.
- Parameters:
esys (
Optional
[Tuple
[ndarray
,ndarray
]]) – eigenvalues, eigenvectors as obtained from .eigensystem()which (
int
) – index of wave function to be plotted (default value = (0)phi_grid (
Optional
[Grid1d
]) – used for setting a custom grid for phi; if None use self._default_gridmode (
str
) – choices as specified in constants.MODE_FUNC_DICT (default value = ‘abs_sqr’)zero_calibrate (
bool
) – if True, colors are adjusted to use zero wavefunction amplitude as the neutral color in the palette**kwargs – plot options
- Return type:
Tuple
[Figure
,Axes
]