Skip to content

Change default compilation profile to DEFAULT - #457

Merged
sgrava merged 9 commits into
mainfrom
sg/change-default-compilation
Aug 19, 2026
Merged

sgrava merged 9 commits into
mainfrom
sg/change-default-compilation

Conversation

@sgrava

@sgrava sgrava commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • Renamed CompilerProfile.WORKING_POINT to CompilerProfile.DEFAULT (value "default"), keeping WORKING_POINT and the string "working_point" working as deprecated aliases (silent, no warning).
  • QuantumProgram.compile_to's default profile is now CompilerProfile.DEFAULT (unit-conversion-only compilation) instead of CompilerProfile.MAX_ENERGY (auto-rescaling), per issue set default compilation #455.

Tests

Progresses #455. Note: The last issue's sub-task, updating documentation to reflect the new default, is left for a follow-up.

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-19 13:30 UTC

@sgrava sgrava linked an issue Aug 19, 2026 that may be closed by this pull request
4 tasks
@sgrava
sgrava requested a review from abussy-pasqal August 19, 2026 11:21
@sgrava sgrava added this to the v1.4 milestone Aug 19, 2026

@abussy-pasqal abussy-pasqal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may break qubosolver

@sgrava
sgrava merged commit a173821 into main Aug 19, 2026
16 checks passed
@sgrava
sgrava deleted the sg/change-default-compilation branch August 19, 2026 13:29
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.

set default compilation

2 participants