scqubits.utils.plotting.wavefunction1d_discrete#

scqubits.utils.plotting.wavefunction1d_discrete(wavefunc, **kwargs)[source]#

Plots the amplitude of a real-valued 1d wave function in a discrete basis. (Example: transmon in the charge basis.)

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

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

Return type:

Tuple[Figure, Axes]

Returns:

matplotlib objects for further editing