French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.Layout.generate_trivial_layout

static Layout.generate_trivial_layout(*regs)[source]

Creates a trivial (« one-to-one ») Layout with the registers and qubits in regs.

Paramètres

*regs (Registers, Qubits) – registers and qubits to include in the layout.

Renvoie

A layout with all the regs in the given order.

Type renvoyé

Layout