qiskit_noise_learning.experiment_builder.VanillaInstructionSequences
class qiskit_noise_learning.experiment_builder.VanillaInstructionSequences(*, prep_gate: ModelGate | None = None, meas_gate: ModelGate | None = None, gates: list[ModelGate] | None = None, coupling_map: CouplingMap | None = None, randomization_multiplier: int = 1)
Bases: AddInstructionSequences
Generate vanilla instruction sequences for each target gate.
For each gate, generates 9 instruction sequences sufficient to measure any single- and two-qubit Pauli fidelity on a triangle-free coupling map.
Parameters
- prep_gate – The preparation gate. If
None, defaults to the gate named"P". - meas_gate – The measurement gate. If
None, defaults to the gate named"M". - gates – Gates to generate sequences for. If
None, defaults to all non-SPAM gates. - coupling_map – The coupling map. If
None, defaults to the gate set’s coupling map. - randomization_multiplier – Randomization multiplier applied to all generated sequences.
__init__
__init__(*, prep_gate: ModelGate | None = None, meas_gate: ModelGate | None = None, gates: list[ModelGate] | None = None, coupling_map: CouplingMap | None = None, randomization_multiplier: int = 1)
Methods
Column 1 | Column 2 |
|---|---|
__init__(*[, prep_gate, meas_gate, gates, ...]) | |
run(experiment) | Validate required fields, then apply this stage. |
Attributes
Column 1 | Column 2 |
|---|---|
populates_fields | |
required_fields | Built-in immutable sequence. |
required_fields
Was this page helpful?
Report a bug, typo, or request content on GitHub.