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

Fix disassemble of isometry and added test_disassemble_isometry #4402

Merged
merged 4 commits into from
May 18, 2020

Conversation

enavarro51
Copy link
Contributor

Summary

Fix #4381

Details and comments

Fixed failure of disassemble of circuit with an isometry gate. Added test_disassemble_isometry.

Copy link
Member

@mtreinish mtreinish left a comment

Choose a reason for hiding this comment

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

This LGTM, the underlying issue is a bit weird qobj is normally only used for passing circuits to a backend and no backend supports the isometry instruction. But I guess if you're using it as a more general serialization format for circuits (it wouldn't be my first choice for that but it conceivable) then I could see this coming up.

@mergify mergify bot merged commit ebc28cd into Qiskit:master May 18, 2020
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
…it#4402)

* Treat call to isometry in disassemble as special case

* Added test_disassemble_isometry

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@mtreinish mtreinish added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Aug 6, 2020
@enavarro51 enavarro51 deleted the fixissue4381branch branch February 24, 2021 22:11
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.

Function disassemble is failing on a circuit with an iso gate.
2 participants