Skip to content

Commit

Permalink
Merge pull request #902 from qiboteam/fix-frequency
Browse files Browse the repository at this point in the history
Collect frequencies before processing sweeps
  • Loading branch information
hay-k authored May 20, 2024
2 parents b93ee1b + 5f5f54a commit a964ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibolab/instruments/zhinst/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,9 +702,9 @@ def sweep(self, qubits, couplers, sequence: PulseSequence, options, *sweepers):
"""Play pulse and sweepers sequence."""

self.signal_map = {}
self.frequency_from_pulses(qubits, sequence)
self.processed_sweeps = ProcessedSweeps(sweepers, qubits)
self.nt_sweeps, self.rt_sweeps = classify_sweepers(sweepers)
self.frequency_from_pulses(qubits, sequence)

self.acquisition_type = None
for sweeper in sweepers:
Expand Down

0 comments on commit a964ab2

Please sign in to comment.