iqm.qiskit_iqm.iqm_backend.IQMTarget#
- class iqm.qiskit_iqm.iqm_backend.IQMTarget(description: str | None = None, num_qubits: int = 0, dt: float | None = None, granularity: int = 1, min_length: int = 1, pulse_alignment: int = 1, acquire_alignment: int = 1, qubit_properties: list | None = None, concurrent_measurements: list | None = None, *args, **kwargs)#
Bases:
Target
Transpilation target for an IQM architecture.
Contains the mapping of physical qubit name on the device to qubit index in the Target.
- Parameters:
architecture (DynamicQuantumArchitecture) – Quantum architecture that defines the target.
component_to_idx (dict[str, int]) – Mapping from QPU component names to integer indices used by Qiskit to refer to them.
include_resonators (bool) – Whether to include MOVE gates in the target.
include_fake_czs (bool) – Whether to include virtual CZs that are not natively supported, but could be routed via MOVE.
Attributes
Return the ordered list of physical qubits in the backend.
Methods
_add_connections_from_DQA
()Initializes the Target, making it represent the dynamic quantum architecture
iqm_dqa
.restrict_to_qubits
(qubits)Generated a restricted transpilation target from this Target that only contains the given qubits.