scqubits.utils.plotting.wavefunction2d

scqubits.utils.plotting.wavefunction2d(wavefunc, zero_calibrate=False, **kwargs)[source]

Creates a density plot of the amplitude of a real-valued wave function in 2 “spatial” dimensions.

Parameters:
  • wavefunc (WaveFunctionOnGrid) – basis and amplitude data of wave function to be plotted

  • zero_calibrate (bool) – whether to calibrate plot to zero amplitude

  • **kwargs – standard plotting option (see separate documentation)

Return type:

Tuple[Figure, Axes]

Returns:

matplotlib objects for further editing