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
_generate_next_value_
(start, count, last_values)Return the lower-cased version of the member name.
__new__
(value)__format__
(format_spec, /)Return a formatted version of the string as described by format_spec.
__str__
()Return str(self).
__new_member__
(*values)values must already be of type str
- NEIGHBOUR = '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.
- ALL = 'all'#
Circuit boundary consists of all the QPU elements that are not used in the circuit.