scqubits.utils.spectrum_utils.generate_target_states_list#

scqubits.utils.spectrum_utils.generate_target_states_list(sweep, initial_state_labels)[source]#

Based on a bare state label (i1, i2, …) with i1 being the excitation level of subsystem 1, i2 the excitation level of subsystem 2 etc., generate a list of new bare state labels. These bare state labels correspond to target states reached from the given initial one by single-photon qubit transitions. These are transitions where one of the qubit excitation levels increases at a time. There are no changes in oscillator photon numbers.

Parameters:
  • sweep (ParameterSweep) –

  • initial_state_labels (Tuple[int, ...]) – bare-state labels of the initial state whose energy is supposed to be subtracted from the spectral data

Return type:

List[Tuple[int, ...]]