Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacfomg committed Dec 13, 2023
1 parent e9b74f0 commit 7326306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibolab/instruments/zhinst.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,10 +1140,10 @@ def sweep_recursion(self, qubits, couplers, exp, exp_calib, exp_options):
HARDWARE: Allows big scans for one qubit at a time
SOFTWARE: Allows to scan several qubits at the same by uploading the waveforms, limited memory
"""

# Hardcoded value, it needs to be benchmarked to get a fancier estimate
# I assume a dependance on threshold = pulse_duration * n_qubits * len(sweeper.values)
threshold = 50
threshold = 50
if len(zhsweeper.values) > threshold:
mod_type = lo.ModulationType.HARDWARE
else:
Expand Down

0 comments on commit 7326306

Please sign in to comment.