qiskit.transpiler.Layout.swap¶ Layout.swap(left, right)[소스]¶ Swaps the map between left and right. 매개변수 left (tuple or int) – Item to swap with right. right (tuple or int) – Item to swap with left. 예외 발생 LayoutError – If left and right have not the same type.