qiskit.providers.aer.library.set_superop¶
-
set_superop
(self, state)[source]¶ Set the superop state of the simulator.
- Paramètres
state (QuantumChannel) – A CPTP quantum channel.
- Renvoie
with attached instruction.
- Type renvoyé
- Lève
ExtensionError – If the state is the incorrect size for the current circuit.
ExtensionError – if the input QuantumChannel is not CPTP.