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

Add constructors and mutators useful downstream #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jun 30, 2024

  1. Add constructor for llvm::Module + entrypoint name

    This is useful when a user generates an llvm::Module that may have
    multiple entry points, as the Qwerty compiler/runtime does.
    ausbin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    633aa2e View commit details
    Browse the repository at this point in the history
  2. XaccQuantum: Add setter for accelerator/shots

    In my experience, it has been easier to treat XaccQuantum as a singleton
    to avoid issues with XACC initializing itself twice.
    
    It is probably cleaner to pass (accelerator, shots) via qiree::Executor,
    but this solves my immediate implementaiton problem in the Qwerty
    compiler/runtime.
    ausbin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    c50dfc4 View commit details
    Browse the repository at this point in the history