diff --git a/docs/verify/index.mdx b/docs/verify/index.mdx index c531a62a8f3..452e2e7fdd2 100644 --- a/docs/verify/index.mdx +++ b/docs/verify/index.mdx @@ -19,7 +19,7 @@ For general quantum circuits, the following tools are available to verify your q - For simulating circuits when using Qiskit Runtime, use its [local testing mode.](local-testing-mode) - For exact simulation of small quantum circuits, you can use the reference primitives included with Qiskit. See [Exact simulation with Qiskit primitives](simulate-with-qiskit-primitives). -- For higher-performance simulation that can handle larger circuits, or to incorporate noise models into your simulation, use [Qiskit Aer](https://qiskit.org/ecosystem/aer/), a project that is part of the [Qiskit Ecosystem](https://qiskit.github.io/ecosystem/). See [Exact and noisy simulation with Qiskit Aer primitives](simulate-with-qiskit-aer) (V1 primitive support only). For V2 primitive support, use the [Qiskit Runtime local testing mode](local-testing-mode) with a Qiskit Aer backend. +- For higher-performance simulation that can handle larger circuits, or to incorporate noise models into your simulation, use [Qiskit Aer](https://qiskit.org/ecosystem/aer/), a project that is part of the [Qiskit Ecosystem](https://qiskit.github.io/ecosystem/). See [Exact and noisy simulation with Qiskit Aer primitives](simulate-with-qiskit-aer). - To build custom noise models, use the [`noise`](https://qiskit.org/ecosystem/aer/apidocs/aer_noise.html) module of Qiskit Aer. See [Building noise models](building_noise_models). ## Hardware considerations diff --git a/docs/verify/local-testing-mode.ipynb b/docs/verify/local-testing-mode.ipynb index 18ea49aac83..5559d369fba 100644 --- a/docs/verify/local-testing-mode.ipynb +++ b/docs/verify/local-testing-mode.ipynb @@ -16,12 +16,16 @@ "source": [ "Local testing mode (available with `qiskit-ibm-runtime` 0.22.0 or later) can be used to help develop and test programs before fine-tuning them and sending them to real quantum hardware. After using local testing mode to verify your program, all you need to change is the backend name to run it on an IBM Quantum system.\n", "\n", - "To use local testing mode, specify one of the fake backends from ``qiskit_ibm_runtime.fake_provider`` or specify a Qiskit Aer backend when instantiating a primitive or a session.\n", + "To use local testing mode, specify one of the fake backends from ``qiskit_ibm_runtime.fake_provider`` or specify a Qiskit Aer backend when instantiating a Qiskit Runtime primitive or a session.\n", "\n", "- **Fake backends**: The [fake backends](/api/qiskit-ibm-runtime/fake_provider) in ``qiskit_ibm_runtime.fake_provider`` mimic the behaviors of IBM Quantum™ systems by using system snapshots. The system snapshots contain important information about the quantum system, such as the coupling map, basis gates, and qubit properties, which are useful for testing the transpiler and performing noisy simulations of the system. The noise model from the snapshot is automatically applied during simulation.\n", "- **Aer simulator**: Simulators from [Qiskit Aer](simulate-with-qiskit-aer) provide higher-performance simulation that can handle larger circuits and [custom noise models](building_noise_models). It also supports Clifford simulation mode, which can efficiently simulate Clifford circuits with a large number of qubits.\n", "\n", "\n", + "\n", + "You can specify all Qiskit Runtime options in local testing mode. However, all options except shots are ignored when run on a local simulator.\n", + "\n", + "\n", "\n", "{/* If you currently use the Qiskit SDK, you can use the existing Qiskit Aer primitives for local testing. See [exact and noisy simulation with Qiskit Aer primitives](../verify/simulate-with-qiskit-aer) for details. */}" ] diff --git a/docs/verify/simulate-with-qiskit-aer.ipynb b/docs/verify/simulate-with-qiskit-aer.ipynb index a4bd5825053..c340aeb717a 100644 --- a/docs/verify/simulate-with-qiskit-aer.ipynb +++ b/docs/verify/simulate-with-qiskit-aer.ipynb @@ -9,11 +9,12 @@ "\n", "[Exact simulation with Qiskit primitives](simulate-with-qiskit-primitives) demonstrates how to use the reference primitives included with Qiskit to perform exact simulation of quantum circuits. Currently existing quantum processors suffer from errors, or noise, so the results of an exact simulation do not necessarily reflect the results you would expect when running circuits on real hardware. While the reference primitives in Qiskit do not support modeling noise, [Qiskit Aer](https://qiskit.org/ecosystem/aer/) includes implementations of the primitives that do support modeling noise. Qiskit Aer is a high-performance quantum circuit simulator that you can use in place of the reference primitives for better performance and more features. It is part of the [Qiskit Ecosystem](https://qiskit.github.io/ecosystem/). In this article, we demonstrate the use of Qiskit Aer primitives for exact and noisy simulation.\n", "\n", - "\n", - "The Qiskit Aer primitives do not yet support the V2 interface. To use the Aer simulator with V2 primitives, use the [Qiskit Runtime local testing mode](local-testing-mode) instead.\n", + "\n", + "- V2 interface support requires `qiskit-aer` 0.14 or later.\n", + "- While Qiskit Aer primitives implement the primitive interfaces, they do not provide the same options as Qiskit Runtime primitives. Resilience level, for example, is not available with Qiskit Aer primitives.\n", "\n", "\n", - "Let's create an example circuit on eight qubits." + "To explore exact and noisy simulation, create an example circuit on eight qubits:" ] }, {