qiskit.providers.aer.noise.NoiseModel.add_basis_gates¶
- NoiseModel.add_basis_gates(instructions, warnings=False)[source]¶
Add additional gates to the noise model basis_gates.
This should be used to add any gates that are identified by a custom gate label in the noise model.
- Parameters
or (instructions (list[str]) – list[Instruction]): the instructions error applies to.
warnings (bool) – [DEPRECATED] display warning if instruction is not in QasmSimulator basis_gates (Default: False).