Skip to content

Conversation

TharrmashasthaPV
Copy link
Contributor

Summary

Fixes #5840 .

Details and comments

The error raised when the unroller reaches a node without definition is more descriptive now. For instance, for the given example in #5840 , the error message now says "Error decomposing node of instruction 'p': 'NoneType' object has no attribute 'global_phase'. Unable to define instruction 'u' in the given basis."

@TharrmashasthaPV TharrmashasthaPV requested a review from a team as a code owner April 14, 2021 23:35
@1ucian0 1ucian0 self-assigned this Apr 16, 2021
@1ucian0 1ucian0 added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Apr 19, 2021
Copy link
Member

@1ucian0 1ucian0 left a comment

Choose a reason for hiding this comment

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

Thanks Tharrma!

@mergify mergify bot merged commit a34b710 into Qiskit:master Apr 19, 2021
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.

Unroller raises unclear error when reaching a node without a definition
2 participants