CouplingMap.add_physical_qubit

CouplingMap.add_physical_qubit(physical_qubit)[source]

Add a physical qubit to the coupling graph as a node.

physical_qubit (int): An integer representing a physical qubit.

Raises

CouplingError – if trying to add duplicate qubit