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.

Circuit Extensions

qiskit.providers.aer.extensions


Snapshots

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.