Installation Instructions#
Install Python 3.10 (minor version not specified). Other Python versions are not currently supported. Please search for relevant tutorials for Python installation.
To create and activate a virtual environment, enter the following command in the command line: python –version. This will check if the Python version is 3.10.
Log in to the website (https://platform.qboson.com/) to obtain your user ID and SDK authorization code.
Download the corresponding SDK from the official website according to your personal computer’s operating system. Name the file as follows: kaiwu-sdk.linux.1.2.0.zip (Mac has both Intel and Mac versions). If you encounter any architecture issues during use, please try different versions. If neither version works, please contact the relevant personnel.
Unzip the downloaded SDK installation package. After unzipping, you will find a whl file.
When installing the SDK using pip, pay attention to the path to the whl file and the system version.
pip3 install kaiwu-1.3.0-cp310-none-win_amd64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple
When using CIMOptimizer/SimulatedAnnealingOptimizer for the first time, you need to follow the console prompts and enter the user_id and sdk_code in the console to generate a license.