-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hi,
As far as I understand from the code and the tooltips, the "match main sequence waveform size" option in the "Readout" section is supposed to only change the number of points of the readout waveform to be identical to that of the main qubit pulse waveforms.
However, it seems to me that the start time of the readout pulse is affected by this option.
I think this is due to the control flow in part of the sequency.py ,
# get the range of indices in use
if (pulse.pulse_type == PulseType.READOUT and not
self.readout_match_main_size):
# special case for readout if not matching main wave size
start = 0.0
middle = self._round(step.t_middle - step.t_start)
end = self._round(step.t_end - step.t_start)
resetting the start time of the readout pulse to zero when this option is unchecked. Is it supposed to be like this? I'm confused about what this option is supposed to do.
I think it's easier to work when the start of the readout pulse aligned to the end of all the qubit pulses by default but I don't think the option "match main sequence waveform size" describes that at all.
This is another issue, but the alignment behavior of readout pulse when the option "match main sequence waveform size" is checked seems to be unaffected by the delay of XY and Z pulses that we can specify in the "Waveform" section of GUI. I think this is an additional inconsistency which needs to be addressed. I know this is due to the part
elif pulse.pulse_type == PulseType.READOUT:
waveform = self.readout_iq
delay = 0
in the sequence.py setting delay of the readout pulse to be unaffected by neither xy nor z pulse delays.
Thanks in advance,
Eunjong