Skip to content

Commit

Permalink
Merge pull request #42 from QudevETH/bugfix/chevron
Browse files Browse the repository at this point in the history
chevron: bugfix RO pulses of correct qubits, add repeat readout
  • Loading branch information
chellings authored May 6, 2020
2 parents 6d60941 + 9acf2da commit 09deb7b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pycqed/measurement/pulse_sequences/fluxing_sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def chevron_seqs(qbc_name, qbt_name, qbr_name, hard_sweep_dict, soft_sweep_dict,
flux_pulse['name'] = 'chevron_flux'
flux_pulse['element_name'] = 'chevron_flux_el'

ro_pulses = generate_mux_ro_pulse_list([qbc_name, qbt_name],
ro_pulses = generate_mux_ro_pulse_list([qbr_name],
operation_dict)
if 'pulse_length' in hard_sweep_dict:
max_flux_length = max(hard_sweep_dict['pulse_length']['values'])
Expand Down Expand Up @@ -323,6 +323,13 @@ def chevron_seqs(qbc_name, qbt_name, qbr_name, hard_sweep_dict, soft_sweep_dict,
**prep_params))
sequences.append(seq)

# reuse sequencer memory by repeating readout pattern
# 1. get all readout pulse names (if they are on different uhf,
# they will be applied to different channels)
ro_pulse_names = [f"RO {qbn}" for qbn in [qbr_name]]
# 2. repeat readout for each ro_pulse.
for seq in sequences:
[seq.repeat_ro(pn, operation_dict) for pn in ro_pulse_names]
if upload:
ps.Pulsar.get_instance().program_awgs(sequences[0])

Expand Down

0 comments on commit 09deb7b

Please sign in to comment.