Export to Qiskit QuantumCircuit
#35
Labels
Core
Anything related to the Core library and IR
enhancement
New feature or request
good first issue
Good for newcomers
Milestone
mqt-core already provides the means to import a Qiskit
QuantumCircuit
into our own C++qc::QuantumComputation
(see https://github.com/cda-tum/mqt-core/blob/main/src/mqt/core/plugins/qiskit.py).In the future, it might be beneficial to provide support for translating a C++
qc::QuantumComputation
to a QiskitQuantumCircuit
. At the moment, this is handled via translating to QASM and then loading the resulting string into Qiskit.Possible applications could be the compilation of quantum circuits.
Important aspects to think about are how the
initial_layout
and theoutput_permutation
are translated to Qiskitcirc.layout
objects.In addition, the final layout should be indicated via measurements at the end of the circuits (if no measurements are provided already).
The text was updated successfully, but these errors were encountered: