Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.Layout.generate_trivial_layout

static Layout.generate_trivial_layout(*regs)[código fonte]

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

Parâmetros

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

Retorno

A layout with all the regs in the given order.

Tipo de retorno

Layout