Skip to content

Commit ad0f05e

Browse files
Merge pull request #52 from ColibrITD-SAS/dev
doc: various small fixes
2 parents ab5cb01 + 3f45c49 commit ad0f05e

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

docs/examples.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ On this page, you will find a few notebooks we provide as examples for various
1212
notebooks/2_Execution_Bell_circuit
1313
notebooks/3_Expectation_value_of_observables
1414
notebooks/4_Quantum_Fourier_Transform
15-
notebooks/5_Variational_Quantum_Algorithms
15+
notebooks/5_Variational_Quantum_Algorithms
16+
notebooks/6_Noise_Simulation

docs/noise.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ crucial in the direction of achieving any advantage on current NISQ machines.
88
This section provides an overview on how to instantiate noise models, how to
99
specify target qubits and gates, and what are the predefined noise models.
1010

11-
We strongly encourage the user to have a look at the dedicated notebook, where
12-
all the details about the manipulation, usage, and simulation of noise models
13-
are presented (:download:`Download here<notebooks/6_Noise_Simulation.ipynb>`).
11+
We strongly encourage the user to have a look at the
12+
:doc:`dedicated notebook <notebooks/6_Noise_Simulation>`, where all the
13+
details about the manipulation, usage, and simulation of noise models are
14+
presented.
1415

1516
.. code-block:: python
1617

mpqp/execution/providers/aws.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@ def submit_job_braket(job: Job) -> tuple[str, "QuantumTask"]:
123123
The task's id and the Task itself.
124124
125125
Raises:
126-
ValueError: If the job.job_type is not supported for noisy simulations,
127-
or if it is of type `OBSERVABLE`but got no ExpectationMeasure
128-
NotImplementedError: If the job_type is not STATE_VECTOR, SAMPLE nor OBSERVABLE
126+
ValueError: If the job type is not supported for noisy simulations,
127+
or if it is of type ``OBSERVABLE`` but got no
128+
``ExpectationMeasure``.
129+
NotImplementedError: If the job type is not ``STATE_VECTOR``, ``SAMPLE``
130+
or ``OBSERVABLE``.
129131
130132
Notes:
131133
This function is not meant to be used directly, please use

0 commit comments

Comments
 (0)