qiskit.transpiler.CouplingMap.reduce¶
- CouplingMap.reduce(mapping)[source]¶
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.
- রিটার্ন টাইপ
- রেইজেস
CouplingError -- Reduced coupling map must be connected.