Skip to main content
IBM Quantum Platform
Informationen zur Übersetzung

In Kürze folgen für diese Seite weitere Übersetzungen in andere Sprachen.

qiskit_noise_learning.experiment_builder.AddPaths

class qiskit_noise_learning.experiment_builder.AddPaths(*path_iterators: Iterator[Path])

GitHub

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

Kolumne „ 1 “
Kolumne „ 2 “
__init__(*path_iterators)
run(experiment)Validate required fields, then apply this stage.

Attributes

Kolumne „ 1 “
Kolumne „ 2 “
populates_fields
required_fields
War diese Seite hilfreich?
Melden Sie auf GitHub einen Fehler, einen Tippfehler oder fordern Sie Inhalte an.