Skip to content

Commit

Permalink
Update src/qibolab/instruments/qblox/cluster_qcm_bb.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Candido <[email protected]>
  • Loading branch information
PiergiorgioButtarini and alecandido authored Jan 10, 2024
1 parent e756197 commit 6b76fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibolab/instruments/qblox/cluster_qcm_bb.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def _get_next_sequencer(self, port, frequency, qubits: dict):
# select the qubit with flux line, if present, connected to the specific port
qubit = None
for _qubit in qubits.values():
if _qubit.flux and _qubit.flux.port == self.ports[port]:
if _qubit.flux is not None and _qubit.flux.port == self.ports[port]:
qubit = _qubit

# select a new sequencer and configure it as required
Expand Down

0 comments on commit 6b76fd0

Please sign in to comment.