Skip to main content
IBM Quantum Platform
Información sobre la traducción

Próximamente habrá traducciones a otros idiomas de esta página.

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

Columna « 1 »
Columna « 2 »
__init__(*stages)
run(experiment)Validate required fields, then apply this stage.

Attributes

Columna « 1 »
Columna « 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.

¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.