qiskit_noise_learning.experiment_builder.AddPaths
class qiskit_noise_learning.experiment_builder.AddPaths(*path_iterators: Iterator[Path])
Bases: ExperimentBuilderStage
Add paths to an experiment.
This is both a concrete stage (pass path iterators directly) and the base class for path-generator stages that compute paths from the experiment at runtime.
Subclasses should override _generate_paths() to yield paths computed from the experiment’s fidelity model or other data.
A path equal to one already in the experiment, or to one added earlier by this stage, is dropped, so that the experiment’s paths remain distinct.
Parameters
path_iterators – One or more iterators of Path instances.
__init__
__init__(*path_iterators: Iterator[Path])
Methods
Columna « 1 » | Columna « 2 » |
|---|---|
__init__(*path_iterators) | |
run(experiment) | Validate required fields, then apply this stage. |
Attributes
Columna « 1 » | Columna « 2 » |
|---|---|
populates_fields | |
required_fields |
¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.