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

Enable adding parameters back into a circuit with specific values #14

Closed
eileen-kuehn opened this issue May 6, 2021 · 0 comments · Fixed by #15
Closed

Enable adding parameters back into a circuit with specific values #14

eileen-kuehn opened this issue May 6, 2021 · 0 comments · Fixed by #15
Assignees
Labels
enhancement New feature or request

Comments

@eileen-kuehn
Copy link
Member

eileen-kuehn commented May 6, 2021

In case parameters, that is gates, are added back into a circuit the current cost will change depending on the parameter value. E.g. in case a rotation is not set to 0 the loss will probably drop immediately. To enable a smoother training it might therefore be useful to configure a specific value, such as 0, when adding parameters. In case of rotations this would result in an identity transformation not influencing the current loss.
Adding parameters always with 0 however might reduce the chance to directly reduce the loss.

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

Successfully merging a pull request may close this issue.

1 participant