scqubits.TunableTransmon.wavefunction#

TunableTransmon.wavefunction(esys=None, which=0, phi_grid=None)#

Return the transmon wave function in phase basis. The specific index of the wavefunction is which. esys can be provided, but if set to None then it is calculated on the fly.

Parameters:
  • esys (Optional[Tuple[ndarray, ndarray]]) – if None, the eigensystem is calculated on the fly; otherwise, the provided eigenvalue, eigenvector arrays as obtained from .eigensystem() are used

  • which (int) – eigenfunction index (default value = 0)

  • phi_grid (Optional[Grid1d]) – used for setting a custom grid for phi; if None use self._default_grid

Return type:

WaveFunction