qiskit.providers.aer.library.set_superop¶
-
set_superop
(self, state)[Quellcode]¶ Set the superop state of the simulator.
- Parameter
state (QuantumChannel) – A CPTP quantum channel.
- Rückgabe
with attached instruction.
- Rückgabetyp
- Verursacht
ExtensionError – If the state is the incorrect size for the current circuit.
ExtensionError – if the input QuantumChannel is not CPTP.