Convert to a Kraus or UnitaryGate circuit instruction.
If the channel is unitary it will be added as a unitary gate, otherwise it will be added as a kraus simulator instruction.
A kraus instruction for the channel.
- 반환 형식
- 예외 발생
QiskitError – if input data is not an N-qubit CPTP quantum channel.