if 0: #number splitting: from scripts.single_qubit import spectroscopy seq = sequencer.Join([sequencer.Trigger(250), cavity_info.rotate(np.pi, 0)]) # postseq = sequencer.Sequence([sequencer.Trigger(250), cavity_info.rotate(np.pi, 0)]) qubit_freq = 6306.770e6 spec = spectroscopy.Spectroscopy(mclient.instruments['brick2'], qubit_info, np.linspace(qubit_freq-8e6, qubit_freq+2e6, 101), [11.5], plen=6000, seq = seq, amp=0.09, extra_info=cavity_info, plot_seqs=True) spec.measure() if 0: #Sideband modulated number splitting: from scripts.single_qubit import ssbspec seq = sequencer.Join([sequencer.Trigger(250), cavity_info2.rotate(np.pi*2, 0)]) spec = ssbspec.SSBSpec(qubit_info, np.linspace(-15e6, 1e6, 151), extra_info= cavity_info2, seq =seq, plot_seqs=False) spec.measure() bla if 0: #EF Sideband modulated number splitting: from scripts.single_qubit import ssbspec seq = sequencer.Join([sequencer.Trigger(250), qubit_info.rotate(np.pi,0), cavity_info2.rotate(np.pi*1.0, 0)]) # postseq = qubit_info.rotate(np.pi,0) # postseq = sequencer.Sequence(qubit_info.rotate(np.pi, 0)) spec = ssbspec.SSBSpec(ef_info, np.linspace(-3e6, 1e6, 121), extra_info= [qubit_info, cavity_info2], seq =seq, postseq = None, plot_seqs=False) spec.measure() bla
if 1: #ef spec with swept ssb freq from scripts.single_qubit import ssbspec pi_pulse_ge = qubit_info.rotate(np.pi, 0) pre_seq = sequencer.Sequence([sequencer.Trigger(250), pi_pulse_ge]) post_seq = pi_pulse_ge # delayseq = sequencer.Delay(3000) alz.set_naverages(1000) # while True: spec = ssbspec.SSBSpec( qubit_ef_info, np.linspace(-4e6, 4e6, 161), seq=pre_seq, postseq=post_seq, plot_seqs=False, selective=True, extra_info=qubit_info, ) spec.measure() bla if 0: #***COPY (to be deleted) of cavity displacement calibration alz.set_naverages(2000) # delayseq = sequencer.Delay(3000) from scripts.single_cavity import cavdisp dispcal = cavdisp.CavDisp(qubit_info, cavity_info, np.linspace(0.05, 2.55, 51),