qiskit.transpiler.Layout.swap¶
- Layout.swap(left, right)[código fonte]¶
Swaps the map between left and right.
- Parâmetros
left (tuple or int) – Item to swap with right.
right (tuple or int) – Item to swap with left.
- Levanta
LayoutError – If left and right have not the same type.