Installation

pyqpanda_alg is an algorithm expansion module based on pyqpanda3 . It contains many practical quantum application algorithms. Installation and use need to rely on pyqpanda3 . For the interface usage of pyqpanda3 , please refer to pyqpanda3

Configuration

pyqpanda_alg uses C++ as the host language, and its environmental requirements for the system are as follows:

Windows

software

version

Microsoft Visual C++ Redistributable x64

2019

Python

>= 3.11 && <= 3.13

Linux

software

version

GCC

>= 7.5

Python

>= 3.11 && <= 3.13

Install

If you have already installed the python environment and the pip tool, enter the following command in the terminal or console:

pip install pyqpanda_alg

Note

If you encounter permission problems under linux, you need to add sudo