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

Add cQASM Lite writer #235

Merged
merged 3 commits into from
Jun 24, 2024
Merged

Add cQASM Lite writer #235

merged 3 commits into from
Jun 24, 2024

Conversation

rturrado
Copy link
Contributor

Add cqasm_lite_writer to write out "cQASM Lite" code (cQASM 3.-beta1 code without 'bits' references).

rturrado added 3 commits June 24, 2024 12:22
Add a test_measurement to test "cQASM Lite" doesn't write 'bits' out.
Move writers out of 'exporter' folder and onto 'writer' folder.
Fix a typo in the Quantify Scheduler exporter.
The measure objects now have the qubit argument in first place now.
@rturrado rturrado requested a review from elenbaasc June 24, 2024 14:28
Copy link
Collaborator

@elenbaasc elenbaasc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the fact that we might want to add tests to the test_writer with input circuits that have bits and measurements and that these are 'preserved' as expected, I think it should be fine. (Also, because these tests are already part of other tests as well, they might not be strictly necessary for now.)

So, nice work! Great that we could finish this today 😄

@rturrado
Copy link
Contributor Author

Thanks!

Yes, I didn't add them because we didn't have them previously, let's say, and as you point, the writer is well exercised, for example, in the integration tests.

@rturrado rturrado merged commit bc64d9e into develop Jun 24, 2024
17 checks passed
@rturrado rturrado deleted the add-cqasm-lite-writer branch June 24, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants