pub struct LayoutMapping;Expand description
Layout mapping pass: inserts SWAP gates to map logical qubits to physical qubits based on device topology constraints. Uses a greedy nearest-neighbor heuristic.
Trait Implementations§
Source§impl Debug for LayoutMapping
impl Debug for LayoutMapping
Source§impl Pass for LayoutMapping
impl Pass for LayoutMapping
fn name(&self) -> &str
fn run(&self, ctx: &mut Context, _cache: &mut AnalysisCache) -> PassResult
fn invalidates(&self) -> Vec<&str>
Auto Trait Implementations§
impl Freeze for LayoutMapping
impl RefUnwindSafe for LayoutMapping
impl Send for LayoutMapping
impl Sync for LayoutMapping
impl Unpin for LayoutMapping
impl UnsafeUnpin for LayoutMapping
impl UnwindSafe for LayoutMapping
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more