31 lines
777 B
Plaintext
31 lines
777 B
Plaintext
---
|
||
title: snapshot
|
||
description: API reference for qiskit.pulse.builder.snapshot
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.pulse.builder.snapshot
|
||
---
|
||
|
||
<span id="qiskit-pulse-builder-snapshot" />
|
||
|
||
# qiskit.pulse.builder.snapshot
|
||
|
||
<Function id="qiskit.pulse.builder.snapshot" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/pulse/builder.py" signature="snapshot(label, snapshot_type='statevector')">
|
||
Simulator snapshot.
|
||
|
||
Examples:
|
||
|
||
```python
|
||
from qiskit import pulse
|
||
|
||
with pulse.build() as pulse_prog:
|
||
pulse.snapshot('first', 'statevector')
|
||
```
|
||
|
||
**Parameters**
|
||
|
||
* **label** (*str*) – Label for snapshot.
|
||
* **snapshot\_type** (*str*) – Type of snapshot.
|
||
</Function>
|
||
|