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

Instruction.is_parameterized to return False when fully bound. #4198

Merged

Conversation

kdk
Copy link
Member

@kdk kdk commented Apr 20, 2020

This causes a failure of TestKAKOverOptim.test_cu1_optimization after
switching to BasisTranslator. For CU1, the Unroller will generate
U1Gate(pi/2), ..., but the BasisTranslator will generate a (still
valid) U1Gate(ParameterExpression(pi/2)).

Summary

Details and comments

This causes a failure of TestKAKOverOptim.test_cu1_optimization after
switching to BasisTranslator. For CU1, the Unroller will generate
U1Gate(pi/2), ..., but the BasisTranslator will generate a (still
valid) U1Gate(ParameterExpression(pi/2)).
@kdk kdk added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Apr 20, 2020
@kdk kdk added this to the 0.14 milestone Apr 20, 2020
@kdk kdk modified the milestones: 0.14, 0.15 Apr 22, 2020
@mergify mergify bot requested a review from jaygambetta as a code owner April 23, 2020 02:05
@mergify mergify bot merged commit 3fb612c into Qiskit:master Apr 23, 2020
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
…t#4198)

This causes a failure of TestKAKOverOptim.test_cu1_optimization after
switching to BasisTranslator. For CU1, the Unroller will generate
U1Gate(pi/2), ..., but the BasisTranslator will generate a (still
valid) U1Gate(ParameterExpression(pi/2)).

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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