mqt.core.plugins.qiskit.mqt_to_qiskit¶
Functionality for translating from the MQT to Qiskit.
Module Contents¶
- mqt_to_qiskit(qc: QuantumComputation, *, set_layout: bool = False) QuantumCircuit[source]¶
Convert a
QuantumComputationto a QiskitQuantumCircuit.- Parameters:
qc – The MQT circuit to convert.
set_layout – If true, the
layoutproperty is populated with the initial layout and output permutation of the MQT circuit.
- Returns:
The converted circuit.
- Raises:
NotImplementedError – If the MQT circuit contains variables.