You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The qsim-Cirq Python interface is available as a PyPI package for Linux, MacOS and Windows users.
4
-
For all others, Dockerfiles are provided to install qsim in a contained
4
+
For all others, Dockerfiles are provided to install qsim in a containerized
5
5
environment.
6
6
7
7
**Note:** The core qsim library (under
8
8
[lib/](https://github.com/quantumlib/qsim/blob/master/lib)) can be included
9
-
directly in C++ code without installing this interface.
9
+
directly in C++ code without building and installing the qsimcirq interface.
10
10
11
11
## Before installation
12
12
@@ -25,46 +25,59 @@ file. You can install them with `pip3 install -r dev-requirements.txt` or
25
25
26
26
## Linux installation
27
27
28
-
We provide `qsimcirq` Python wheels on 64-bit `x86` architectures with `Python 3.{7,8,9,10,11,12}`.
28
+
We provide `qsimcirq` Python wheels on 64-bit `x86` architectures with
29
+
`Python 3.{10,11,12,13}`. The installation process will automatically check for
30
+
CUDA and GPUs on your computer if they exist and attempt to build a version of
31
+
qsim that can make use of the GPU(s). (Note that this is presently an
32
+
installation-time action and will take several minutes to finish.)
29
33
30
34
Simply run `pip3 install qsimcirq`.
31
35
32
36
## MacOS installation
33
37
34
-
We provide `qsimcirq` Python wheels on `x86` architectures with `Python 3.{7,8,9,10,11,12}`.
38
+
We provide `qsimcirq` Python wheels on `x86` and Apple Silicon architectures
39
+
with `Python 3.{10,11,12,13}`.
35
40
36
41
Simply run `pip3 install qsimcirq`.
37
42
43
+
Note that, due to architectural differences, CUDA support is not available on
44
+
MacOS. The version of `qsimcirq` on MacOS will only use the CPU, without GPU
45
+
acceleration.
46
+
38
47
## Windows installation
39
48
40
-
We provide `qsimcirq` Python wheels on 64-bit `x86` and `amd64` architectures with `Python 3.{7,8,9,10,11,12}`.
49
+
We provide `qsimcirq` Python wheels on 64-bit `x86` and `amd64` architectures
50
+
with `Python 3.{10,11,12,13}`.
41
51
42
52
Simply run `pip3 install qsimcirq`.
43
53
44
-
## There's no compatible wheel for my machine!
45
-
46
-
If existing wheels do no meet your needs please open an issue with your machine configuration (i.e. CPU architecture, Python version) and consider using the [Docker config](./docker.md) provided with this repository.
47
-
48
54
## Conda Installation
49
55
50
-
`qsimcirq` is now also available on conda-forge for Linux x86 including CUDA builds and MacOS x86 and Apple Silicon ARM64.
51
-
To install `qsimcirq` using conda, you can use the following command:
56
+
`qsimcirq` is also available on conda-forge for Linux x86 including CUDA builds
57
+
and MacOS x86 and Apple Silicon ARM64. To install `qsimcirq` using conda, you
58
+
can use the following command:
52
59
53
60
```
54
61
conda install -c conda-forge qsimcirq
55
62
```
56
63
57
64
This will install the `qsimcirq` package from the conda-forge channel.
58
65
66
+
## Help! There's no compatible wheel for my machine!
67
+
68
+
If existing wheels do no meet your needs, please open an issue with your
69
+
machine configuration (i.e., CPU architecture, Python version) and consider
70
+
using the [Docker config](./docker.md) provided in the qsim GitHub repository.
71
+
59
72
## Testing
60
73
61
74
After installing `qsimcirq` on your machine, you can test the installation by
0 commit comments