qiskit_noise_learning.experiment_builder.ExperimentBuilder
class qiskit_noise_learning.experiment_builder.ExperimentBuilder(*stages: ExperimentBuilderStage)
Bases: ExperimentBuilderStage
A composite ExperimentBuilderStage that chains stages sequentially.
Because ExperimentBuilder is itself an ExperimentBuilderStage, builders can be nested and used anywhere a single stage is expected.
Parameters
stages – The stages to chain in sequential order.
__init__
__init__(*stages: ExperimentBuilderStage)
Methods
Column 1 | Column 2 |
|---|---|
__init__(*stages) | |
run(experiment) | Validate required fields, then apply this stage. |
Attributes
Column 1 | Column 2 |
|---|---|
populates_fields | The union of all fields populated by stages in this pipeline. |
required_fields | The fields required by this pipeline that no internal stage populates. |
stages | The stages in this builder. |
stages
Type: tuple[ExperimentBuilderStage, ...]
The stages in this builder.
required_fields
populates_fields
Was this page helpful?
Report a bug, typo, or request content on GitHub.