Skip to content

Commit

Permalink
Merge pull request #591 from qiboteam/fix-couplers
Browse files Browse the repository at this point in the history
fix chevron for no couplers
  • Loading branch information
andrea-pasquale committed Oct 27, 2023
2 parents 7098692 + 90e8670 commit a731ce0
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,12 @@ def _aquisition(
sequence.add(cz.get_qubit_pulses(ordered_pair[1]))

# Patch to get the coupler until the routines use QubitPair
sequence.add(
cz.coupler_pulses(platform.pairs[tuple(sorted(ordered_pair))].coupler.name)
)
if platform.couplers:
sequence.add(
cz.coupler_pulses(
platform.pairs[tuple(sorted(ordered_pair))].coupler.name
)
)

if params.parking:
for pulse in cz:
Expand Down

0 comments on commit a731ce0

Please sign in to comment.