samplomatic.InjectNoise¶
- class samplomatic.InjectNoise(ref: str, modifier_ref: str = '')[source]¶
Directive to inject noise into a
boxinstruction.The resulting
Samplexbuilt from a circuit with a box with this annotation requires aqiskit.quantum_info.PauliLindbladMapwithrefto at sample time. The qubits of the map are indexed in physical qubit order, in other words, the order of the qubits in the outer-most circuit, restricted to those used by the box.- Parameters:
ref – A unique identifier of the Pauli Lindblad map from which to inject noise.
modifier_ref – A unique identifer for modifiers to apply to the Pauli Lindblad map before injection.
Methods
__init__(ref[, modifier_ref])Attributes
refmodifier_refnamespace