From a02e7ca077408578b860bd2dc6fbcd8f6de0a822 Mon Sep 17 00:00:00 2001 From: Oleksii Borodenko Date: Mon, 5 Jun 2023 16:46:35 +0300 Subject: [PATCH] Fix typos in aer_simulator, qasm_simulator docs (#1833) * Fix typos. * Add missing aer_simulator options. * Update reference to SaveProbabilities according comment to PR. --- qiskit_aer/backends/aer_simulator.py | 15 +++++++++++---- qiskit_aer/backends/qasm_simulator.py | 4 +--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/qiskit_aer/backends/aer_simulator.py b/qiskit_aer/backends/aer_simulator.py index 6a427bb1ed..e438ad50ca 100644 --- a/qiskit_aer/backends/aer_simulator.py +++ b/qiskit_aer/backends/aer_simulator.py @@ -208,7 +208,6 @@ class AerSimulator(AerBackend): qubits which do not affect the simulation outcome from the simulated circuits (Default: True). - * ``zero_threshold`` (double): Sets the threshold for truncating small values to zero in the result data (Default: 1e-10). @@ -288,6 +287,9 @@ class AerSimulator(AerBackend): threads per GPU. This parameter is used to optimize Pauli noise simulation with multiple-GPUs (Default: 1). + * ``accept_distributed_results`` (bool): This option enables storing + results independently in each process (Default: None). + These backend options only apply when using the ``"statevector"`` simulation method: @@ -308,9 +310,7 @@ class AerSimulator(AerBackend): simulation method: * ``stabilizer_max_snapshot_probabilities`` (int): set the maximum - qubit number for the - `~qiskit_aer.extensions.SnapshotProbabilities` - instruction (Default: 32). + qubit number for the :class:`~qiskit_aer.library.SaveProbabilities` instruction (Default: 32). These backend options only apply when using the ``"extended_stabilizer"`` simulation method: @@ -407,6 +407,13 @@ class AerSimulator(AerBackend): Possible values are "mps_swap_right" and "mps_swap_left". (Default: "mps_swap_left") + * ``chop_threshold`` (float): This option sets a threshold for + truncating snapshots (Default: 1e-8). + + * ``mps_parallel_threshold`` (int): This option sets OMP number threshold (Default: 14). + + * ``mps_omp_threads`` (int): This option sets the number of OMP threads (Default: 1). + These backend options only apply when using the ``tensor_network`` simulation method: diff --git a/qiskit_aer/backends/qasm_simulator.py b/qiskit_aer/backends/qasm_simulator.py index a7978da705..ade47cd01e 100644 --- a/qiskit_aer/backends/qasm_simulator.py +++ b/qiskit_aer/backends/qasm_simulator.py @@ -200,9 +200,7 @@ class QasmSimulator(AerBackend): simulation method: * ``stabilizer_max_snapshot_probabilities`` (int): set the maximum - qubit number for the - `~qiskit_aer.extensions.SnapshotProbabilities` - instruction (Default: 32). + qubit number for the :class:`~qiskit_aer.library.SaveProbabilities` instruction (Default: 32). These backend options only apply when using the ``"extended_stabilizer"`` simulation method: