Skip to content

Commit

Permalink
Expand property set docs
Browse files Browse the repository at this point in the history
Co-authored-by: Jake Lishman <[email protected]>
  • Loading branch information
mtreinish and jakelishman committed Aug 29, 2023
1 parent 51bbcd3 commit ebd74ad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions qiskit/transpiler/passes/layout/sabre_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ class SabreLayout(TransformationPass):
virtual qubit is missing from an :class:`.Layout` object in the list a random qubit
will be selected.
Property Set Fields Read
------------------------
``sabre_starting_layout`` (``list[Layout]``)
An optional list of :class:`~.Layout` objects to use for additional layout trials. This is
in addition to the full random trials specified with the ``layout_trials`` argument.
Property Set Values Written
---------------------------
``layout`` (:class:`.Layout`)
The chosen initial mapping of virtual to physical qubits, including the ancilla allocation.
``final_layout`` (:class:`.Layout`)
A permutation of how swaps have been applied to the input qubits at the end of the circuit.
**References:**
[1] Li, Gushu, Yufei Ding, and Yuan Xie. "Tackling the qubit mapping problem
Expand Down

0 comments on commit ebd74ad

Please sign in to comment.