Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

Circuit Extensions

qiskit.providers.aer.extensions


Snapshots

Deprecated since version 0.9.0

Adding nonlocal noise to a noise model is deprecated as of qiskit-aer 0.9.0 and will be removed no earlier than 3 months from that release date. They have been superceded by the save instructions in the qiskit.providers.aer.library module.

Snapshot instructions allow taking a snapshot of the current state of the simulator without effecting the outcome of the simulation. These can be used with the QasmSimulator backend to return the expectation value of an operator or the probability of measurement outcomes.

Snapshot(label[, snapshot_type, num_qubits, …])Simulator snapshot instruction.
SnapshotProbabilities(label, num_qubits[, …])Snapshot instruction for all methods of Qasm simulator.
SnapshotExpectationValue(label, op[, …])Snapshot instruction for supported methods of Qasm simulator.
SnapshotStatevector(label[, num_qubits])Snapshot instruction for statevector snapshot type
SnapshotDensityMatrix(label, num_qubits)Snapshot instruction for density matrix method of Qasm simulator.
SnapshotStabilizer(label[, num_qubits])Snapshot instruction for stabilizer method of Qasm simulator.
Was this page helpful?
Report a bug or request content on GitHub.