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

Better OpenQASM circuit conversion #233

Open
alexfleury-sb opened this issue Oct 19, 2022 · 1 comment
Open

Better OpenQASM circuit conversion #233

alexfleury-sb opened this issue Oct 19, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@alexfleury-sb
Copy link
Collaborator

Issue: Feature Request

What problem does this feature request help you overcome? Please describe.
Our current implementation to get circuits from the qasm format only supported a subset of OpenQASM, and was written early 2020.

Describe the solution you'd like
Implement this using the reverse qiskit translation combined with https://qiskit.org/documentation/stubs/qiskit.circuit.QuantumCircuit.from_qasm_str.html#qiskit.circuit.QuantumCircuit.from_qasm_str ?

The file is located here https://github.com/goodchemistryco/Tangelo/blob/develop/tangelo/linq/translator/translate_openqasm.py.

@ValentinS4t1qbit
Copy link
Collaborator

Note: some tests rely on reading pre-generated QASM files. There is a chance that these files may be updated, unless they were not written in a particular format and were not restricted to any particular subset of QASM.

@alexfleury-sb alexfleury-sb changed the title [FEATURE REQUEST] Better OpenQASM circuit conversion Better OpenQASM circuit conversion May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants