Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support standalone Vars in OQ3 exporter #12308

Merged
merged 4 commits into from
May 2, 2024
Merged

Commits on May 2, 2024

  1. Support standalone Vars in OQ3 exporter

    This adds the remaining support needed for the OpenQASM 3 exporter to
    support standalone variables.  The way the circuit model handles
    closures over these variables makes it much easier to support these than
    it was to handle free-form control-flow operations.
    
    This PR somewhat refactors small parts of the exporter to better isolate
    the "top-level program" statement construction and analysis from the
    "build a scoped set of instructions" logic, which makes it rather easier
    to handle things like declaring IO variables only in the global scope,
    but locally declared variables in _all_ relevant scopes.
    jakelishman committed May 2, 2024
    Configuration menu
    Copy the full SHA
    19f18d2 View commit details
    Browse the repository at this point in the history
  2. Remove references to QSS

    jakelishman committed May 2, 2024
    Configuration menu
    Copy the full SHA
    e173379 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3b4188f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5fbeaba View commit details
    Browse the repository at this point in the history