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

[QIR] Add simulator initialization/reset #4

Open
lschuetze opened this issue Mar 7, 2025 · 0 comments
Open

[QIR] Add simulator initialization/reset #4

lschuetze opened this issue Mar 7, 2025 · 0 comments

Comments

@lschuetze
Copy link
Member

For shot-based simulation or the usage of multiple runs with updated parameters the simulator state need to be reset.
The QIR runner specifies the __quantum__rt__initialize function to achieve this.

This primitive must be generated by our lowering accordingly. At least, the initialization must precede the first qir dialect operation.

@lschuetze lschuetze changed the title [QIR] Add simulator initialitation/reset [QIR] Add simulator initialization/reset Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant