Util
insert_qubit_idx_from_address
insert_qubit_idx_from_address(
address: AddressAttribute,
stmt_to_insert_before: Statement,
) -> tuple[ir.SSAValue, ...] | None
Extract qubit indices from an AddressAttribute and insert them into the SSA form.
Source code in .venv/lib/python3.12/site-packages/bloqade/stim/rewrite/util.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | |