Skip to main content
IBM Quantum Platform

qiskit_noise_learning.experiment_builder.SPAMPaths

class qiskit_noise_learning.experiment_builder.SPAMPaths(*, prep_gate: ModelGate | None = None, meas_gate: ModelGate | None = None, indices_list: list[list[int]] | None = None)

GitHub

Bases: AddPaths

Generate depth-0 paths.

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".
  • indices_list – An iterable of qubit index lists. If None, generates single-qubit paths for every qubit.

__init__

__init__(*, prep_gate: ModelGate | None = None, meas_gate: ModelGate | None = None, indices_list: list[list[int]] | None = None)


Methods

Column 1
Column 2
__init__(*[, prep_gate, meas_gate, indices_list])
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.