Skip to content

Bump pulser to 1.9.0 and pasqal-cloud to 0.23 - #434

Merged
sgrava merged 5 commits into
mainfrom
sg/bump-pulser-to-v1.9
Aug 6, 2026
Merged

sgrava merged 5 commits into
mainfrom
sg/bump-pulser-to-v1.9

Conversation

@sgrava

@sgrava sgrava commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Bump pulser to 1.9.0 and pasqal-cloud to 0.23

Changes

  • pyproject.toml: bumped pulser[torch]>=1.9.0; pasqal-cloud isn't a direct dependency — it comes transitively via pulser, and pulser 1.9.0 pulls in pasqal-cloud>=0.23 on its own.

  • pasqal_cloud >= 0.23: pulser 1.9 dropped the separate pulser_pasqal package — PasqalCloud and the remote backend classes (RemoteEmulatorBackend, EmuFreeBackendV2 → renamed RemoteEmuFreeBackend) moved into pasqal_cloud (with PasqalCloud renamed to PasqalCloudConnection). Updated imports/usages in qoolqit/execution/backends.py, qoolqit/devices/device.py, tests/test_devices.py, tests/test_execution/test_backends.py, and 3 doc notebooks.

  • Test fix: InterpolatedWaveform sampling changed slightly in pulser 1.9, so tests/test_compilation/test_max_energy.py needed a loosened tolerance (atol=1e-5 instead of 1e-8) since the discretized peak no longer matches the analytical max as tightly — noted as such in the comment.

  • disable mkdocstrings warnings
    I don't see a clear way to ignore specific package warnings when building docs in strict mode mkdocs build --strict.
    Failing on

    WARNING -  griffe: /opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pulser/backend/default_observables.py:452: Confusing indentation for continuation line 14 in docstring, should be 4 * 2 = 8 spaces, not 5
    

    It is a nice check but we cannot have the full pipeline to fail because of a typo in an external package.

Pulser 1.9 dropped the separate pulser_pasqal package: PasqalCloud and
the remote backend classes (RemoteEmulatorBackend, EmuFreeBackendV2)
moved into pasqal_cloud, with PasqalCloud renamed to
PasqalCloudConnection and EmuFreeBackendV2 renamed to
RemoteEmuFreeBackend. Updated all imports/usages accordingly.

Also loosens the tolerance in test_max_energy.py since pulser 1.9
changed InterpolatedWaveform's sampling, so the discretized peak no
longer matches the analytical max as tightly.
abussy-pasqal
abussy-pasqal previously approved these changes Aug 6, 2026
Comment thread docs/fundamentals/execution/execution.ipynb Outdated
Comment thread docs/fundamentals/execution/execution.ipynb Outdated
Co-authored-by: Alexandre Papin <alexandre.papin@indaclouds.fr>
Co-authored-by: Alexandre Papin <alexandre.papin@indaclouds.fr>
@sgrava

sgrava commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator Author

Many thanks for the input @Fenkiou!
I had to open a separate MR from #374 because we also had a test failing.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-06 09:53 UTC

@sgrava
sgrava requested review from Fenkiou and abussy-pasqal August 6, 2026 09:46
@sgrava
sgrava merged commit 8a6e93a into main Aug 6, 2026
16 checks passed
@sgrava
sgrava deleted the sg/bump-pulser-to-v1.9 branch August 6, 2026 09:53
@sgrava sgrava added this to the v1.3.0 milestone Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants