iqm.qiskit_iqm.iqm_move_layout.generate_initial_layout#
- iqm.qiskit_iqm.iqm_move_layout.generate_initial_layout(target: IQMTarget, circuit: QuantumCircuit) Layout#
Generate an initial layout for the given circuit, for running on the given Star architecture target.
- Parameters:
target (IQMTarget) – IQM Star architecture target to run the circuit on, without fictional gates.
circuit (QuantumCircuit) – Quantum circuit for which a layout is to be generated.
- Returns:
Layout that maps the virtual/logical qubits of
circuitto the physical qubits oftargetso that all the gates incircuitare available on those loci.- Return type: