qiskit.circuit.QuantumCircuit.save_superop¶
-
QuantumCircuit.
save_superop
(label='superop', pershot=False)¶ 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.