Skip to content

Commit

Permalink
Fix typo in docstring of draw (#766)
Browse files Browse the repository at this point in the history
* Fix typo in docstring of draw

* Fix mypy error
  • Loading branch information
HaroldErbin authored Nov 19, 2024
1 parent cf998cb commit e8e4f23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pulser-core/pulser/sequence/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@ def draw(
Args:
mode: The curves to draw. 'input'
draws only the programmed curves, 'output' the excepted curves
draws only the programmed curves, 'output' the expected curves
after modulation. 'input+output' will draw both curves except
for channels without a defined modulation bandwidth, in which
case only the input is drawn.
Expand Down
1 change: 1 addition & 0 deletions pulser-pasqal/pulser_pasqal/pasqal_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8e4f23

Please sign in to comment.