qiskit.transpiler.Layout.reorder_bits¶
- Layout.reorder_bits(bits)[código fonte]¶
Given an ordered list of bits, reorder them according to this layout.
The list of bits must exactly match the virtual bits in this layout.
- Parâmetros
bits (list[Bit]) – the bits to reorder.
- Retorno
ordered bits.
- Tipo de retorno
List