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 circuit generation of 3Q+ InterleavedRB #1015

Merged
merged 7 commits into from
Jan 23, 2023

Conversation

itoko
Copy link
Contributor

@itoko itoko commented Jan 18, 2023

Summary

Fixes #1013

Details and comments

In 3Q+ RB circuit generation, QuantumCircuit objects are internally used for Clifford elements to be composed to compute the last inversion. The recent large refactoring #982 embeds a bug in the handling of interleaved element. It wrongly stores a Clifford object as an interleaved Clifford element. This PR fixes the bug so that it stores a QuantumCircuit object consistently.

@itoko itoko added this to the Release 0.5 milestone Jan 18, 2023
@chriseclectic chriseclectic added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Jan 18, 2023
Copy link
Contributor

@ihincks ihincks left a comment

Choose a reason for hiding this comment

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

LGTM

@itoko itoko merged commit 0df9dbb into qiskit-community:main Jan 23, 2023
@itoko itoko deleted the fix-irb-circuits-v2 branch January 23, 2023 06:59
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.

InterleavedRB fails when interleaving gates with 3 or more qubits
3 participants