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 an edge case in Sabre's release valve (backport #13114) #13130

Merged
merged 1 commit into from
Sep 11, 2024

Commits on Sep 11, 2024

  1. Fix an edge case in Sabre's release valve (#13114)

    * Fix edge case in Sabre release valve
    
    If a Sabre trial does not find a set of Swaps to route nodes, the "release valve" adds Swaps to route the two-qubit gate in between the the closest two qubits. In rare cases, this leads to _more_ than one gate being routable, which was not handled correctly previously.
    
    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    
    * add reno and test
    
    * Use sensible syntax
    
    Co-authored-by: Kevin Hartman <kevin@hart.mn>
    
    * Use sensible grammar
    
    Co-authored-by: Kevin Hartman <kevin@hart.mn>
    
    * clippy
    
    * Check if the new test breaks CI
    
    * Revert "Check if the new test breaks CI"
    
    This reverts commit 01bcdc7.
    
    ---------
    
    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    Co-authored-by: Kevin Hartman <kevin@hart.mn>
    (cherry picked from commit f2ca920)
    Cryoris authored and mergify[bot] committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    b6b8a66 View commit details
    Browse the repository at this point in the history