Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照文档很难编译完成,并运行实例,能不能更新文档内容 #245

Open
kdvictor opened this issue Nov 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kdvictor
Copy link

kdvictor commented Nov 5, 2024

https://qpanda-tutorial.readthedocs.io/zh/latest/Tutorial.html#id9

@kdvictor kdvictor added the bug Something isn't working label Nov 5, 2024
@kdvictor kdvictor changed the title 按照文档很难编译完成,并运行实例,请更新文档内容 按照文档很难编译完成,并运行实例,能不能更新文档内容 Nov 5, 2024
@ArrowYL
Copy link
Collaborator

ArrowYL commented Nov 5, 2024

文档即将更新,对于目前的最新版本,可以按照如下步骤

1.clone代码,打开powershell,使用
git clone https://github.com/OriginQ/QPanda-2.git

2.打开文件夹,使用VS022
打开,选择x64-release,等待cmake缓存结束,最新的代码去掉了USE_CHEMIQ,以最新的为例

image

其中
-DUSE_PYQPANDA=ON用于控制是否生成pyqpanda(默认建议开)
-DFIND_CUDA=ON用于控制是否编译GPU虚拟机(需要确保本地有GPU硬件和安装cuda)(默认建议关)
-DUSE_EXTENSION=ON 用于控制是否编译GPU虚拟机(默认建议关)
-DUSE_GTEST=ON 用于控制是否编译测试程序(默认建议关)
-DUSE_APPLICATIONS=ON用于控制是否编译算法实例程序(默认建议关)
-DUSE_CURL=ON -DUSE_QHETU=ON用于控制是否编译pqc加密用于量子云服务(需要本地安装了QHetu库,默认建议关)

3.点击直接生成即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants