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 multiple nested custom controlled gates in QPY (backport #10537) #10578

Merged
merged 1 commit into from
Aug 7, 2023

Commits on Aug 7, 2023

  1. Fix multiple nested custom controlled gates in QPY (#10537)

    * Fix multiple nested custom controlled gates in QPY
    
    When a circuit contained multiple custom controlled gates that in turn
    had custom definitions, the QPY serialisation could fail to write out
    some of the inner instructions correctly.  This led to an invalid QPY
    file that could not be read back.
    
    * Remove local warning-suppression import
    
    (cherry picked from commit 06416d7)
    jakelishman authored and mergify[bot] committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    7ab6f0f View commit details
    Browse the repository at this point in the history