Compare commits

...

4 Commits
master ... r0.1

Author SHA1 Message Date
  donghufeng 9d663fe525 !10 build shell mistake spell 4 years ago
  donghufeng df7f08b6ef build shell miss spell 4 years ago
  donghufeng ea194e7db3 update pip link 5 years ago
  donghufeng 1ac8f79efb MindSpore required version 5 years ago
3 changed files with 7 additions and 10 deletions
Split View
  1. +4
    -6
      README.md
  2. +2
    -3
      README_CN.md
  3. +1
    -1
      build.sh

+ 4
- 6
README.md View File

@@ -30,8 +30,8 @@ MindQuantum is a quantum machine learning framework developed by [MindSpore](htt

### Confirming System Environment Information

- Check the hardware platform is Linux CPU with avx supported.
- Refer to [MindQuantum Installation Guide](https://www.mindspore.cn/install/en), install MindSpore.
- The hardware platform should be Linux CPU with avx supported.
- Refer to [MindQuantum Installation Guide](https://www.mindspore.cn/install/en), install MindSpore, version 1.2.0 or later is required.
- See [setup.py](https://gitee.com/mindspore/mindquantum/blob/master/setup.py) for the remaining dependencies.

### Install by Source Code
@@ -53,12 +53,10 @@ python setup.py install --user
### Install by pip

```bash
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindQuantum/x86_64/mindquantum-{version}-py3-none-any.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.2.0-rc1/MindQuantum/ubuntu_x86/mindquantum-0.1.0-py3-none-any.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
```

> - When the network is connected, dependency items are automatically downloaded during .whl package installation. (For details about other dependency items, see [setup.py](https://gitee.com/mindspore/mindquantum/blob/master/setup.py)). In other cases, you need to manually install dependency items.
>
> - `{version}`indicates the MindQuantum version. For example,if you download MindQuantum 0.1.0, set `{version}` to 0.1.0。
> - When the network is connected, dependency items are automatically downloaded during .whl package installation. (For details about other dependency items, see [setup.py](https://gitee.com/mindspore/mindquantum/blob/master/setup.py)). In other cases, you need to manually install dependency items.

## Verifying Successful Installation



+ 2
- 3
README_CN.md View File

@@ -31,7 +31,7 @@ MindQuantum是结合MindSpore和HiQ开发的量子机器学习框架,支持多
### 确认系统环境信息

- 硬件平台确认为Linux系统下的CPU,并支持avx指令集。
- 参考[MindSpore安装指南](https://www.mindspore.cn/install),完成MindSpore的安装。
- 参考[MindSpore安装指南](https://www.mindspore.cn/install),完成MindSpore的安装,要求至少1.2.0版本
- 其余依赖请参见[setup.py](https://gitee.com/mindspore/mindquantum/blob/master/setup.py)

### 源码安装
@@ -53,11 +53,10 @@ MindQuantum是结合MindSpore和HiQ开发的量子机器学习框架,支持多
### pip安装

```bash
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindQuantum/x86_64/mindquantum-{version}-py3-none-any.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.2.0-rc1/MindQuantum/ubuntu_x86/mindquantum-0.1.0-py3-none-any.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
```

> - 在联网状态下,安装whl包时会自动下载MindQuantum安装包的依赖项(依赖项详情参见[setup.py](https://gitee.com/mindspore/mindquantum/blob/master/setup.py)),其余情况需自行安装。
> - `{version}`表示MindQuantum版本号,例如下载0.1.0版本MindQuantum时,`{version}`应写为0.1.0。

## 验证是否成功安装



+ 1
- 1
build.sh View File

@@ -47,4 +47,4 @@ mv ${BASEPATH}/dist/*whl ${OUTPUT_PATH}
write_checksum


echo "------Successfully created mindarmour package------"
echo "------Successfully created mindquantum package------"

Loading…
Cancel
Save