Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.CouplingMap.subgraph

CouplingMap.subgraph(nodelist)[ソース]

Return a CouplingMap object for a subgraph of self.

nodelist (list): list of integer node labels

バージョン 0.20.0 で非推奨: The method qiskit.transpiler.coupling.CouplingMap.subgraph() is deprecated as of qiskit-terra 0.20.0. It will be removed no earlier than 3 months after the release date. Instead, use reduce(). It does the same thing, but preserves nodelist order.