bloqade-circuit 0.7.7__tar.gz → 0.7.8__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.
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/.github/workflows/ci.yml +1 -1
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/PKG-INFO +4 -5
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/pyproject.toml +4 -5
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/__init__.py +1 -1
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/noise/model.py +4 -3
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/parallelize.py +9 -6
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/base.py +6 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/reg.py +6 -1
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/squin/noise/native.py +1 -1
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/squin/qubit.py +20 -3
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/cirq/lowering.py +5 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/qubit.py +25 -2
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/cirq_utils/test_parallelize.py +2 -2
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/cirq/test_cirq_to_squin.py +6 -0
- bloqade_circuit-0.7.8/test/squin/test_qubit.py +48 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/uv.lock +26 -18
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/.github/dependabot.yml +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/.github/workflows/isort.yml +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/.github/workflows/lint.yml +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/.github/workflows/release.yml +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/.gitignore +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/.pre-commit-config.yaml +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/LICENSE +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/README.md +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/_typos.toml +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/justfile +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/address/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/address/analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/address/impls.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/address/lattice.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/fidelity/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/fidelity/analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/measure_id/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/measure_id/analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/measure_id/impls.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/analysis/measure_id/lattice.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/lineprog.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/noise/_two_zone_utils.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/noise/conflict_graph.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/noise/transform.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/device.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/_prelude.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/gates/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/gates/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/gates/_interface.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/gates/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/stdlib/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/stdlib/broadcast.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/stdlib/simple.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/device.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/native.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/noise/native.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/qasm2/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/qasm2/core.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/qasm2/glob.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/qasm2/parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/qasm2/uop.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/squin/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/squin/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/squin/op.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/squin/runtime.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/squin/wire.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/target.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/pyqrack/task.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/_qasm_loading.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/_wrappers.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/core/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/core/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/core/_emit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/core/_typeinfer.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/core/address.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/core/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/expr/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/expr/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/expr/_emit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/expr/_from_python.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/expr/_interp.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/expr/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/glob.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/indexing.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/inline.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/noise/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/noise/fidelity.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/noise/model.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/noise/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/uop/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/uop/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/uop/_emit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/uop/schedule.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/uop/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/emit/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/emit/base.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/emit/gate.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/emit/impls/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/emit/impls/noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/emit/main.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/emit/target.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/glob.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/groups.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/ast.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/build.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/lowering.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/parser.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/print.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/qasm2.lark +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/visitor.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/parse/visitor.pyi +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/fold.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/glob.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/lift_qubits.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/py2qasm.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/qasm2py.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/passes/unroll_if.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/desugar.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/glob.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/insert_qubits.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/native_gates.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/noise/heuristic_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/noise/remove_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/parallel_to_glob.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/parallel_to_uop.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/register.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/rewrite/uop_to_parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/types.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qbraid/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qbraid/lowering.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qbraid/schema.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qbraid/simulation_result.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qbraid/target.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/rewrite/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/rewrite/passes/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/rewrite/passes/canonicalize_ilist.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/rewrite/rules/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/rewrite/rules/flatten_ilist.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/rewrite/rules/inline_getitem_ilist.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/rewrite/rules/split_ifs.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/_typeinfer.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/analysis/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/analysis/address_impl.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/analysis/nsites/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/analysis/nsites/analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/analysis/nsites/impls.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/analysis/nsites/lattice.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/analysis/schedule.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/cirq/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/cirq/emit/emit_circuit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/cirq/emit/noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/cirq/emit/op.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/cirq/emit/qubit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/cirq/emit/runtime.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/groups.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/lowering.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/noise/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/noise/_wrapper.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/noise/rewrite.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/noise/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/_wrapper.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/number.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/rewrite.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/stdlib.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/traits.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/op/types.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/rewrite/U3_to_clifford.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/rewrite/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/rewrite/canonicalize.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/rewrite/desugar.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/rewrite/remove_dangling_qubits.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/rewrite/wrap_analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/stdlib/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/stdlib/channel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/stdlib/gate.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/types.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/squin/wire.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/_wrappers.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/emit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/interp.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/lowering.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/stmts/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/stmts/annotate.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/stmts/const.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/auxiliary/types.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/collapse/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/collapse/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/collapse/emit_str.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/collapse/stmts/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/collapse/stmts/measure.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/collapse/stmts/pp_measure.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/collapse/stmts/reset.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/emit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/stmts/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/stmts/base.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/stmts/clifford_1q.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/stmts/clifford_2q.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/stmts/control_2q.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/gate/stmts/pp.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/noise/_dialect.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/noise/emit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/dialects/noise/stmts.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/emit/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/emit/stim_str.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/groups.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/parse/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/parse/lowering.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/passes/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/passes/simplify_ifs.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/passes/squin_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/ifs_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/py_constant_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/qubit_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/squin_measure.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/squin_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/util.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/wire_identity_elimination.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/rewrite/wire_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/upstream/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/stim/upstream/from_squin.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/task.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/test_utils.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/types.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/animate.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/base.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/gate_event.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/runtime/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/runtime/aod.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/runtime/atoms.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/runtime/ppoly.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/runtime/qpustate.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/visual/animation/runtime/utils.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/analysis/address/test_qubit_analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/analysis/address/test_wire_analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/analysis/address/util.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/analysis/fidelity/test_fidelity.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/analysis/measure_id/test_measure_id.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/cirq_utils/noise/test_noise_models.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/cirq_utils/noise/test_noisy_ghz.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/cirq_utils/noise/test_one_zone_correlated_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/cirq_utils/test_lpsolvers.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/cirq_utils/test_transpile.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/native/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/native/test_stdlib.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/runtime/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/runtime/noise/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/runtime/noise/qasm2/test_loss.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/runtime/noise/qasm2/test_pauli.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/runtime/test_dyn_memory.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/runtime/test_qrack.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/squin/test_kernel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/squin/test_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/pyqrack/test_target.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/analysis/test_dag.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/emit/test_extended.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/emit/test_extended_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/emit/test_qasm2.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/emit/test_qasm2_emit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/invalid_programs/invalid_if.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/README.md +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/global.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/iqft1.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/main.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/noise.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/para.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/process_tomo.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/qelib1.inc +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/qft.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/qft2.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/rb.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/rep_code.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/ripple_carry_adder.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/tele.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/programs/valid_if.qasm +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/test_ast.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/parse/test_roundtrip.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_global_to_parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_global_to_uop.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_heuristic_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_parallel_to_global.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_parallel_to_uop.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_qasm2py.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_unroll_if.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/passes/test_uop_to_parallel.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/test_count.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/test_inline.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/test_lowering.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/test_native.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qasm2/test_two2one.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qbraid/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qbraid/test_clean_circuit.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qbraid/test_lowering.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/qbraid/test_target.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/sample/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/sample/test_noise_model.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/analysis/test_nsites_analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/cirq/test_squin_noise_to_cirq.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/cirq/test_squin_to_cirq.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/op/test_reset.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/rewrite/test_U3_to_clifford.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/rewrite/test_canonicalize.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/rewrite/test_desugar.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/rewrite/test_mult_rewrite.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/test_constprop.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/test_stdlib_shorthands.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/test_sugar.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/test_typeinfer.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/wire/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/squin/wire/test_check.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/base.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_1q.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_ctrl.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_detector.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_meas.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_obs_inc.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_ppmeas.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_qubit_coords.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/emit/test_stim_spp.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/test_stim_circuits.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/dialects/stim/test_stim_const.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/base.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/test_parse.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/test_parse_clifford.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/test_parse_control.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/test_parse_custom.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/test_parse_noise.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/parse/test_parse_spp.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/apply_depolarize1.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/apply_loss.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/apply_pauli_channel_1.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_depolarize1.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_depolarize2.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_iid_bit_flip_channel.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_iid_phase_flip_channel.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_iid_y_flip_channel.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_pauli_channel_1.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_pauli_channel_1_many_qubits.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_pauli_channel_1_reuse.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_pauli_channel_2.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/broadcast_pauli_channel_2_reuse_on_4_qubits.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/noise/wire_apply_pauli_channel_1.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/pure_squin_rewrite.txt +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/addition_assignment_measure.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/alias_with_measure_list.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/complex_storage_index_order.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/for_loop_nontrivial_index.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/measure_desugar.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/nested_for_loop.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/nested_list.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/non_pure_loop_iterator.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/pick_if_else.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/qubit.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/qubit_broadcast.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/qubit_loss.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/qubit_reset.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/record_index_order.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/simple_if_rewrite.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/qubit/u3_to_clifford.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_apply.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_apply_control.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_broadcast.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_broadcast_control.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_measure.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_multiple_apply.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_qubit_loss.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/stim_reference_programs/wire/wire_reset.stim +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/test_squin_meas_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/test_squin_noise_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/test_squin_qubit_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/passes/test_squin_wire_to_stim.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/test_measure_id_analysis.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/wrapper/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/stim/wrapper/test_wrapper.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/test_serialization.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/test_zone_model.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/visual/__init__.py +0 -0
- {bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/test/visual/test_utils.py +0 -0
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
- name: Set up Python ${{ matrix.python-version }}
|
|
31
31
|
run: uv python install ${{ matrix.python-version }}
|
|
32
32
|
- name: Install the project
|
|
33
|
-
run: uv sync --dev --all-extras --no-extra pyqrack-cuda
|
|
33
|
+
run: uv sync --dev --all-extras --no-extra pyqrack-cuda --no-extra pyqrack-opencl
|
|
34
34
|
- name: Run tests
|
|
35
35
|
# For example, using `pytest`
|
|
36
36
|
run: uv run just coverage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bloqade-circuit
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.8
|
|
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
|
|
@@ -9,8 +9,7 @@ Requires-Dist: kirin-toolchain~=0.17.23
|
|
|
9
9
|
Requires-Dist: numpy>=1.22.0
|
|
10
10
|
Requires-Dist: pandas>=2.2.3
|
|
11
11
|
Requires-Dist: pydantic<2.11.0,>=1.3.0
|
|
12
|
-
Requires-Dist: pyqrack-cpu>=1.69.
|
|
13
|
-
Requires-Dist: pyqrack>=1.69.0; sys_platform == 'darwin-arm64'
|
|
12
|
+
Requires-Dist: pyqrack-cpu>=1.69.1
|
|
14
13
|
Requires-Dist: rich>=13.9.4
|
|
15
14
|
Requires-Dist: scipy>=1.13.1
|
|
16
15
|
Provides-Extra: cirq
|
|
@@ -18,9 +17,9 @@ Requires-Dist: cirq-core>=1.4.1; extra == 'cirq'
|
|
|
18
17
|
Requires-Dist: cirq-core[contrib]>=1.4.1; extra == 'cirq'
|
|
19
18
|
Requires-Dist: qpsolvers[clarabel]>=4.7.0; extra == 'cirq'
|
|
20
19
|
Provides-Extra: pyqrack-cuda
|
|
21
|
-
Requires-Dist: pyqrack-cuda>=1.69.
|
|
20
|
+
Requires-Dist: pyqrack-cuda>=1.69.1; extra == 'pyqrack-cuda'
|
|
22
21
|
Provides-Extra: pyqrack-opencl
|
|
23
|
-
Requires-Dist: pyqrack>=1.69.
|
|
22
|
+
Requires-Dist: pyqrack>=1.69.1; extra == 'pyqrack-opencl'
|
|
24
23
|
Provides-Extra: qasm2
|
|
25
24
|
Requires-Dist: lark>=1.2.2; extra == 'qasm2'
|
|
26
25
|
Provides-Extra: qbraid
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "bloqade-circuit"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.8"
|
|
4
4
|
description = "The software development toolkit for neutral atom arrays."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -17,8 +17,7 @@ dependencies = [
|
|
|
17
17
|
"rich>=13.9.4",
|
|
18
18
|
"pydantic>=1.3.0,<2.11.0",
|
|
19
19
|
"pandas>=2.2.3",
|
|
20
|
-
"pyqrack>=1.69.
|
|
21
|
-
"pyqrack-cpu>=1.69.0; sys_platform != 'darwin-arm64'",
|
|
20
|
+
"pyqrack-cpu>=1.69.1",
|
|
22
21
|
]
|
|
23
22
|
|
|
24
23
|
[project.optional-dependencies]
|
|
@@ -41,10 +40,10 @@ cirq = [
|
|
|
41
40
|
"qpsolvers[clarabel]>=4.7.0",
|
|
42
41
|
]
|
|
43
42
|
pyqrack-opencl = [
|
|
44
|
-
"pyqrack>=1.69.
|
|
43
|
+
"pyqrack>=1.69.1",
|
|
45
44
|
]
|
|
46
45
|
pyqrack-cuda = [
|
|
47
|
-
"pyqrack-cuda>=1.69.
|
|
46
|
+
"pyqrack-cuda>=1.69.1",
|
|
48
47
|
]
|
|
49
48
|
stim = [
|
|
50
49
|
"stim>=1.15.0",
|
|
@@ -2,7 +2,7 @@ from . import noise as noise
|
|
|
2
2
|
from .parallelize import (
|
|
3
3
|
transpile as transpile,
|
|
4
4
|
parallelize as parallelize,
|
|
5
|
-
|
|
5
|
+
remove_tags as remove_tags,
|
|
6
6
|
auto_similarity as auto_similarity,
|
|
7
7
|
block_similarity as block_similarity,
|
|
8
8
|
moment_similarity as moment_similarity,
|
|
@@ -357,9 +357,10 @@ class GeminiOneZoneNoiseModelConflictGraphMoves(GeminiOneZoneNoiseModel):
|
|
|
357
357
|
def noisy_moment(self, moment, system_qubits):
|
|
358
358
|
# Moment with original ops
|
|
359
359
|
original_moment = moment
|
|
360
|
-
assert np.all(
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
assert np.all([isinstance(q, cirq.GridQubit) for q in system_qubits]), (
|
|
361
|
+
"Found a qubit that is not a GridQubit. In order for the conflict graph to know the qubit geometry, "
|
|
362
|
+
"all qubits in the circuit must be defined as cirq.GridQubit objects."
|
|
363
|
+
)
|
|
363
364
|
# Check if the moment is empty
|
|
364
365
|
if len(moment.operations) == 0:
|
|
365
366
|
move_moments = []
|
|
@@ -136,7 +136,7 @@ def auto_similarity(
|
|
|
136
136
|
return cirq.Circuit(flattened_circuit), weights
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
def
|
|
139
|
+
def remove_tags(circuit: cirq.Circuit) -> cirq.Circuit:
|
|
140
140
|
"""
|
|
141
141
|
Removes all tags from the circuit
|
|
142
142
|
|
|
@@ -146,10 +146,11 @@ def no_similarity(circuit: cirq.Circuit) -> cirq.Circuit:
|
|
|
146
146
|
Returns:
|
|
147
147
|
[0] - cirq.Circuit - the circuit with all tags removed.
|
|
148
148
|
"""
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
|
|
150
|
+
def remove_tag(op: cirq.Operation, _):
|
|
151
|
+
return op.untagged
|
|
152
|
+
|
|
153
|
+
return cirq.map_operations(circuit, remove_tag)
|
|
153
154
|
|
|
154
155
|
|
|
155
156
|
def to_dag_circuit(circuit: cirq.Circuit, can_reorder=None) -> nx.DiGraph:
|
|
@@ -399,4 +400,6 @@ def parallelize(
|
|
|
399
400
|
)
|
|
400
401
|
# Convert the epochs to a cirq circuit.
|
|
401
402
|
moments = map(cirq.Moment, epochs)
|
|
402
|
-
|
|
403
|
+
circuit = cirq.Circuit(moments)
|
|
404
|
+
|
|
405
|
+
return remove_tags(circuit)
|
|
@@ -146,7 +146,13 @@ class PyQrackInterpreter(Interpreter, typing.Generic[MemoryType]):
|
|
|
146
146
|
loss_m_result: Measurement = field(default=Measurement.One, kw_only=True)
|
|
147
147
|
"""The value of a measurement result when a qubit is lost."""
|
|
148
148
|
|
|
149
|
+
global_measurement_id: int = field(init=False, default=0)
|
|
150
|
+
|
|
149
151
|
def initialize(self) -> Self:
|
|
150
152
|
super().initialize()
|
|
151
153
|
self.memory.reset() # reset allocated qubits
|
|
152
154
|
return self
|
|
155
|
+
|
|
156
|
+
def set_global_measurement_id(self, m: Measurement):
|
|
157
|
+
m.measurement_id = self.global_measurement_id
|
|
158
|
+
self.global_measurement_id += 1
|
|
@@ -2,15 +2,20 @@ import enum
|
|
|
2
2
|
from typing import TYPE_CHECKING
|
|
3
3
|
from dataclasses import dataclass
|
|
4
4
|
|
|
5
|
+
from bloqade.types import MeasurementResult
|
|
5
6
|
from bloqade.qasm2.types import Qubit
|
|
6
7
|
|
|
7
8
|
if TYPE_CHECKING:
|
|
8
9
|
from pyqrack import QrackSimulator
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
class Measurement(enum.IntEnum):
|
|
12
|
+
class Measurement(MeasurementResult, enum.IntEnum):
|
|
12
13
|
"""Enumeration of measurement results."""
|
|
13
14
|
|
|
15
|
+
def __init__(self, measurement_id: int = 0) -> None:
|
|
16
|
+
super().__init__()
|
|
17
|
+
self.measurement_id = measurement_id
|
|
18
|
+
|
|
14
19
|
Zero = 0
|
|
15
20
|
One = 1
|
|
16
21
|
Lost = enum.auto()
|
|
@@ -4,7 +4,7 @@ from kirin import interp
|
|
|
4
4
|
from kirin.dialects import ilist
|
|
5
5
|
|
|
6
6
|
from bloqade.squin import qubit
|
|
7
|
-
from bloqade.pyqrack.reg import QubitState, PyQrackQubit
|
|
7
|
+
from bloqade.pyqrack.reg import QubitState, Measurement, PyQrackQubit
|
|
8
8
|
from bloqade.pyqrack.base import PyQrackInterpreter
|
|
9
9
|
|
|
10
10
|
from .runtime import OperatorRuntimeABC
|
|
@@ -41,9 +41,12 @@ class PyQrackMethods(interp.MethodTable):
|
|
|
41
41
|
|
|
42
42
|
def _measure_qubit(self, qbit: PyQrackQubit, interp: PyQrackInterpreter):
|
|
43
43
|
if qbit.is_active():
|
|
44
|
-
|
|
44
|
+
m = Measurement(bool(qbit.sim_reg.m(qbit.addr)))
|
|
45
45
|
else:
|
|
46
|
-
|
|
46
|
+
m = Measurement(interp.loss_m_result)
|
|
47
|
+
|
|
48
|
+
interp.set_global_measurement_id(m)
|
|
49
|
+
return m
|
|
47
50
|
|
|
48
51
|
@interp.impl(qubit.MeasureQubitList)
|
|
49
52
|
def measure_qubit_list(
|
|
@@ -63,3 +66,17 @@ class PyQrackMethods(interp.MethodTable):
|
|
|
63
66
|
qbit: PyQrackQubit = frame.get(stmt.qubit)
|
|
64
67
|
result = self._measure_qubit(qbit, interp)
|
|
65
68
|
return (result,)
|
|
69
|
+
|
|
70
|
+
@interp.impl(qubit.QubitId)
|
|
71
|
+
def qubit_id(
|
|
72
|
+
self, interp: PyQrackInterpreter, frame: interp.Frame, stmt: qubit.QubitId
|
|
73
|
+
):
|
|
74
|
+
qbit: PyQrackQubit = frame.get(stmt.qubit)
|
|
75
|
+
return (qbit.addr,)
|
|
76
|
+
|
|
77
|
+
@interp.impl(qubit.MeasurementId)
|
|
78
|
+
def measurement_id(
|
|
79
|
+
self, interp: PyQrackInterpreter, frame: interp.Frame, stmt: qubit.MeasurementId
|
|
80
|
+
):
|
|
81
|
+
measurement: Measurement = frame.get(stmt.measurement)
|
|
82
|
+
return (measurement.measurement_id,)
|
|
@@ -144,6 +144,11 @@ class Squin(lowering.LoweringABC[CirqNode]):
|
|
|
144
144
|
qbits = self.lower_qubit_getindices(state, node.qubits)
|
|
145
145
|
return state.current_frame.push(qubit.Apply(operator=op_, qubits=qbits))
|
|
146
146
|
|
|
147
|
+
def visit_TaggedOperation(
|
|
148
|
+
self, state: lowering.State[CirqNode], node: cirq.TaggedOperation
|
|
149
|
+
):
|
|
150
|
+
state.lower(node.untagged)
|
|
151
|
+
|
|
147
152
|
def lower_measurement(
|
|
148
153
|
self, state: lowering.State[CirqNode], node: cirq.GateOperation
|
|
149
154
|
):
|
|
@@ -79,6 +79,20 @@ class MeasureQubitList(ir.Statement):
|
|
|
79
79
|
result: ir.ResultValue = info.result(ilist.IListType[MeasurementResultType])
|
|
80
80
|
|
|
81
81
|
|
|
82
|
+
@statement(dialect=dialect)
|
|
83
|
+
class QubitId(ir.Statement):
|
|
84
|
+
traits = frozenset({lowering.FromPythonCall(), ir.Pure()})
|
|
85
|
+
qubit: ir.SSAValue = info.argument(QubitType)
|
|
86
|
+
result: ir.ResultValue = info.result(types.Int)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@statement(dialect=dialect)
|
|
90
|
+
class MeasurementId(ir.Statement):
|
|
91
|
+
traits = frozenset({lowering.FromPythonCall(), ir.Pure()})
|
|
92
|
+
measurement: ir.SSAValue = info.argument(MeasurementResultType)
|
|
93
|
+
result: ir.ResultValue = info.result(types.Int)
|
|
94
|
+
|
|
95
|
+
|
|
82
96
|
# NOTE: no dependent types in Python, so we have to mark it Any...
|
|
83
97
|
@wraps(New)
|
|
84
98
|
def new(n_qubits: int) -> ilist.IList[Qubit, Any]:
|
|
@@ -127,9 +141,10 @@ def measure(input: Any) -> Any:
|
|
|
127
141
|
input: A qubit or a list of qubits to measure.
|
|
128
142
|
|
|
129
143
|
Returns:
|
|
130
|
-
|
|
131
|
-
a single
|
|
144
|
+
MeasurementResult | list[MeasurementResult]: The result of the measurement. If a single qubit is measured,
|
|
145
|
+
a single result is returned. If a list of qubits is measured, a list of results
|
|
132
146
|
is returned.
|
|
147
|
+
A MeasurementResult can represent both 0 and 1, but also atoms that are lost.
|
|
133
148
|
"""
|
|
134
149
|
...
|
|
135
150
|
|
|
@@ -169,3 +184,11 @@ def broadcast(operator: Op, *qubits: ilist.IList[Qubit, OpSize] | list[Qubit]) -
|
|
|
169
184
|
None
|
|
170
185
|
"""
|
|
171
186
|
...
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
@wraps(QubitId)
|
|
190
|
+
def get_qubit_id(qubit: Qubit) -> int: ...
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
@wraps(MeasurementId)
|
|
194
|
+
def get_measurement_id(measurement: MeasurementResult) -> int: ...
|
|
@@ -6,7 +6,7 @@ import pytest
|
|
|
6
6
|
|
|
7
7
|
from bloqade.cirq_utils import (
|
|
8
8
|
parallelize,
|
|
9
|
-
|
|
9
|
+
remove_tags,
|
|
10
10
|
block_similarity,
|
|
11
11
|
moment_similarity,
|
|
12
12
|
)
|
|
@@ -28,7 +28,7 @@ def test1():
|
|
|
28
28
|
circuit_m, _ = moment_similarity(circuit, weight=1.0)
|
|
29
29
|
# print(circuit_m)
|
|
30
30
|
circuit_b, _ = block_similarity(circuit, weight=1.0, block_id=1)
|
|
31
|
-
circuit_m2 =
|
|
31
|
+
circuit_m2 = remove_tags(circuit_m)
|
|
32
32
|
print(circuit_m2)
|
|
33
33
|
circuit2 = parallelize(circuit)
|
|
34
34
|
# print(circuit2)
|
|
@@ -34,6 +34,11 @@ def basic_circuit():
|
|
|
34
34
|
)
|
|
35
35
|
|
|
36
36
|
|
|
37
|
+
def tagged_circuit():
|
|
38
|
+
q = cirq.LineQubit.range(2)
|
|
39
|
+
return cirq.Circuit(cirq.H(q[0]).with_tags("FOO"), cirq.CX(*q).with_tags("BAR"))
|
|
40
|
+
|
|
41
|
+
|
|
37
42
|
def controlled_gates():
|
|
38
43
|
q0 = cirq.NamedQubit("q0")
|
|
39
44
|
q1 = cirq.NamedQubit("q1")
|
|
@@ -166,6 +171,7 @@ def nested_circuit():
|
|
|
166
171
|
"circuit_f",
|
|
167
172
|
[
|
|
168
173
|
basic_circuit,
|
|
174
|
+
tagged_circuit,
|
|
169
175
|
controlled_gates,
|
|
170
176
|
parity_gate_circuit,
|
|
171
177
|
phased_gates,
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
from kirin import types
|
|
2
|
+
|
|
3
|
+
from bloqade import squin
|
|
4
|
+
from bloqade.pyqrack import StackMemorySimulator
|
|
5
|
+
from bloqade.pyqrack.reg import Measurement
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def test_get_ids():
|
|
9
|
+
@squin.kernel
|
|
10
|
+
def main():
|
|
11
|
+
q = squin.qubit.new(3)
|
|
12
|
+
|
|
13
|
+
m = squin.qubit.measure(q)
|
|
14
|
+
|
|
15
|
+
qid = squin.qubit.get_qubit_id(q[0])
|
|
16
|
+
mid = squin.qubit.get_measurement_id(m[1])
|
|
17
|
+
return mid + qid
|
|
18
|
+
|
|
19
|
+
main.print()
|
|
20
|
+
assert main.return_type.is_subseteq(types.Int)
|
|
21
|
+
|
|
22
|
+
@squin.kernel
|
|
23
|
+
def main2():
|
|
24
|
+
q = squin.qubit.new(2)
|
|
25
|
+
|
|
26
|
+
qid = squin.qubit.get_qubit_id(q[0])
|
|
27
|
+
m1 = squin.qubit.measure(q[qid])
|
|
28
|
+
|
|
29
|
+
squin.gate.x(q[qid])
|
|
30
|
+
m2 = squin.qubit.measure(q[qid])
|
|
31
|
+
|
|
32
|
+
m1_id = squin.qubit.get_measurement_id(m1)
|
|
33
|
+
m2_id = squin.qubit.get_measurement_id(m2)
|
|
34
|
+
|
|
35
|
+
if m1_id != 0:
|
|
36
|
+
# do something that errors
|
|
37
|
+
squin.gate.x(q[4])
|
|
38
|
+
|
|
39
|
+
if m2_id != 1:
|
|
40
|
+
squin.gate.x(q[4])
|
|
41
|
+
|
|
42
|
+
return squin.qubit.measure(q)
|
|
43
|
+
|
|
44
|
+
sim = StackMemorySimulator(min_qubits=2)
|
|
45
|
+
result = sim.run(main2)
|
|
46
|
+
for i, res in enumerate(result):
|
|
47
|
+
assert isinstance(res, Measurement)
|
|
48
|
+
assert res.measurement_id == i + 2
|
|
@@ -103,7 +103,7 @@ wheels = [
|
|
|
103
103
|
|
|
104
104
|
[[package]]
|
|
105
105
|
name = "bloqade-circuit"
|
|
106
|
-
version = "0.7.
|
|
106
|
+
version = "0.7.8"
|
|
107
107
|
source = { editable = "." }
|
|
108
108
|
dependencies = [
|
|
109
109
|
{ name = "kirin-toolchain" },
|
|
@@ -111,8 +111,7 @@ dependencies = [
|
|
|
111
111
|
{ name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
|
|
112
112
|
{ name = "pandas" },
|
|
113
113
|
{ name = "pydantic" },
|
|
114
|
-
{ name = "pyqrack
|
|
115
|
-
{ name = "pyqrack-cpu", marker = "sys_platform != 'darwin-arm64'" },
|
|
114
|
+
{ name = "pyqrack-cpu" },
|
|
116
115
|
{ name = "rich" },
|
|
117
116
|
{ name = "scipy", version = "1.15.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
|
|
118
117
|
{ name = "scipy", version = "1.16.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
|
|
@@ -128,7 +127,7 @@ pyqrack-cuda = [
|
|
|
128
127
|
{ name = "pyqrack-cuda" },
|
|
129
128
|
]
|
|
130
129
|
pyqrack-opencl = [
|
|
131
|
-
{ name = "pyqrack"
|
|
130
|
+
{ name = "pyqrack" },
|
|
132
131
|
]
|
|
133
132
|
qasm2 = [
|
|
134
133
|
{ name = "lark" },
|
|
@@ -175,10 +174,9 @@ requires-dist = [
|
|
|
175
174
|
{ name = "numpy", specifier = ">=1.22.0" },
|
|
176
175
|
{ name = "pandas", specifier = ">=2.2.3" },
|
|
177
176
|
{ name = "pydantic", specifier = ">=1.3.0,<2.11.0" },
|
|
178
|
-
{ name = "pyqrack", marker = "
|
|
179
|
-
{ name = "pyqrack
|
|
180
|
-
{ name = "pyqrack-
|
|
181
|
-
{ name = "pyqrack-cuda", marker = "extra == 'pyqrack-cuda'", specifier = ">=1.69.0" },
|
|
177
|
+
{ name = "pyqrack", marker = "extra == 'pyqrack-opencl'", specifier = ">=1.69.1" },
|
|
178
|
+
{ name = "pyqrack-cpu", specifier = ">=1.69.1" },
|
|
179
|
+
{ name = "pyqrack-cuda", marker = "extra == 'pyqrack-cuda'", specifier = ">=1.69.1" },
|
|
182
180
|
{ name = "pyqt5", marker = "sys_platform == 'darwin' and extra == 'vis'", specifier = ">=5.15.11" },
|
|
183
181
|
{ name = "pyqt5", marker = "sys_platform == 'linux' and extra == 'vis'", specifier = ">=5.15.11" },
|
|
184
182
|
{ name = "qbraid", marker = "extra == 'qbraid'", specifier = ">=0.9.3" },
|
|
@@ -2098,27 +2096,37 @@ wheels = [
|
|
|
2098
2096
|
|
|
2099
2097
|
[[package]]
|
|
2100
2098
|
name = "pyqrack"
|
|
2101
|
-
version = "1.69.
|
|
2099
|
+
version = "1.69.1"
|
|
2102
2100
|
source = { registry = "https://pypi.org/simple" }
|
|
2103
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
2101
|
+
sdist = { url = "https://files.pythonhosted.org/packages/3b/a1/cbd2d49419227c6490da01f3a412e1aabfbfc3755524493a9c9ebc5fa85f/pyqrack-1.69.1.tar.gz", hash = "sha256:1dbf935911426ff50f134057338790b8827f485a5c263a35be80693be92732e1", size = 49536 }
|
|
2102
|
+
wheels = [
|
|
2103
|
+
{ url = "https://files.pythonhosted.org/packages/45/90/af624ee0f304732f13c5b2ce80694febefc5c7c5b932a88578c16f1ec871/pyqrack-1.69.1-py3-none-macosx_13_0_x86_64.whl", hash = "sha256:1354633c4e1dd601c2255c4665e6dd7f7a18e20dd34fb0d879709c63f8844fed", size = 2121483 },
|
|
2104
|
+
{ url = "https://files.pythonhosted.org/packages/d3/c5/7a01662586e25d3bdeebe8f00f603ecef2e26c9f180ffd2ffb2e4aab4fe4/pyqrack-1.69.1-py3-none-macosx_14_0_arm64.whl", hash = "sha256:26c0a7178cabfb8e03c448d5ec30ee9151d82c718ad55c4c0043bc2ae7edff86", size = 1897027 },
|
|
2105
|
+
{ url = "https://files.pythonhosted.org/packages/1a/d6/f511dadba6be690250b1d52e97c0670ebb4743b8969aa0c5a879a0a8d659/pyqrack-1.69.1-py3-none-macosx_15_0_arm64.whl", hash = "sha256:fddcb4129ef4a8ddf0cfcbda48198db002d37cd0a89c10eca09c15e0b0ef2396", size = 1876049 },
|
|
2106
|
+
{ url = "https://files.pythonhosted.org/packages/91/36/a61865611455f15aef4f8024d60b0c97cca6ef4dd6bc98c3b15e817ea8cd/pyqrack-1.69.1-py3-none-manylinux_2_35_x86_64.whl", hash = "sha256:a265a2bea606e63d44987cf066683197b2757a7b632c0dff4308744803d02084", size = 3274523 },
|
|
2107
|
+
{ url = "https://files.pythonhosted.org/packages/49/96/c939b3c7b945835e962a0150f11c43d1f0175ca12b2cccfe598703816f95/pyqrack-1.69.1-py3-none-manylinux_2_39_x86_64.whl", hash = "sha256:a00d715d690eb1fc785382840bafe74948be7e0350f2a8c3ed29b437cb175d56", size = 3307046 },
|
|
2108
|
+
{ url = "https://files.pythonhosted.org/packages/1f/b7/ecb1fb7b3a935a07c5e8ad8db34df9f21eaaf22993d630f30cf6b5129865/pyqrack-1.69.1-py3-none-win_amd64.whl", hash = "sha256:7837ee6ac2b3db740fb0bfcf3beca5f5dd48bc8ef28a4b597d61947399ab3518", size = 1006772 },
|
|
2109
|
+
]
|
|
2104
2110
|
|
|
2105
2111
|
[[package]]
|
|
2106
2112
|
name = "pyqrack-cpu"
|
|
2107
|
-
version = "1.69.
|
|
2113
|
+
version = "1.69.1"
|
|
2108
2114
|
source = { registry = "https://pypi.org/simple" }
|
|
2109
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
2115
|
+
sdist = { url = "https://files.pythonhosted.org/packages/ba/44/7b663de655e700b83b86e9a907599b7b9842e4e283021a264afcc83d240a/pyqrack_cpu-1.69.1.tar.gz", hash = "sha256:62a2ebb00e6dc4b9cc4f4e950dc98dc1fb778204fbf228a2226ad9f303d5d63f", size = 49638 }
|
|
2110
2116
|
wheels = [
|
|
2111
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2112
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2113
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2114
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2117
|
+
{ url = "https://files.pythonhosted.org/packages/22/2e/e9ab02a36b139a052bb7d5e3cba3f72f730c2de36144e29db90d4254f4a4/pyqrack_cpu-1.69.1-py3-none-macosx_13_0_x86_64.whl", hash = "sha256:557c498965991bab3be9b4009f0cf8265a0cec331953f8e5ff6ba0b1a297bf16", size = 2121543 },
|
|
2118
|
+
{ url = "https://files.pythonhosted.org/packages/ea/43/1ac3667a382a01951db3c3cb00473ae400bfc76d6d1c170b3f5f91e3c932/pyqrack_cpu-1.69.1-py3-none-macosx_14_0_arm64.whl", hash = "sha256:0123f6fb74a9c1b96ad67f434a25db141157f52aff88706b32b003a96b023fa5", size = 1897087 },
|
|
2119
|
+
{ url = "https://files.pythonhosted.org/packages/1e/1b/0a1bf54a6016064728954079e5542116510f5aab7f33fca9a60ac26b44e8/pyqrack_cpu-1.69.1-py3-none-macosx_15_0_arm64.whl", hash = "sha256:2c91d696e7d6d4b846b921b4218e9e16a9d37c54025da96adfdd86e876c18a7d", size = 1876107 },
|
|
2120
|
+
{ url = "https://files.pythonhosted.org/packages/11/26/9817a321ed68b26f5b892d926287cf03895597e8b782402a9afc531871db/pyqrack_cpu-1.69.1-py3-none-manylinux_2_35_x86_64.whl", hash = "sha256:0ab971bf5f0c69da7e51a7fe957a3d083e91d687ab9f83670ef539e0d2f1c24c", size = 2682403 },
|
|
2121
|
+
{ url = "https://files.pythonhosted.org/packages/2f/7e/062dfbd222fc98f0c32ed32755a6f096e71daee287578cfc7c11297878df/pyqrack_cpu-1.69.1-py3-none-manylinux_2_39_x86_64.whl", hash = "sha256:11e4e0ef020fcecacf0440008b2af172623ed308f7616f0d6952f3f8c019c0d5", size = 2712876 },
|
|
2122
|
+
{ url = "https://files.pythonhosted.org/packages/55/02/147a3ec52357cc3cb7ddfa7054788b1f56eeb5da5672f051e17a8004a2bc/pyqrack_cpu-1.69.1-py3-none-win_amd64.whl", hash = "sha256:d910ac73e2c8fb139c2f2040a28663a41680dadcbf8659db12032be1b4184bc1", size = 819230 },
|
|
2115
2123
|
]
|
|
2116
2124
|
|
|
2117
2125
|
[[package]]
|
|
2118
2126
|
name = "pyqrack-cuda"
|
|
2119
|
-
version = "1.69.
|
|
2127
|
+
version = "1.69.1"
|
|
2120
2128
|
source = { registry = "https://pypi.org/simple" }
|
|
2121
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
2129
|
+
sdist = { url = "https://files.pythonhosted.org/packages/17/e3/b1c3142f6d799ff08c09a9746971e6422f70d6222e7e060a266045811d88/pyqrack_cuda-1.69.1.tar.gz", hash = "sha256:93f1751f6663733be4afb6beb3995d806bce1ec19c3fa9b6f136d6a794fef70b", size = 49620 }
|
|
2122
2130
|
|
|
2123
2131
|
[[package]]
|
|
2124
2132
|
name = "pyqt5"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/noise/_two_zone_utils.py
RENAMED
|
File without changes
|
{bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/cirq_utils/noise/conflict_graph.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/gates/__init__.py
RENAMED
|
File without changes
|
{bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/gates/_dialect.py
RENAMED
|
File without changes
|
{bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/native/dialects/gates/_interface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bloqade_circuit-0.7.7 → bloqade_circuit-0.7.8}/src/bloqade/qasm2/dialects/core/_typeinfer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|