Skip to content

Commit

Permalink
fix: drop create_sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Sep 20, 2024
1 parent 7fbd637 commit fb75465
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/qibocal/protocols/rabi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def sequence_amplitude(
durations = {}
for q in targets:
natives = platform.natives.single_qubit[q]
qd_sequence = natives.RX.create_sequence(theta=np.pi, phi=0)
ro_sequence = natives.MZ.create_sequence()
qd_sequence = natives.RX()
ro_sequence = natives.MZ()

qd_pulses[q] = qd_sequence[0][1]
if params.pulse_length is not None:
Expand Down Expand Up @@ -262,8 +262,8 @@ def sequence_length(
amplitudes = {}
for q in targets:
natives = platform.natives.single_qubit[q]
qd_sequence = natives.RX.create_sequence(theta=np.pi, phi=0)
ro_sequence = natives.MZ.create_sequence()
qd_sequence = natives.RX()
ro_sequence = natives.MZ()

qd_pulses[q] = qd_sequence[0][1]
if params.pulse_amplitude is not None:
Expand Down

0 comments on commit fb75465

Please sign in to comment.