Skip to content

Commit

Permalink
amp. input was not passed to echoCR
Browse files Browse the repository at this point in the history
--DR
  • Loading branch information
CoherenceController committed Sep 2, 2016
1 parent b0c4276 commit dd1cc85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions QGL/BasicSequences/CR.py
Expand Up @@ -70,8 +70,8 @@ def EchoCRLen(controlQ,
calRepeats : number of repetitions of readout calibrations for each 2-qubit state
showPlot : whether to plot (boolean)
"""
seqs = [[Id(controlQ)] + echoCR(controlQ, targetQ, length=l, phase=phase, riseFall=riseFall) + [Id(controlQ), MEAS(targetQ)*MEAS(controlQ)]\
for l in lengths]+ [[X(controlQ)] + echoCR(controlQ, targetQ, length=l, phase= phase, riseFall=riseFall) + [X(controlQ), MEAS(targetQ)*MEAS(controlQ)]\
seqs = [[Id(controlQ)] + echoCR(controlQ, targetQ, length=l, phase=phase, amp=amp, riseFall=riseFall) + [Id(controlQ), MEAS(targetQ)*MEAS(controlQ)]\
for l in lengths]+ [[X(controlQ)] + echoCR(controlQ, targetQ, length=l, phase= phase, amp=amp, riseFall=riseFall) + [X(controlQ), MEAS(targetQ)*MEAS(controlQ)]\
for l in lengths] + create_cal_seqs((targetQ,controlQ), calRepeats, measChans=(targetQ,controlQ))

fileNames = compile_to_hardware(seqs, 'EchoCR/EchoCR',
Expand Down Expand Up @@ -107,8 +107,8 @@ def EchoCRPhase(controlQ,
calRepeats : number of repetitions of readout calibrations for each 2-qubit state
showPlot : whether to plot (boolean)
"""
seqs = [[Id(controlQ)] + echoCR(controlQ, targetQ, length=length, phase=ph, riseFall=riseFall) + [X90(targetQ)*Id(controlQ), MEAS(targetQ)*MEAS(controlQ)] \
for ph in phases]+[[X(controlQ)] + echoCR(controlQ, targetQ, length=length, phase= ph, riseFall = riseFall) + [X90(targetQ)*X(controlQ), MEAS(targetQ)*MEAS(controlQ)]\
seqs = [[Id(controlQ)] + echoCR(controlQ, targetQ, length=length, phase=ph, amp=amp, riseFall=riseFall) + [X90(targetQ)*Id(controlQ), MEAS(targetQ)*MEAS(controlQ)] \
for ph in phases]+[[X(controlQ)] + echoCR(controlQ, targetQ, length=length, phase= ph, amp=amp, riseFall = riseFall) + [X90(targetQ)*X(controlQ), MEAS(targetQ)*MEAS(controlQ)]\
for ph in phases]+create_cal_seqs((targetQ,controlQ), calRepeats, measChans=(targetQ,controlQ))

axis_descriptor = [
Expand Down

0 comments on commit dd1cc85

Please sign in to comment.