Esempio n. 1
0
def display_n_photon_qubit_transitions(sweep, photonnumber, initial_bare,
                                       param_val, fig_ax):
    title = r'{}-photon qubit transitions, {} $\rightarrow$'.format(
        photonnumber, initial_bare)
    __ = splot.n_photon_qubit_spectrum(sweep,
                                       photonnumber,
                                       initial_state_labels=initial_bare,
                                       title=title,
                                       fig_ax=fig_ax)
    _, axes = fig_ax
    axes.axvline(param_val, color='gray', linestyle=':')
Esempio n. 2
0
 def display_n_photon_qubit_transitions(index):
     title = r'{}-photon qubit transitions, {} $\rightarrow$'.format(
         photonnumber, initial_bare)
     __ = splot.n_photon_qubit_spectrum(
         self.sweep,
         photonnumber,
         initial_state_labels=initial_bare,
         title=title,
         fig_ax=(fig, axes_list_flattened[index]))
     axes_list_flattened[index].axvline(param_val,
                                        color='gray',
                                        linestyle=':')