qiskit-documentation/docs/api/qiskit/0.40/qiskit.pulse.builder.snapsh...

29 lines
732 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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
---
# qiskit.pulse.builder.snapshot
<Function id="qiskit.pulse.builder.snapshot" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.23/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>