Skip to content

Commit

Permalink
Fix add_gate_pulses on CompoundGates.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakejohnson committed May 17, 2017
1 parent 0cbca18 commit e2387ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/PatternUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def add_gate_pulses(seq):

for ct in range(len(seq)):
if isinstance(seq[ct], CompoundGate):
add_gate_pulses(seq[ct])
add_gate_pulses(seq[ct].seq)
elif isinstance(seq[ct], PulseBlock):
pb = None
for chan, pulse in seq[ct].pulses.items():
Expand Down

0 comments on commit e2387ce

Please sign in to comment.