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
Columna « 1 » | Columna « 2 » |
|---|---|
__init__(*stages) | |
run(experiment) | Validate required fields, then apply this stage. |
Attributes
Columna « 1 » | Columna « 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
¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.