Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
4 years ago | |
|---|---|---|
| docs | 5 years ago | |
| mindquantum | 4 years ago | |
| tests | 4 years ago | |
| tutorials | 4 years ago | |
| .gitignore | 5 years ago | |
| LICENSE | 5 years ago | |
| NOTICE | 5 years ago | |
| README.md | 5 years ago | |
| README_CN.md | 5 years ago | |
| RELEASE.md | 5 years ago | |
| build.sh | 4 years ago | |
| requirements.txt | 4 years ago | |
| requirements_test.txt | 4 years ago | |
| setup.py | 5 years ago | |
MindQuantum is a quantum machine learning framework developed by MindSpore and HiQ, that can be used to build and train different quantum neural networks. Thanks to the powerful algorithm of quantum software group of Huawei and High-performance automatic differentiation ability of MindSpore, MindQuantum can efficiently handle problems such as quantum chemical simulation and quantum approximation optimization with TOP1 performance, which provides an efficient platform for researchers, teachers and students to quickly design and verify quantum machine learning algorithms.
1.Download Source Code from Gitee
cd ~
git clone https://gitee.com/mindspore/mindquantum.git
2.Compiling MindQuantum
cd ~/mindquantum
python setup.py install --user
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). In other cases, you need to manually install dependency items.
Successfully installed, if there is no error message such as No module named 'mindquantum' when execute the following command:
python -c 'import mindquantum'
Please set the parallel core number before runing MindQuantum scripts. For example, if you want to set the parallel core number to 4, please run the command below:
export OMP_NUM_THREADS=4
For large servers, please set the number of parallel kernels appropriately according to the size of the model to achieve optimal results.
For more details about how to build a parameterized quantum circuit and a quantum neural network and how to train these models, see the MindQuantum Tutorial.
More details about installation guide, tutorials and APIs, please see the User Documentation.
Check out how MindSpore Open Governance works.
Welcome contributions. See our Contributor Wiki for more details.
MindQuantum是结合MindSpore和HiQ开发的量子机器学习框架,支持多种量子神经网络的训练和推理。得益于华为HiQ团队的量子计算模拟器和MindSpore高性能自动微分能力,MindQuantum能够高效处理量子机器学习、量子化学模拟和量子优化等问题,性能达到业界TOP1,为广大的科研人员、老师和学生提供了快速设计和验证量子机器学习算法的高效平台。
Python Jupyter Notebook Markdown Shell other