class QPanda::QCloudMachine¶
Overview¶
Inherited Members¶
Detailed Documentation¶
Methods¶
Init the quantum machine environment.
use this at the begin
Returns:
void
run a measure quantum program
Parameters:
QProg& |
the reference to a quantum program |
int& |
shot |
std::map<std::string |
|
double> |
Returns:
measure result
run a measure quantum program
Parameters:
QProg& |
the reference to a quantum program |
int& |
shot |
std::map<std::string |
|
double> |
Returns:
measure result
run a pmeasure quantum program
Parameters:
QProg& |
the reference to a quantum program |
Qnum |
& qubit address vector |
std::map<std::string |
|
double> |
Returns:
pmeasure result
run a pmeasure quantum program with partial amplitude backend
Parameters:
QProg& |
the reference to a quantum program |
std::vector<std::string> |
& amplitude subset |
std::map<std::string |
|
qcomplex_t> |
Returns:
pmeasure result
run a pmeasure quantum program with single amplitude backend
Parameters:
QProg& |
the reference to a quantum program |
std::string |
amplitude |
qcomplex_t |
Returns:
pmeasure result
run a measure quantum program
Parameters:
QProg& |
the reference to a quantum program |
int& |
shot |
std::map<std::string |
|
double> |
Returns:
measure result
run a measure quantum program
Parameters:
QProg& |
the reference to a quantum program |
int& |
shot |
std::map<std::string |
|
double> |
Returns:
measure result
get real chip qst matrix
Parameters:
QProg& |
the reference to a quantum program |
int& |
shot |
QStat |
matrix |
Returns:
matrix
get task result
Parameters:
std::string |
taskid |
CLOUD_QMACHINE_TYPE |
type |
std::string& |
empty taskid |
Returns:
string