bloqade-circuit 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bloqade-circuit might be problematic. Click here for more details.

Files changed (262) hide show
  1. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/PKG-INFO +1 -1
  2. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/pyproject.toml +1 -1
  3. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/lowering.py +1 -0
  4. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/test_target.py +20 -0
  5. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/uv.lock +1 -1
  6. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/.github/dependabot.yml +0 -0
  7. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/.github/workflows/ci.yml +0 -0
  8. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/.github/workflows/isort.yml +0 -0
  9. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/.github/workflows/lint.yml +0 -0
  10. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/.github/workflows/release.yml +0 -0
  11. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/.gitignore +0 -0
  12. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/.pre-commit-config.yaml +0 -0
  13. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/LICENSE +0 -0
  14. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/README.md +0 -0
  15. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/_typos.toml +0 -0
  16. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/justfile +0 -0
  17. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/analysis/__init__.py +0 -0
  18. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/analysis/address/__init__.py +0 -0
  19. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/analysis/address/analysis.py +0 -0
  20. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/analysis/address/impls.py +0 -0
  21. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/analysis/address/lattice.py +0 -0
  22. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/analysis/fidelity/__init__.py +0 -0
  23. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/analysis/fidelity/analysis.py +0 -0
  24. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/device.py +0 -0
  25. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/__init__.py +0 -0
  26. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/fidelity.py +0 -0
  27. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/native/__init__.py +0 -0
  28. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/native/_dialect.py +0 -0
  29. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/native/_wrappers.py +0 -0
  30. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/native/model.py +0 -0
  31. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/native/rewrite.py +0 -0
  32. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/noise/native/stmts.py +0 -0
  33. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/__init__.py +0 -0
  34. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/base.py +0 -0
  35. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/device.py +0 -0
  36. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/noise/__init__.py +0 -0
  37. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/noise/native.py +0 -0
  38. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/qasm2/__init__.py +0 -0
  39. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/qasm2/core.py +0 -0
  40. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/qasm2/glob.py +0 -0
  41. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/qasm2/parallel.py +0 -0
  42. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/qasm2/uop.py +0 -0
  43. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/reg.py +0 -0
  44. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/squin/__init__.py +0 -0
  45. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/squin/op.py +0 -0
  46. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/squin/qubit.py +0 -0
  47. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/squin/runtime.py +0 -0
  48. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/squin/wire.py +0 -0
  49. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/target.py +0 -0
  50. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/pyqrack/task.py +0 -0
  51. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/__init__.py +0 -0
  52. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/_wrappers.py +0 -0
  53. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/__init__.py +0 -0
  54. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/core/__init__.py +0 -0
  55. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/core/_dialect.py +0 -0
  56. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/core/_emit.py +0 -0
  57. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/core/_typeinfer.py +0 -0
  58. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/core/address.py +0 -0
  59. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/core/stmts.py +0 -0
  60. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/expr/__init__.py +0 -0
  61. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/expr/_dialect.py +0 -0
  62. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/expr/_emit.py +0 -0
  63. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/expr/_from_python.py +0 -0
  64. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/expr/_interp.py +0 -0
  65. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/expr/stmts.py +0 -0
  66. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/glob.py +0 -0
  67. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/indexing.py +0 -0
  68. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/inline.py +0 -0
  69. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/noise.py +0 -0
  70. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/parallel.py +0 -0
  71. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/uop/__init__.py +0 -0
  72. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/uop/_dialect.py +0 -0
  73. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/uop/_emit.py +0 -0
  74. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/uop/schedule.py +0 -0
  75. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/dialects/uop/stmts.py +0 -0
  76. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/emit/__init__.py +0 -0
  77. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/emit/base.py +0 -0
  78. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/emit/gate.py +0 -0
  79. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/emit/main.py +0 -0
  80. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/emit/target.py +0 -0
  81. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/glob.py +0 -0
  82. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/groups.py +0 -0
  83. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parallel.py +0 -0
  84. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/__init__.py +0 -0
  85. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/ast.py +0 -0
  86. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/build.py +0 -0
  87. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/parser.py +0 -0
  88. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/print.py +0 -0
  89. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/qasm2.lark +0 -0
  90. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/visitor.py +0 -0
  91. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/parse/visitor.pyi +0 -0
  92. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/__init__.py +0 -0
  93. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/fold.py +0 -0
  94. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/glob.py +0 -0
  95. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/lift_qubits.py +0 -0
  96. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/noise.py +0 -0
  97. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/parallel.py +0 -0
  98. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/py2qasm.py +0 -0
  99. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/passes/qasm2py.py +0 -0
  100. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/__init__.py +0 -0
  101. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/desugar.py +0 -0
  102. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/glob.py +0 -0
  103. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/heuristic_noise.py +0 -0
  104. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/insert_qubits.py +0 -0
  105. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/native_gates.py +0 -0
  106. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/parallel_to_uop.py +0 -0
  107. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/register.py +0 -0
  108. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/rewrite/uop_to_parallel.py +0 -0
  109. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qasm2/types.py +0 -0
  110. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qbraid/__init__.py +0 -0
  111. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qbraid/lowering.py +0 -0
  112. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qbraid/schema.py +0 -0
  113. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qbraid/simulation_result.py +0 -0
  114. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/qbraid/target.py +0 -0
  115. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/__init__.py +0 -0
  116. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/analysis/__init__.py +0 -0
  117. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/analysis/nsites/__init__.py +0 -0
  118. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/analysis/nsites/analysis.py +0 -0
  119. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/analysis/nsites/impls.py +0 -0
  120. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/analysis/nsites/lattice.py +0 -0
  121. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/analysis/schedule.py +0 -0
  122. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/groups.py +0 -0
  123. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/noise/__init__.py +0 -0
  124. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/noise/_dialect.py +0 -0
  125. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/noise/stmts.py +0 -0
  126. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/op/__init__.py +0 -0
  127. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/op/_dialect.py +0 -0
  128. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/op/number.py +0 -0
  129. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/op/rewrite.py +0 -0
  130. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/op/stmts.py +0 -0
  131. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/op/traits.py +0 -0
  132. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/op/types.py +0 -0
  133. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/qubit.py +0 -0
  134. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/rewrite/__init__.py +0 -0
  135. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/rewrite/measure_desugar.py +0 -0
  136. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/squin/wire.py +0 -0
  137. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/__init__.py +0 -0
  138. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/_wrappers.py +0 -0
  139. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/__init__.py +0 -0
  140. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/__init__.py +0 -0
  141. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/_dialect.py +0 -0
  142. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/emit.py +0 -0
  143. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/interp.py +0 -0
  144. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/lowering.py +0 -0
  145. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/stmts/__init__.py +0 -0
  146. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/stmts/annotate.py +0 -0
  147. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/stmts/const.py +0 -0
  148. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/aux/types.py +0 -0
  149. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/collapse/__init__.py +0 -0
  150. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/collapse/_dialect.py +0 -0
  151. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/collapse/emit.py +0 -0
  152. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/collapse/stmts/__init__.py +0 -0
  153. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/collapse/stmts/measure.py +0 -0
  154. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/collapse/stmts/pp_measure.py +0 -0
  155. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/collapse/stmts/reset.py +0 -0
  156. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/__init__.py +0 -0
  157. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/_dialect.py +0 -0
  158. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/emit.py +0 -0
  159. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/stmts/__init__.py +0 -0
  160. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/stmts/base.py +0 -0
  161. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/stmts/clifford_1q.py +0 -0
  162. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/stmts/clifford_2q.py +0 -0
  163. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/stmts/control_2q.py +0 -0
  164. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/gate/stmts/pp.py +0 -0
  165. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/noise/__init__.py +0 -0
  166. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/noise/_dialect.py +0 -0
  167. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/noise/emit.py +0 -0
  168. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/dialects/noise/stmts.py +0 -0
  169. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/emit/__init__.py +0 -0
  170. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/emit/stim.py +0 -0
  171. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/stim/groups.py +0 -0
  172. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/task.py +0 -0
  173. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/test_utils.py +0 -0
  174. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/types.py +0 -0
  175. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/__init__.py +0 -0
  176. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/__init__.py +0 -0
  177. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/animate.py +0 -0
  178. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/base.py +0 -0
  179. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/gate_event.py +0 -0
  180. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/runtime/__init__.py +0 -0
  181. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/runtime/aod.py +0 -0
  182. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/runtime/atoms.py +0 -0
  183. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/runtime/ppoly.py +0 -0
  184. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/runtime/qpustate.py +0 -0
  185. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/src/bloqade/visual/animation/runtime/utils.py +0 -0
  186. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/__init__.py +0 -0
  187. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/analysis/address/test_analysis.py +0 -0
  188. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/analysis/address/test_lattice.py +0 -0
  189. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/analysis/fidelity/test_fidelity.py +0 -0
  190. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/__init__.py +0 -0
  191. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/runtime/__init__.py +0 -0
  192. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/runtime/noise/__init__.py +0 -0
  193. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/runtime/noise/native/test_loss.py +0 -0
  194. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/runtime/noise/native/test_pauli.py +0 -0
  195. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/runtime/test_dyn_memory.py +0 -0
  196. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/runtime/test_qrack.py +0 -0
  197. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/pyqrack/test_squin.py +0 -0
  198. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/__init__.py +0 -0
  199. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/analysis/test_dag.py +0 -0
  200. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/emit/test_extended.py +0 -0
  201. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/emit/test_qasm2.py +0 -0
  202. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/emit/test_qasm2_emit.py +0 -0
  203. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/__init__.py +0 -0
  204. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/README.md +0 -0
  205. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/global.qasm +0 -0
  206. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/iqft1.qasm +0 -0
  207. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/main.qasm +0 -0
  208. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/noise.qasm +0 -0
  209. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/para.qasm +0 -0
  210. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/process_tomo.qasm +0 -0
  211. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/qelib1.inc +0 -0
  212. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/qft.qasm +0 -0
  213. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/qft2.qasm +0 -0
  214. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/rb.qasm +0 -0
  215. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/rep_code.qasm +0 -0
  216. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/ripple_carry_adder.qasm +0 -0
  217. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/programs/tele.qasm +0 -0
  218. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/test_ast.py +0 -0
  219. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/parse/test_roundtrip.py +0 -0
  220. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/passes/__init__.py +0 -0
  221. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/passes/test_global_to_parallel.py +0 -0
  222. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/passes/test_global_to_uop.py +0 -0
  223. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/passes/test_heuristic_noise.py +0 -0
  224. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/passes/test_parallel_to_uop.py +0 -0
  225. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/passes/test_qasm2py.py +0 -0
  226. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/passes/test_uop_to_parallel.py +0 -0
  227. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/test_count.py +0 -0
  228. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/test_inline.py +0 -0
  229. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/test_lowering.py +0 -0
  230. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/test_native.py +0 -0
  231. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qasm2/test_two2one.py +0 -0
  232. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qbraid/__init__.py +0 -0
  233. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qbraid/test_clean_circuit.py +0 -0
  234. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qbraid/test_lowering.py +0 -0
  235. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/qbraid/test_target.py +0 -0
  236. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/sample/__init__.py +0 -0
  237. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/sample/test_noise_model.py +0 -0
  238. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/squin/analysis/test_nsites_analysis.py +0 -0
  239. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/squin/test_constprop.py +0 -0
  240. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/squin/test_measure_sugar.py +0 -0
  241. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/squin/test_mult_rewrite.py +0 -0
  242. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/__init__.py +0 -0
  243. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/__init__.py +0 -0
  244. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/__init__.py +0 -0
  245. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/__init__.py +0 -0
  246. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/base.py +0 -0
  247. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_1q.py +0 -0
  248. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_ctrl.py +0 -0
  249. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_detector.py +0 -0
  250. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_meas.py +0 -0
  251. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_noise.py +0 -0
  252. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_obs_inc.py +0 -0
  253. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_ppmeas.py +0 -0
  254. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/emit/test_stim_spp.py +0 -0
  255. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/test_stim_circuits.py +0 -0
  256. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/dialects/stim/test_stim_const.py +0 -0
  257. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/wrapper/__init__.py +0 -0
  258. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/stim/wrapper/test_wrapper.py +0 -0
  259. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/test_serialization.py +0 -0
  260. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/test_zone_model.py +0 -0
  261. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/visual/__init__.py +0 -0
  262. {bloqade_circuit-0.2.1 → bloqade_circuit-0.2.2}/test/visual/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bloqade-circuit
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: The software development toolkit for neutral atom arrays.
5
5
  Author-email: Roger-luo <rluo@quera.com>, kaihsin <khwu@quera.com>, weinbe58 <pweinberg@quera.com>, johnzl-777 <jlong@quera.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bloqade-circuit"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "The software development toolkit for neutral atom arrays."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -56,6 +56,7 @@ class QASM2(lowering.LoweringABC[ast.Node]):
