Skip to content

Commit

Permalink
Fix typos in aer_simulator, qasm_simulator docs (Qiskit#1833)
Browse files Browse the repository at this point in the history
* Fix typos.

* Add missing aer_simulator options.

* Update reference to SaveProbabilities according comment to PR.
  • Loading branch information
TerraVenil authored and hhorii committed Jun 7, 2023
1 parent 5b4913c commit a02e7ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 11 additions & 4 deletions qiskit_aer/backends/aer_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions qiskit_aer/backends/qasm_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a02e7ca

Please sign in to comment.