QuantumError.to_instruction

QuantumError.to_instruction()[source]

Convert the QuantumError to a circuit Instruction.