mqt.predictor.rl.actions.qiskit_actions¶
Qiskit actions and execution helpers.
Module Contents¶
- logger¶
- qiskit_final_optimization_action() Action[source]¶
Returns the Qiskit final layout optimization action.
- postprocess_vf2postlayout(qc: qiskit.QuantumCircuit, post_layout: Layout, layout_before: TranspileLayout) tuple[qiskit.QuantumCircuit, ApplyLayout][source]¶
Postprocess a quantum circuit after VF2 layout assignment.
- Parameters:
qc – The quantum circuit to transform.
post_layout – The layout computed after routing.
layout_before – The layout before post-routing adjustment.
- Returns:
A tuple of the transformed circuit and the ApplyLayout used.