CircuitBoundaryMode#

Module: iqm.cpc.interface.circuit_execution

class iqm.cpc.interface.circuit_execution.CircuitBoundaryMode(value)#

Bases: StrEnum

Circuit boundary mode for circuit compilation.

Attributes

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.

ALL

Circuit boundary consists of all the QPU elements that are not used in the circuit.

Methods

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.

Inheritance

Inheritance diagram of iqm.cpc.interface.circuit_execution.CircuitBoundaryMode