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

Add more default trials to sabre layout #13360

Merged
merged 9 commits into from
Nov 6, 2024

Commits on Oct 23, 2024

  1. Add more default trials to sabre layout

    Right now sabre layout uses n random trials (as specified by the user or
    defaulting to num_cpus) and since Qiskit#12453 one additional trial taking the
    qubits of the densest subgraph as a starting point. There are also a
    couple of other trivial examples to try which may or may not produce
    better results depending on the circuit, a trivial layout and a reverse
    trivial layout. In the case of a hardware efficient circuit the trivial
    layout will map exactly and would always be picked. When running in a
    preset pass manager sabre should never be called in this scenario
    because VF2Layout will find the mapping, but the incremental cost of
    adding the trial is minimal. Similarly the cost of a reversed trivial
    layout (where virtual qubit 0 -> n, 1 -> n - 1, etc.) is trivial and
    may in some scenarios produce a better results.
    mtreinish committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    a153cd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a2a130 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    735856b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69d9b16 View commit details
    Browse the repository at this point in the history
  3. Add release notes and docs

    mtreinish committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    47d9689 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    28a8fe1 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    e51ecb9 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Elena Peña Tapia <[email protected]>
    mtreinish and ElePT authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    41121f2 View commit details
    Browse the repository at this point in the history
  3. Fix lint

    mtreinish committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    b24047f View commit details
    Browse the repository at this point in the history