Skip to content

Commit

Permalink
Merge pull request #892 from qiboteam/fix_dispersive_shift_parameters
Browse files Browse the repository at this point in the history
unify execution pars for dispersive shift
  • Loading branch information
rodolfocarobene authored Jun 19, 2024
2 parents c81e0a3 + 1ba3b8b commit d358aa2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/qibocal/protocols/dispersive_shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,21 @@ def _acquisition(
type=SweeperType.OFFSET,
)

execution_pars = ExecutionParameters(
nshots=params.nshots,
relaxation_time=params.relaxation_time,
acquisition_type=AcquisitionType.INTEGRATION,
averaging_mode=AveragingMode.CYCLIC,
)
results_0 = platform.sweep(
sequence_0,
ExecutionParameters(
nshots=params.nshots,
relaxation_time=params.relaxation_time,
acquisition_type=AcquisitionType.INTEGRATION,
averaging_mode=AveragingMode.CYCLIC,
),
execution_pars,
sweeper,
)

results_1 = platform.sweep(
sequence_1,
params.execution_parameters,
execution_pars,
sweeper,
)

Expand Down

0 comments on commit d358aa2

Please sign in to comment.