Skip to content

bloqade.lanes.analysis.atom.ShotRemappingDiagnostic

← Module overview

classShotRemappingDiagnosticsource

bloqade.lanes.analysis.atom.ShotRemappingDiagnostic

Compiler-developer-facing diagnostic emitted when ``get_shot_remapping`` cannot derive a Zone-0 index list.

class ShotRemappingDiagnostic

A failure here indicates an analysis or pipeline regression rather than a user error — the user supplied a kernel, the compiler service lowered it, and somewhere along the way the analysis output drifted away from the expected IListResult[IListResult[MeasureResult]] shape (or pointed to a hardware location the architecture doesn’t know about). The fields below carry enough context for a compiler developer to find the offending pass.

Attributes

NameTypeDescription
messagestrhuman-readable description with the failure path baked in (e.g. ``"logical[2].physical[5]: …"``).
offending_valueMoveExecution | LocationAddressthe lattice value or address that triggered the failure.