-
Notifications
You must be signed in to change notification settings - Fork 10
Update providers package versions #177
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
base: dev
Are you sure you want to change the base?
Changes from all commits
cec1530
bcdee5b
1039b20
6eb91c0
4fa879d
f23dba0
978bad1
0e7a5eb
508f42d
dce2d66
546deaa
46798fe
97b2de4
0aea08e
8f932bf
18ff0c6
98537eb
f86fbdd
dacaf62
b16e706
8e414d5
fbe8e12
b58081c
c261972
5a1928f
70c3c78
b8d17b8
f27011d
453e4d4
e967d2b
88211ec
ee9d96c
5f7d835
2822f60
e0e5153
1ca2ab8
68b3cd7
f222857
c92b68a
f940a6b
499d784
a4c16fc
6ea00fa
289f80a
8c9d06a
8f96d4a
dd14031
5c22543
aec6a1a
87e90d6
1df4025
0453596
63c9a4e
6e9e61b
132fcd3
64630c3
ec67d6c
bd9f5e2
4c27b3c
2f7b45c
9d5b2b4
611dd1c
344628f
1aa5e93
2e0ded3
49e07bb
8c0d608
0b321a2
1f2c0e6
cc25d21
3a0b513
d744053
fb1677d
a09329b
8fa9ec0
b05a869
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,7 @@ | ||
| # build artifacts | ||
| build/ | ||
| docs/notebooks/ | ||
| docs/requirements_providers/ | ||
| docs/html/ | ||
| out/ | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,5 +15,4 @@ mpqp | |
| execution | ||
| qasm | ||
| tools | ||
| local_storage | ||
| environment | ||
| local_storage | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,23 +7,95 @@ Installation | |
| .. TODO: grab the compatibility matrix from MyQLM and relax our requirements | ||
| .. when possible, test on many different configurations (tox or other ?) | ||
|
|
||
| For now, we support Python versions 3.9 to 3.11, and all of Windows, Linux and | ||
| For now, we support Python versions 3.10 to 3.13, and all of Windows, Linux and | ||
| MacOS (specifically, Linux was validated on Ubuntu LTS 20.04, while Ubuntu 18.04 | ||
| is not supported, so your milage may vary). | ||
|
|
||
| To install mpqp, you can run in a terminal | ||
| To install mpqp, you can run in a terminal: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp | ||
|
|
||
| And if you have already a previous version and want to update to the latest | ||
| version, run instead | ||
| If you have already a previous version and want to update to the latest version, | ||
| run instead: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install -U mpqp | ||
|
|
||
| .. note:: | ||
| To keep the installation lightweight and avoid installing unnecessary | ||
| dependencies, each provider is distributed as a **separate pip extra**. | ||
| By default, only the core functionalities of ``mpqp`` and qiskit local | ||
| simulation are installed, which means that you can create and manipulate circuits, | ||
| but you won't be able to run them on any backend. | ||
|
|
||
| Add more providers | ||
| -------------------------- | ||
|
|
||
| ``mpqp`` provides integrations with several quantum SDKs and execution backends. | ||
|
|
||
| - **Installing all providers**: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp["all"] | ||
|
|
||
|
|
||
| - **Qiskit**: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp["qiskit"] | ||
|
|
||
| .. literalinclude:: requirements_providers/qiskit.txt | ||
| :language: text | ||
|
|
||
| - **Azure Quantum**: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp["azure"] | ||
|
|
||
| .. literalinclude:: requirements_providers/azure.txt | ||
| :language: text | ||
|
|
||
| - **Amazon Braket**: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp["braket"] | ||
|
|
||
| .. literalinclude:: requirements_providers/braket.txt | ||
| :language: text | ||
|
|
||
| - **myQLM**: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp["myqlm"] | ||
|
|
||
| .. literalinclude:: requirements_providers/myqlm.txt | ||
| :language: text | ||
|
|
||
|
|
||
| - **Cirq**: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp["cirq"] | ||
|
|
||
| .. literalinclude:: requirements_providers/cirq.txt | ||
| :language: text | ||
|
|
||
|
Comment on lines
+46
to
+91
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are this soerted in any kind of order ? alphabetical, date of release, number of downloads, ...
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, you want a specific order ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nb downloads maybe ? let's discuss this tomorrow |
||
|
|
||
| You can also combine extras, for example, to install both Qiskit and Braket support: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| $ pip install mpqp["qiskit", "braket"] | ||
|
|
||
| .. note:: | ||
| For Mac users, additional steps are required before installation, | ||
| specifically because of the ``myqlm`` library. To run these steps, you can | ||
|
|
@@ -36,7 +108,7 @@ version, run instead | |
| $ curl -L https://raw.githubusercontent.com/ColibrITD-SAS/mpqp/main/mac-install.sh | bash -s -- <your-python-bin> | ||
|
|
||
| where ``<your-python-bin>`` is the binary you use to invoke python. For instance, it could | ||
| be ``python``, ``python3``, or ``python3.9``. | ||
| be ``python``, ``python3``, or ``python3.10``. | ||
|
|
||
| .. warning:: | ||
| The migration from ``qiskit`` version ``0.x`` to ``1.x`` caused a few issues. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,6 @@ on the current available SDKs: | |
| vqa | ||
| qasm | ||
| tools | ||
| environment | ||
| local_storage | ||
| changelog | ||
| examples | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.