French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.Layout.reorder_bits

Layout.reorder_bits(bits)[source]

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.

Paramètres

bits (list[Bit]) – the bits to reorder.

Renvoie

ordered bits.

Type renvoyé

List