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
The QFR already provides the means to import a Qiskit
QuantumCircuit
into our own C++qc::QuantumComputation
(see https://github.com/iic-jku/qfr/blob/master/jkq/qfr/qiskit/QuantumCircuit.hpp).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 Qiskit.As of (I believe)
qiskit-terra>=0.23
, circuits have a_layout
property that can store theinitial_layout
as well as thefinal_layout
of the circuit.In addition, the final layout should be indicated via measurements at the end of the circuits.
The text was updated successfully, but these errors were encountered: