Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: various small fixes #52

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
notebooks/5_Variational_Quantum_Algorithms
notebooks/6_Noise_Simulation
7 changes: 4 additions & 3 deletions docs/noise.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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<notebooks/6_Noise_Simulation.ipynb>`).
We strongly encourage the user to have a look at the
:doc:`dedicated notebook <notebooks/6_Noise_Simulation>`, where all the
details about the manipulation, usage, and simulation of noise models are
presented.

.. code-block:: python

Expand Down
8 changes: 5 additions & 3 deletions mpqp/execution/providers/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading