Example Q7: Single Shot Fidelity

This example notebook shows how to run single shot fidelity experiments

© Raytheon BBN Technologies 2019

[2]:
from QGL import *
from auspex.qubit import *
Defaulting to temporary directory for AWG sequence file outputs.
auspex-WARNING: 2019-03-08 10:07:30,785 ----> Could not load channelizer library; falling back to python methods.

We use a pre-existing database containing a channel library and pipeline we have established.

[3]:
cl = ChannelLibrary("my_config")
pl = PipelineManager()

Calibrating Mixers

The APS2 requires mixers to upconvert to qubit and cavity frequencies. We must tune the offset of these mixers and the amplitude factors of the quadrature channels to ensure the best possible results. We repeat the definition of the spectrum analyzer here, assuming that the LO driving this instrument is present in the channel library as spec_an_LO.

[ ]:
spec_an = cl.new_spectrum_analzyer("SpecAn", "ASRL/dev/ttyACM0::INSTR", cl["spec_an_LO"])
cal = MixerCalibration(q2, spec_an, mixer="measure")
cal.calibrate()

If the plot server and client are open, then the data will be plotted along with fits from the calibration procedure. The calibration procedure automatically knows which digitizer and AWG units are needed in the process. The relevant instrument parameters are updated but not commited to the database. Therefore they may be rolled back if undesirable results are found.