Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
4a31b16
Refactor QASM codegen with new Interpreter framework. Still has linti…
zhenrongliew Oct 3, 2025
325faa0
Fixed codegen to match QASM2 function declaration syntax (classical b…
zhenrongliew Oct 3, 2025
9fbeac4
temp
zhenrongliew Oct 6, 2025
2889aff
Fixed linting
zhenrongliew Oct 6, 2025
7ff08c8
Fix invoke method type checking complain
zhenrongliew Oct 6, 2025
004e7e4
included ssacfg in dialect groups
zhenrongliew Oct 7, 2025
60c2852
Refactor SymbolTable implementation and remove unused test files
zhenrongliew Oct 7, 2025
9831f65
refactor STIM codegen to work with new API. updated STIM/emit test ca…
zhenrongliew Oct 15, 2025
86a1ca4
Updated stim_circuit tests to new codegen
zhenrongliew Oct 16, 2025
13c165e
Refactor error handling to use InterpreterError instead of EmitError …
zhenrongliew Oct 16, 2025
0c2172f
Refactor run_analysis calls to use the updated run.
zhenrongliew Oct 20, 2025
5172e42
added xfail for some (under refactoring) QASM2 codegen tests
zhenrongliew Oct 20, 2025
ee2e178
Merge conflicts with main
zhenrongliew Oct 21, 2025
ae02b34
Revert to sync with main
zhenrongliew Oct 21, 2025
ab57782
Refactor EmitStimMain initialization to use StringIO for output buffe…
zhenrongliew Oct 22, 2025
6f72eb6
merge conflicts
zhenrongliew Oct 22, 2025
982b4f3
tests calling old emit
zhenrongliew Oct 22, 2025
80f781a
fix io into default
zhenrongliew Oct 22, 2025
434d645
fix isort complaints
zhenrongliew Oct 22, 2025
ccaf33d
black formatter
zhenrongliew Oct 22, 2025
a8f8b67
isort on test
zhenrongliew Oct 22, 2025
452b08d
Mark tests as "xfail".
zhenrongliew Oct 22, 2025
ae296f8
Add correlated_error_count to EmitStimMain and update write_line meth…
zhenrongliew Oct 24, 2025
346eefb
Resolve merge conflicts with `david/571-kirin-upgrade-branch`
zhenrongliew Oct 27, 2025
28461af
Merge with `david/571-kirin-upgrade-branch`
zhenrongliew Oct 27, 2025
46dfca9
Replace EmitError with InterpreterError in emit_circuit and related t…
zhenrongliew Oct 27, 2025
869b588
Add self argument to the body of the loads method
zhenrongliew Oct 27, 2025
4a9354c
Remove SymbolTable and WorkList from codegen classes QASM and STIM. C…
zhenrongliew Oct 28, 2025
f5d3ba1
moved `run` method to base `EmitABC`.
zhenrongliew Oct 28, 2025
88db9e9
Merge origin/david/571-kirin-upgrade-branch into dl/codegen
zhenrongliew Oct 29, 2025
c6573cd
updated stim debug
zhenrongliew Oct 29, 2025
c2ab442
Refactor: Remove unused import and add reset method to Emit classes
zhenrongliew Oct 29, 2025
34ca7e5
Move `circuit` field from EmitCirqFrame to EmitCirq
zhenrongliew Oct 29, 2025
e8c2ecf
early return in ifs marked as xfail.
zhenrongliew Oct 29, 2025
c89b643
isort
zhenrongliew Oct 29, 2025
8d05cf3
Update src/bloqade/cirq_utils/emit/base.py
zhenrongliew Oct 30, 2025
ec3a530
Merge branch 'david/571-kirin-upgrade-branch' into dl/codegen
zhenrongliew Oct 30, 2025
d3b41f5
missing pytest import
zhenrongliew Oct 30, 2025
cae010f
Re-introduce fallback
zhenrongliew Nov 4, 2025
886523e
Re-introduced fallback
zhenrongliew Nov 4, 2025
1105582
eval_fallback for QASM.main
zhenrongliew Nov 4, 2025
7ee733e
spacing
zhenrongliew Nov 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/bloqade/stim/groups.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from kirin import ir
from kirin.passes import Fold, TypeInfer
from kirin.dialects import func, ssacfg, lowering
from kirin.dialects import func, debug, lowering

from .dialects import gate, noise, collapse, auxiliary


@ir.dialect_group(
[noise, gate, auxiliary, collapse, func, lowering.func, lowering.call, ssacfg]
[noise, gate, auxiliary, collapse, func, lowering.func, lowering.call, debug]
)
def main(self):
typeinfer_pass = TypeInfer(self)
Expand Down
4 changes: 2 additions & 2 deletions test/stim/passes/test_squin_qubit_to_stim.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from kirin import ir
from kirin.dialects import py

from bloqade import stim, squin as sq
from bloqade.squin import qubit, kernel
from bloqade import qubit, squin as sq
from bloqade.squin import kernel
from bloqade.stim.emit import EmitStimMain
from bloqade.stim.passes import SquinToStimPass
from bloqade.rewrite.passes.aggressive_unroll import AggressiveUnroll
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.