bloqade.analysis.measure_id.impls.PyIndexing
← Module overview
class
method
source
classPyIndexing¶source
bloqade.analysis.measure_id.impls.PyIndexing
Bases: interp.MethodTable
Measure-ID analysis implementations for Python indexing.
class PyIndexingmethodgetitem¶source
bloqade.analysis.measure_id.impls.PyIndexing.getitem
Signature
def getitem(interp: MeasurementIDAnalysis, frame: MeasureIDFrame, stmt: py.GetItem)Propagate a measurement ID through constant indexing or slicing.
Parameters
| Name | Type | Description |
|---|---|---|
interp | MeasurementIDAnalysis | |
frame | MeasureIDFrame | |
stmt | py.GetItem |