-
Notifications
You must be signed in to change notification settings - Fork 1
Code Generation for QASM2 #555
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
Open
zhenrongliew
wants to merge
38
commits into
david/571-kirin-upgrade-branch
Choose a base branch
from
dl/codegen
base: david/571-kirin-upgrade-branch
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 35 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
4a31b16
Refactor QASM codegen with new Interpreter framework. Still has linti…
zhenrongliew 325faa0
Fixed codegen to match QASM2 function declaration syntax (classical b…
zhenrongliew 9fbeac4
temp
zhenrongliew 2889aff
Fixed linting
zhenrongliew 7ff08c8
Fix invoke method type checking complain
zhenrongliew 004e7e4
included ssacfg in dialect groups
zhenrongliew 60c2852
Refactor SymbolTable implementation and remove unused test files
zhenrongliew 9831f65
refactor STIM codegen to work with new API. updated STIM/emit test ca…
zhenrongliew 86a1ca4
Updated stim_circuit tests to new codegen
zhenrongliew 13c165e
Refactor error handling to use InterpreterError instead of EmitError …
zhenrongliew 0c2172f
Refactor run_analysis calls to use the updated run.
zhenrongliew 5172e42
added xfail for some (under refactoring) QASM2 codegen tests
zhenrongliew ee2e178
Merge conflicts with main
zhenrongliew ae02b34
Revert to sync with main
zhenrongliew ab57782
Refactor EmitStimMain initialization to use StringIO for output buffe…
zhenrongliew 6f72eb6
merge conflicts
zhenrongliew 982b4f3
tests calling old emit
zhenrongliew 80f781a
fix io into default
zhenrongliew 434d645
fix isort complaints
zhenrongliew ccaf33d
black formatter
zhenrongliew a8f8b67
isort on test
zhenrongliew 452b08d
Mark tests as "xfail".
zhenrongliew ae296f8
Add correlated_error_count to EmitStimMain and update write_line meth…
zhenrongliew 346eefb
Resolve merge conflicts with `david/571-kirin-upgrade-branch`
zhenrongliew 28461af
Merge with `david/571-kirin-upgrade-branch`
zhenrongliew 46dfca9
Replace EmitError with InterpreterError in emit_circuit and related t…
zhenrongliew 869b588
Add self argument to the body of the loads method
zhenrongliew 4a9354c
Remove SymbolTable and WorkList from codegen classes QASM and STIM. C…
zhenrongliew f5d3ba1
moved `run` method to base `EmitABC`.
zhenrongliew 88db9e9
Merge origin/david/571-kirin-upgrade-branch into dl/codegen
zhenrongliew c6573cd
updated stim debug
zhenrongliew c2ab442
Refactor: Remove unused import and add reset method to Emit classes
zhenrongliew 34ca7e5
Move `circuit` field from EmitCirqFrame to EmitCirq
zhenrongliew e8c2ecf
early return in ifs marked as xfail.
zhenrongliew c89b643
isort
zhenrongliew 8d05cf3
Update src/bloqade/cirq_utils/emit/base.py
zhenrongliew ec3a530
Merge branch 'david/571-kirin-upgrade-branch' into dl/codegen
zhenrongliew d3b41f5
missing pytest import
zhenrongliew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.