TemplateEntry¶
- class TemplateEntry(template_qasm: str, parameter_names: tuple[str, ...], parameter_sets: tuple[tuple[str, tuple[float, ...]], ...])[source]¶
Bases:
NamedTupleOne parametric circuit ready for backend-side substitution.
Carries the full QASM 2.0 source (preamble + parametric body + measurement) with named-symbol placeholders, the ordered tuple of placeholder names, and the per-parameter-set values labelled with the pipeline-assigned circuit labels. Produced by the pipeline’s compilation pass and consumed by backends that implement
SupportsCircuitTemplates.The same
parameter_setsrows generate one resolved circuit each on the backend, labelled with the suppliedlabelso that pipeline result routing continues to work unchanged.Create new instance of TemplateEntry(template_qasm, parameter_names, parameter_sets)
Attributes Summary
Alias for field number 1
Alias for field number 2
Alias for field number 0
Attributes Documentation