Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mypy error
Browse files Browse the repository at this point in the history
HaroldErbin committed Nov 19, 2024
1 parent 8ec76d8 commit 73b7303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pulser-pasqal/pulser_pasqal/pasqal_cloud.py
Original file line number Diff line number Diff line change
@@ -238,6 +238,7 @@ def _query_job_progress(
get_batch_fn = backoff_decorator(self._sdk_connection.get_batch)
batch = get_batch_fn(id=batch_id)

assert isinstance(batch.sequence_builder, str)
seq_builder = Sequence.from_abstract_repr(batch.sequence_builder)
reg = seq_builder.get_register(include_mappable=True)
all_qubit_ids = reg.qubit_ids

0 comments on commit 73b7303

Please sign in to comment.