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

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?