qiskit.providers.aer.library.set_superop¶
-
set_superop
(self, state)[source]¶ Set the superop state of the simulator.
- Parameters
state (QuantumChannel) – A CPTP quantum channel.
- Returns
with attached instruction.
- Return type
- Raises
ExtensionError – If the state is the incorrect size for the current circuit.
ExtensionError – if the input QuantumChannel is not CPTP.