PipelineTrace¶
- class PipelineTrace(initial_batch, final_batch, stage_expansions, stage_tokens, result_format=None, env_artifacts=<factory>)[source]¶
Bases:
objectForward-pass pipeline trace for fan-out verification before execution.
Attributes Summary
Stage-produced artifacts (e.g. ham_ops) captured for cache restore.
The fully-expanded batch after all stages have run.
The batch of MetaCircuits before any stage expansion.
Result format declared by the measurement stage during expand.
Per-stage expansion results, one entry per BundleStage in expand order.
Per-stage opaque tokens returned by each BundleStage's expand.
Attributes Documentation
- env_artifacts: dict = <dataclasses._MISSING_TYPE object>¶
Stage-produced artifacts (e.g. ham_ops) captured for cache restore.
- final_batch: dict[tuple[tuple[str, Hashable], ...], MetaCircuit] = <dataclasses._MISSING_TYPE object>¶
The fully-expanded batch after all stages have run.
- initial_batch: dict[tuple[tuple[str, Hashable], ...], MetaCircuit] = <dataclasses._MISSING_TYPE object>¶
The batch of MetaCircuits before any stage expansion.
- result_format: ResultFormat | None = None¶
Result format declared by the measurement stage during expand.
- stage_expansions: tuple[ExpansionResult, ...] = <dataclasses._MISSING_TYPE object>¶
Per-stage expansion results, one entry per BundleStage in expand order.