Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

Improve handling of params argument in Gradient.convert#1493

Closed
alpha-magic wants to merge 2 commits intoqiskit-community:masterfrom
alpha-magic:issue_1466
Closed

Improve handling of params argument in Gradient.convert#1493
alpha-magic wants to merge 2 commits intoqiskit-community:masterfrom
alpha-magic:issue_1466

Conversation

@alpha-magic
Copy link
Copy Markdown
Contributor

resolves https://github.com/Qiskit/qiskit-aqua/issues/1466

Summary

  1. params are required in convert method in GradientBased and HessianBased subclasses
  2. fix on handling params of type ParameterExpression

…anBased subclasses

2) fix on handling `params` of type ParameterExpression
@woodsp-ibm
Copy link
Copy Markdown
Member

@Cryoris Is this PR valid/required any more since opflow has been moved to Terra repo and this has been done there by Qiskit/qiskit#5548. While the change can be done here too since it says 'improve' maybe this PR is best just closed since I see other discussion/changes done in the Terra PR.

@alpha-magic
Copy link
Copy Markdown
Contributor Author

@woodsp-ibm OK let me close this.
PR from terra was modified based on review, so its content is slightly different.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants