Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to Qiskit QuantumCircuit #35

Open
burgholzer opened this issue Dec 16, 2021 · 0 comments
Open

Export to Qiskit QuantumCircuit #35

burgholzer opened this issue Dec 16, 2021 · 0 comments
Labels
Core Anything related to the Core library and IR enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@burgholzer
Copy link
Member

burgholzer commented Dec 16, 2021

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 Qiskit QuantumCircuit. 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 the output_permutation are translated to Qiskit.
As of (I believe) qiskit-terra>=0.23, circuits have a _layout property that can store the initial_layout as well as the final_layout of the circuit.
In addition, the final layout should be indicated via measurements at the end of the circuits.

@burgholzer burgholzer added enhancement New feature or request good first issue Good for newcomers labels Dec 16, 2021
burgholzer pushed a commit that referenced this issue Jun 2, 2023
burgholzer added a commit that referenced this issue Jun 2, 2023
🔧update dependabot config

* reduce frequency of submodule updates to monthly
* assign Tom to respective PRs
* add timezone to config

Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>

Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
@burgholzer burgholzer added the Core Anything related to the Core library and IR label Jun 15, 2023
@burgholzer burgholzer linked a pull request Jul 7, 2023 that will close this issue
4 tasks
@burgholzer burgholzer added this to the MQT Core milestone Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Anything related to the Core library and IR enhancement New feature or request good first issue Good for newcomers
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

1 participant