Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

qiskit.pulse.builder.snapshot

snapshot(label, snapshot_type='statevector')

GitHub(opens in a new tab)

Simulator snapshot.

Examples:

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.
Was this page helpful?
Report a bug or request content on GitHub.