iqm.cpc.interface.compiler.CircuitBoundaryMode#
- class iqm.cpc.interface.compiler.CircuitBoundaryMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
StrEnum
Circuit boundary mode for circuit compilation.
Attributes
Circuit boundary consists of those QPU elements (qubits and couplers) that are adjacent to the qubits and couplers used by the circuit, but do not belong to them.
Circuit boundary consists of all the QPU elements that are not used in the circuit.
Methods
__format__
(format_spec, /)Return a formatted version of the string as described by format_spec.
__new__
(value)__str__
()Return str(self).
- NEIGHBOUR: Final[str] = 'neighbour'#
Circuit boundary consists of those QPU elements (qubits and couplers) that are adjacent to the qubits and couplers used by the circuit, but do not belong to them. Specifically,
Boundary qubits are connected to a circuit qubit by any coupler, but are not circuit qubits themselves.
Boundary couplers are connected to at least one circuit qubit, but are not used in the circuit themselves.