We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
init_quantum_machine(QMachineType.GPU)返回为空
import pyqpanda as pq machine=pq.init_quantum_machine(QMachineType.GPU)
你好,我尝试过下载源码QPanda2.1.16使用Visual studio编译,编译流程使用的是qpanda-tutorial提供的流程,编译得到的库在调用var类型转换时会发生异常。希望能够获取最新的编译流程以及编译软件和依赖库的版本信息,以及可用的pyqpnda库。 谢谢
The text was updated successfully, but these errors were encountered:
pq.init_quantum_machine并不支持GPU虚拟机,并且这个接口后续会弃用,建议使用面向对象的方法,例如
machine = pq.CPUQVM() machine.init_qvm() prog = pq.QProg() qlist = machine.qAlloc_many(2) prog << pq.QOracle(qlist, mat, tol=1e-6) machine.directly_run(prog)
Sorry, something went wrong.
No branches or pull requests
pyQPanda
基本信息
Windows 11
Bug是什么?
init_quantum_machine(QMachineType.GPU)返回为空
复现Bug的步骤?
import pyqpanda as pq
machine=pq.init_quantum_machine(QMachineType.GPU)
建议的解决方案
你好,我尝试过下载源码QPanda2.1.16使用Visual studio编译,编译流程使用的是qpanda-tutorial提供的流程,编译得到的库在调用var类型转换时会发生异常。希望能够获取最新的编译流程以及编译软件和依赖库的版本信息,以及可用的pyqpnda库。
谢谢
The text was updated successfully, but these errors were encountered: