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

QNN parameter binding incorrect #727

Closed
woodsp-ibm opened this issue Dec 12, 2023 · 0 comments · Fixed by #728
Closed

QNN parameter binding incorrect #727

woodsp-ibm opened this issue Dec 12, 2023 · 0 comments · Fixed by #728

Comments

@woodsp-ibm
Copy link
Member

woodsp-ibm commented Dec 12, 2023

inputs and weights are concatenated as parameters for the primitive. However the primitives bind the data to the circuit in the order in which the parameters are returned by the circuit.parameters function (which is sorted so its always the same for the circuit). Hence depending on parameter naming the order may very well not end up being such that the inputs and weights are not bound as per the parameter sequences supplied defining the input and weight parameters.

Findings from investigating this Qiskit Slack workspace message https://qiskit.slack.com/archives/C7SS31917/p1702175603460089

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant