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

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?