Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.CouplingMap.reduce

CouplingMap.reduce(mapping)[fuente]

Returns a reduced coupling map that corresponds to the subgraph of qubits selected in the mapping.

Parámetros

mapping (list) – A mapping of reduced qubits to device qubits.

Devuelve

A reduced coupling_map for the selected qubits.

Tipo del valor devuelto

CouplingMap

Muestra

CouplingError – Reduced coupling map must be connected.