35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
---
|
||
title: save_stabilizer (v0.29)
|
||
description: API reference for qiskit.providers.aer.library.save_stabilizer in qiskit v0.29
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.providers.aer.library.save_stabilizer
|
||
---
|
||
|
||
<span id="qiskit-providers-aer-library-save-stabilizer" />
|
||
|
||
# qiskit.providers.aer.library.save\_stabilizer
|
||
|
||
<Function id="qiskit.providers.aer.library.save_stabilizer" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.8/qiskit/providers/aer/library/save_instructions/save_stabilizer.py" signature="save_stabilizer(self, label='stabilizer', pershot=False, conditional=False)">
|
||
Save the current stabilizer simulator quantum state as a Clifford.
|
||
|
||
**Parameters**
|
||
|
||
* **label** (*str*) – the key for retrieving saved data from results.
|
||
* **pershot** (*bool*) – if True save a list of Cliffords for each shot of the simulation \[Default: False].
|
||
* **conditional** (*bool*) – if True save pershot data conditional on the current classical register values \[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>
|
||
|