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

Manage bit (register) variables #233

Merged
merged 10 commits into from
Jun 24, 2024

Conversation

rturrado
Copy link
Contributor

@rturrado rturrado commented Jun 21, 2024

Add a bit register to the register manager.
Add a bit side to the measure instructions.
Add a bit register size to the circuit builder constructo.
Change writer to write out cQASM 3.0-beta1 compliant code.
Move writers out of exporter folder and onto writer folder.

Add a bit side to the measure instructions.
Change writer so that it outputs cQASM 3.0-beta1 compliant code.
@rturrado rturrado linked an issue Jun 21, 2024 that may be closed by this pull request
rturrado and others added 4 commits June 21, 2024 17:51
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.
…iables' into 197-code-manage-bit-register-variables
opensquirrel/reindexer/qubit_reindexer.py Outdated Show resolved Hide resolved
opensquirrel/register_manager.py Show resolved Hide resolved
opensquirrel/register_manager.py Outdated Show resolved Hide resolved
opensquirrel/default_measurements.py Outdated Show resolved Hide resolved
opensquirrel/ir.py Outdated Show resolved Hide resolved
opensquirrel/ir.py Outdated Show resolved Hide resolved
@elenbaasc
Copy link
Collaborator

Nice work! Hardly any comments 😃

rturrado and others added 5 commits June 24, 2024 15:16
Co-authored-by: Chris Elenbaas <67630508+elenbaasc@users.noreply.github.com>
Remove dead code in RegisterManager.from_ast.
Create issue #234 to address TODO in ir.py.
…iables' into 197-code-manage-bit-register-variables
@elenbaasc elenbaasc self-requested a review June 24, 2024 14:18
@rturrado rturrado merged commit d4dc987 into develop Jun 24, 2024
17 checks passed
@rturrado rturrado deleted the 197-code-manage-bit-register-variables branch June 24, 2024 14:20
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.

[Code] Manage bit (register) variables
2 participants