32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
---
|
||
title: save_superop
|
||
description: API reference for qiskit.providers.aer.library.save_superop
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.providers.aer.library.save_superop
|
||
---
|
||
|
||
# qiskit.providers.aer.library.save\_superop
|
||
|
||
<Function id="qiskit.providers.aer.library.save_superop" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.10/qiskit/providers/aer/library/save_instructions/save_superop.py" signature="save_superop(self, 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**
|
||
|
||
[QuantumCircuit](qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit")
|
||
|
||
<Admonition title="Note" type="note">
|
||
This instruction is always defined across all qubits in a circuit.
|
||
</Admonition>
|
||
</Function>
|
||
|