qiskit.providers.aer.library.save_superop¶
- save_superop(self, label='superop', pershot=False)[source]¶
Save the current state of the superop simulator.
- Parameters
label (str) – the key for retrieving saved data from results.
pershot (bool) – if True save a list of SuperOp matrices for each shot of the simulation [Default: False].
- Returns
with attached instruction.
- Return type
Note
This instruction is always defined across all qubits in a circuit.