qiskit_noise_learning.experiment_builder.GenerateInstructionSequences
class qiskit_noise_learning.experiment_builder.GenerateInstructionSequences(*, bound_multiplier: int = 1, unbound_multiplier: int = 1, skip_related_paths: bool = True)
Bases: AddInstructionSequences
Generate one instruction sequence per path via to_instruction_sequence().
For each path (optionally skipping paths already referenced by a relation), generates a corresponding instruction sequence and adds it along with a new relation entry.
Parameters
- bound_multiplier – Randomization multiplier for bound sequences.
- unbound_multiplier – Randomization multiplier for unbound sequences.
- skip_related_paths – If
True(default), paths that already appear in a relation are not used to generate new sequences.
__init__
__init__(*, bound_multiplier: int = 1, unbound_multiplier: int = 1, skip_related_paths: bool = True)
Methods
Column 1 | Column 2 |
|---|---|
__init__(*[, bound_multiplier, ...]) | |
run(experiment) | Validate required fields, then apply this stage. |
Attributes
Column 1 | Column 2 |
|---|---|
populates_fields | |
required_fields |
Was this page helpful?
Report a bug, typo, or request content on GitHub.