Skip to content

set default compilation #455

Description

@sgrava

Change default compilation strategy to just perform unit conversion.

The current default MAX_ENERGY profile should be set explicitly as

program.compile_to(device=..., profile="max_energy")

or as

from qoolqit.execution import CompilerProfile
program.compile_to(device=..., profile=CompilerProfile.MAX_ENERGY)

To do

  • Allow string aliases in CompilerProfile
  • Set compilation profile explicitly in tests and notebooks
  • Set new default compilation DEFAULT. Former WORKING_POINT to deprecate.
  • update documentation to reflect the new default

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions