MindSpore Quantum Installation
Confirming System Environment Information
Refer to MindSpore Installation Guide, install MindSpore, version 1.4.0 or later is required.
Installation Methods
You can install MindInsight either by pip or by source code.
Installing by pip
pip install mindquantum
Refer to MindSpore to find different version of packages。
Installing by Source Code
Download Source Code from Gitee
cd ~ git clone https://gitee.com/mindspore/mindquantum.git
Compiling MindSpore Quantum
cd ~/mindquantum python setup.py install --user
Verifying Successful Installation
Successfully installed, if there is no error message such as No module named 'mindquantum'
when execute the following command:
python -c 'import mindquantum'
Installing with Docker
Mac or Windows users can install MindSpore Quantum through Docker. Please refer to Docker installation guide.