qiskit_noise_learning.analysis.AnalysisPipeline
class qiskit_noise_learning.analysis.AnalysisPipeline(*stages: AnalysisStage)
Bases: AnalysisStage
A composite AnalysisStage that chains stages sequentially.
Because AnalysisPipeline is itself an AnalysisStage, pipelines can be nested and used anywhere a single stage is expected.
Consecutive stages must connect: the output_level of each stage must equal the input_level of the next.
Parameters
stages – The analysis stages to use in this pipeline in sequential order.
__init__
__init__(*stages: AnalysisStage)
Methods
Column 1 | Column 2 |
|---|---|
__init__(*stages) | |
run(fit) | Run this stage, returning a new Fit with the output level populated. |
Attributes
Column 1 | Column 2 |
|---|---|
input_level | The data level this stage reads. |
output_level | The data level this stage writes. |
stages | The stages in this pipeline. |
input_level
Type: type[LeveledData]
The data level this stage reads.
output_level
Type: type[LeveledData]
The data level this stage writes.
stages
Type: tuple[AnalysisStage, ...]
The stages in this pipeline.
Was this page helpful?
Report a bug, typo, or request content on GitHub.