Skip to main content
IBM Quantum Platform

qiskit_noise_learning.experiment_builder.ExperimentBuilder

class qiskit_noise_learning.experiment_builder.ExperimentBuilder(*stages: ExperimentBuilderStage)

GitHub

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_fieldsThe union of all fields populated by stages in this pipeline.
required_fieldsThe fields required by this pipeline that no internal stage populates.
stagesThe stages in this builder.

stages

Type: tuple[ExperimentBuilderStage, ...]

The stages in this builder.

required_fields

Type: tuple[str, ...]

The fields required by this pipeline that no internal stage populates.

populates_fields

Type: tuple[str, ...]

The union of all fields populated by stages in this pipeline.

Was this page helpful?
Report a bug, typo, or request content on GitHub.