56
56
  raise lowering.BuildError(f"Cannot find return value {returns}")
57
57
  else:
58
58
  return_value = func.ConstantNone()
59
+ frame.push(return_value)
59
60
 
60
61
  return_node = frame.push(func.Return(value_or_stmt=return_value))
61
62
 
@@ -1,4 +1,5 @@
1
1
  import math
2
+ import textwrap
2
3
 
3
4
  import pytest
4
5
  from kirin import ir
@@ -6,6 +7,7 @@ from kirin.dialects import ilist
6
7
 
7
8
  from bloqade import qasm2
8
9
  from bloqade.pyqrack import PyQrack, PyQrackQubit, StackMemorySimulator, reg
10
+ from bloqade.qasm2.parse.lowering import QASM2
9
11
 
10
12
 
11
13
  def test_target():
@@ -171,3 +173,21 @@ def test_qreg_parallel():
171
173
  result = target.run(parallel)
172
174
 
173
175
  assert result == [reg.Measurement.One] * 4
176
+
177
+
178
+ def test_loads_without_return():
179
+ qasm2_str = textwrap.dedent(
180
+ """
181
+ OPENQASM 2.0;
182
+
183
+ qreg q[1];
184
+ x q[0];
185
+ """
186
+ )
187
+
188
+ main = QASM2(qasm2.main).loads(qasm2_str, "main")
189
+
190
+ sim = StackMemorySimulator(min_qubits=2)
191
+ ket = sim.state_vector(main)
192
+
193
+ assert ket[0] == 0
@@ -96,7 +96,7 @@ wheels = [
96
96
 
97
97
  [[package]]
98
98
  name = "bloqade-circuit"
99
- version = "0.2.1"
99
+ version = "0.2.2"
100
100
  source = { editable = "." }
101
101
  dependencies = [
102
102
  { name = "kirin-toolchain" },
File without changes