Skip to main content
IBM Quantum Platform

qiskit_noise_learning.models.get_noise_site

qiskit_noise_learning.models.get_noise_site(model: LinearMap) → dict[str, str] | None

GitHub

The noise-site mapping of the map’s PauliLindbladModel, if it has exactly one.

Parameters

model – The map to inspect.

Returns

The {gate_name: "before" | "after"} mapping from the map’s single PauliLindbladModel, or None if model is, or contains, no (or more than one) PauliLindbladModel.

Was this page helpful?
Report a bug, typo, or request content on GitHub.