You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto machine = QCloudMachine();
machine.init("api填写自己的“, true);
machine.set_qcloud_api("https://qcloud.originqc.com");
auto qlist = machine.allocateQubits(4);
auto clist = machine.allocateCBits(4);
auto measure_prog = QProg();
measure_prog << HadamardQCircuit(qlist)
<< CZ(qlist[2], qlist[3])
<< Measure(qlist[0], clist[0]);
auto pmeasure_prog = QProg();
pmeasure_prog << HadamardQCircuit(qlist)
<< CZ(qlist[1], qlist[3])
<< RX(qlist[2], PI / 4)
<< RX(qlist[1], PI / 4);
auto result0 = machine.full_amplitude_measure(measure_prog, 100);
建议的解决方案
pyQPanda
基本信息
pyQPanda 版本:
Python 版本:
操作系统:
Bug是什么?
QCloudMachine.cpp 210 QPanda::QCloudMachine::full_amplitude_measure curl_easy_perform() failed: Couldn't resolve host name
unknown file: error: C++ exception with description "curl_easy_perform() failed: Couldn't resolve host name run error" thrown in the test body.
复现Bug的步骤?
建议的解决方案
The text was updated successfully, but these errors were encountered:
QPanda
基本信息
Bug是什么?
我在按照你们的测试用例使用CloudMachine的时候一直报错
复现Bug的步骤?
auto machine = QCloudMachine();
machine.init("api填写自己的“, true);
建议的解决方案
pyQPanda
基本信息
Bug是什么?
QCloudMachine.cpp 210 QPanda::QCloudMachine::full_amplitude_measure curl_easy_perform() failed: Couldn't resolve host name
unknown file: error: C++ exception with description "curl_easy_perform() failed: Couldn't resolve host name run error" thrown in the test body.
复现Bug的步骤?
建议的解决方案
The text was updated successfully, but these errors were encountered: