Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.CouplingMap.reduce

CouplingMap.reduce(mapping)[소스]

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

매개변수

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

반환

A reduced coupling_map for the selected qubits.

반환 형식

CouplingMap

예외 발생

CouplingError – Reduced coupling map must be connected.