Skip to content

Update parallel deferred release to work with dynamic qubit allocation #3564

Description

The new parallel syntax does not interop properly with the (so far unreleased) QIR dynamic qubit allocation feature. Specifically, any calls to __quantum__rt__qubit_release should be defferred using the same logic as the static ID tracking during code gen. The pattern used during normal eval where the simulator handles qubit management can be mimicked, since parallel already forces inlining and unrolling within it's scope.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions