scqubits.utils.spectrum_utils.absorption_spectrum#

scqubits.utils.spectrum_utils.absorption_spectrum(spectrum_data)[source]#

Takes spectral data of energy eigenvalues and returns the absorption spectrum relative to a state of given index. Calculated by subtracting from eigenenergies the energy of the select state. Resulting negative frequencies, if the reference state is not the ground state, are omitted.

Return type:

SpectrumData

Parameters:

spectrum_data (SpectrumData) –