LayoutGenerator#
Module: iqm.qubit_selector.qubit_selector
- class iqm.qubit_selector.qubit_selector.LayoutGenerator(backend, quantum_circuit, remove_qubits=None, num_trials=2000)#
Bases:
objectGenerates unique layouts for quantum circuits based on calibration data and backend architecture.
- Parameters:
backend (IQMBackendBase) – The IQM backend instance.
quantum_circuit (QuantumCircuit) – The quantum circuit to generate layouts for.
weights – Weights for calibration types.
additional_qubits – Number of additional qubits to consider.
remove_qubits (list[int] | None) – List of qubit indices (in qiskit) to remove from consideration.
num_trials (int) – The number of trial instances for layout generation.
Methods
Generate unique layouts based on the architecture of the backend.
Inheritance
