diff --git a/docs/examples.rst b/docs/examples.rst index 8fa480e8..ad946b9d 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -12,4 +12,5 @@ On this page, you will find a few notebooks we provide as examples for various notebooks/2_Execution_Bell_circuit notebooks/3_Expectation_value_of_observables notebooks/4_Quantum_Fourier_Transform - notebooks/5_Variational_Quantum_Algorithms \ No newline at end of file + notebooks/5_Variational_Quantum_Algorithms + notebooks/6_Noise_Simulation \ No newline at end of file diff --git a/docs/noise.rst b/docs/noise.rst index be55c83f..3b7da732 100644 --- a/docs/noise.rst +++ b/docs/noise.rst @@ -8,9 +8,10 @@ crucial in the direction of achieving any advantage on current NISQ machines. This section provides an overview on how to instantiate noise models, how to specify target qubits and gates, and what are the predefined noise models. -We strongly encourage the user to have a look at the dedicated notebook, where -all the details about the manipulation, usage, and simulation of noise models -are presented (:download:`Download here`). +We strongly encourage the user to have a look at the +:doc:`dedicated notebook `, where all the +details about the manipulation, usage, and simulation of noise models are +presented. .. code-block:: python diff --git a/mpqp/execution/providers/aws.py b/mpqp/execution/providers/aws.py index ea1bb91d..22653de4 100644 --- a/mpqp/execution/providers/aws.py +++ b/mpqp/execution/providers/aws.py @@ -123,9 +123,11 @@ def submit_job_braket(job: Job) -> tuple[str, "QuantumTask"]: The task's id and the Task itself. Raises: - ValueError: If the job.job_type is not supported for noisy simulations, - or if it is of type `OBSERVABLE`but got no ExpectationMeasure - NotImplementedError: If the job_type is not STATE_VECTOR, SAMPLE nor OBSERVABLE + ValueError: If the job type is not supported for noisy simulations, + or if it is of type ``OBSERVABLE`` but got no + ``ExpectationMeasure``. + NotImplementedError: If the job type is not ``STATE_VECTOR``, ``SAMPLE`` + or ``OBSERVABLE``. Notes: This function is not meant to be used directly, please use