Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Kraus.to_instruction

Kraus.to_instruction()

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.

Retorno

A kraus instruction for the channel.

Tipo de retorno

qiskit.circuit.Instruction

Levanta

QiskitError – if input data is not an N-qubit CPTP quantum channel.