Skip to content
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
Binary file modified docs/source/_static/img/grover-perceval.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
124 changes: 70 additions & 54 deletions docs/source/notebooks/2-mode_Grover_algorithm.ipynb

Large diffs are not rendered by default.

19 changes: 8 additions & 11 deletions docs/source/reference/providers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ When using Quandela Cloud, you have the same capabilities with and without using
Scaleway
--------

`Scaleway <https://www.scaleway.com/>`_ is a French cloud provider that provides, among a range of offers, binary power to emulate quantum computing compatible with Perceval.

This Scaleway Quantum as a Service (QaaS) leverages from GPUs like Nvidia P100 and H100 to increase mode limit and accelerate simulations.

You can find prices and additional information on the `Scaleway Labs QaaS page <https://labs.scaleway.com/en/qaas/>`_.
`Scaleway Quantum-as-a-Service <https://www.scaleway.com/en/quantum-as-a-service/>`_ provides access to allocate and program Quantum Processing Units (QPUs), physical or emulated.

Scaleway authentication
^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -35,8 +31,8 @@ ScalewaySession
.. autoclass:: perceval.providers.scaleway.Session
:members:

Using a Scaleway session
^^^^^^^^^^^^^^^^^^^^^^^^
Allocate a QPU session
^^^^^^^^^^^^^^^^^^^^^^

Let's see step by step how to instantiate and use a `Scaleway` session.

Expand All @@ -50,13 +46,14 @@ Provide your Scaleway Project ID and API key:
>>> PROJECT_ID = "your-scaleway-project-id"
>>> TOKEN = "your-scaleway-api-key"

Choose one of the Perceval compatible platforms `provided by Scaleway <https://labs.scaleway.com/en/qaas/#pricing>`_:
Choose one of the Perceval compatible platforms `provided by Scaleway <https://www.scaleway.com/en/quantum-as-a-service/>`_:

>>> PLATFORM_NAME = "sim:sampling:h100"
>>> PLATFORM_NAME = "EMU-SAMPLING-L4" # For emulated QPU
>>> # PLATFORM_NAME = "QPU-BELENOS-12PQ" # For real QPU

You can now create a Scaleway session:

>>> session = scw.Session(platform=PLATFORM_NAME, project_id=PROJECT_ID, token=TOKEN)
>>> session = scw.Session(platform_name=PLATFORM_NAME, project_id=PROJECT_ID, token=TOKEN)
>>> session.start()
>>> /*
... * Session scope
Expand All @@ -65,7 +62,7 @@ You can now create a Scaleway session:

You can also create a Scaleway session using a ``with`` block:

>>> with scw.Session(platform=PLATFORM_NAME, project_id=PROJECT_ID, token=TOKEN) as session:
>>> with scw.Session(platform_name=PLATFORM_NAME, project_id=PROJECT_ID, token=TOKEN) as session:
... #
... # Session scope
... #
Expand Down