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

Fix parameter array initialization for runtime parameter binding #2209

Merged
merged 4 commits into from
Aug 22, 2024

Conversation

doichanj
Copy link
Collaborator

@doichanj doichanj commented Aug 22, 2024

Summary

This is fix for issue #2207

Details and comments

Runtime parameter binding had issue when a gate with multiple parameters did not have all the bound parameter but used default parameter values.
This fix populates default parameter values to parameters in buffer

Also this PR optimizes runtime parameter binding with noise model when running on CPU by using runtime noise sampling technique not to copy circuits on every shots*parameters

@doichanj doichanj requested a review from hhorii August 22, 2024 02:56
@doichanj doichanj added the Changelog: Bugfix Include in the Fixed section of the changelog label Aug 22, 2024
@doichanj doichanj added this to the Aer 0.15.0 milestone Aug 22, 2024
hhorii
hhorii previously approved these changes Aug 22, 2024
Copy link
Collaborator

@hhorii hhorii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are tests necessary?

@doichanj doichanj merged commit 1b2cbbd into Qiskit:main Aug 22, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the Fixed section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants